Answer:
Steps to create custom Magento module:
Namespace : Viral
Module Name : Mymodule
1) Create directory Mymodule in app/code/local/Viral
2) Create Block, controllers, etc, Module directories. Create controller, block and module file as required.
3) Create module configuration file (app/code/local/Viral/Mymodule/etc/config.xml).
4) Create xml file (app/etc/modules/Viral_ Mymodule.xml)to enable/disable module and tell magento system from which code pool that module will be taken.
Namespace : Viral
Module Name : Mymodule
1) Create directory Mymodule in app/code/local/Viral
2) Create Block, controllers, etc, Module directories. Create controller, block and module file as required.
3) Create module configuration file (app/code/local/Viral/Mymodule/etc/config.xml).
4) Create xml file (app/etc/modules/Viral_ Mymodule.xml)to enable/disable module and tell magento system from which code pool that module will be taken.
Previous Question | Next Question |
How to get the total price of items currently in the Cart? | How to fetch bestsellers products programmatically? |