April 25, 2013 17:08
After you finished the functionality of the custom payment module, you may find that the payment method shows in checkout page is without logo: How to add the logo or other additional information below the name of payment method as below image? Well, quite easy. Step 1: in your module config.xml, add following tags in [...]
June 13, 2011 14:26
Sometimes you may have to implement the module that is for member only, how to do it in Magento? In your controller which extends Mage_Core_Controller_Front_Action, add the following function: If the customer didn’t login, the controller will redirect the page to login page. Got it? Happy Magento’ing ~
October 25, 2010 10:03
When you’re implementing custom module, normally you will have to re-run setup routines. Some people will create newer version of the setup file, but it will make you confuse after 100 modification. To do it, simply remove references to your modules in “core_resource” table and then, in backend, go to ‘System’ -> ‘Configuration’ -> ‘Advanced’ [...]