Magento Module Development Series – Part7 – Database and SQL Operations

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

Magento Module Development Series – Part9 – Module – system.xml – Advanced

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

Continue reading