Magento Question:
Download Questions PDF

How to create magento custom module?

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.

Download Magento Interview Questions And Answers PDF

Previous QuestionNext Question
How to get the total price of items currently in the Cart?How to fetch bestsellers products programmatically?