In this blog, we will learn about magento models, and how to perform basic sql operations.
Model are used to logical + data operations in MVC pattern. In magento, these are used for the same propose.
In this blog, we will continue on the previous blog created, will make these changes to the config.xml file. Continue reading
In this blog we will see advanced operations in model and collection, to execute complex sql queries. We will look into collections and details of resource models.
First let’s look at model and collection architecture in magento. If you look at a magento model class it extends Mage_Core_Model_Abstract which intern extends Varien_Object. Continue reading
In this blog will learn about system.xml and how to use it
System.xml is a configuration file similar to config.xml. It’s placed inside etc folder of the modules.
System.xml file is used to create configuration fields in System->Configuration in magento admin. Continue reading
In this blog we will look at some advanced stuff that we can do through system.xml.
Specifically we will see how to
- Create drop down in system.xml and show custom values in it, rather than using default magento classes only
- How to create an import/export csv feature using system.xml
In this blog we are going to lean about overriding of magento core classes. What this means, is that we tell magento to use our module class’s instead of a magento core classes.
This is an integral part of magento module development. Continue reading