Magento: Product Collection all filter codes

Load Product Collection 1 2 3 $collection = Mage::getModel(‘catalog/product’)->getCollection(); or $collection = Mage::getResourceModel(‘catalog/product_collection’); Add Attributes To Collection The product model is an enormous data set, and the more attributes we include in the load the longer it will take. By default, Magento will only load the basic data found in Read more…

Magento: custom sql Query example

Or DB Connection Code : —————————————————————————————————————— —————————————————————————————————————— loop: ——————————————————————————————————————