products from attribute | naveenOS https://www.naveenos.com How may I help you - E-Commerce | Full-Stack Developer Fri, 20 Aug 2010 10:25:58 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 Magento: How to retrieve products with a specific attribute? https://www.naveenos.com/2010/08/magento-how-to-retrieve-products-with-a-specific-attribute https://www.naveenos.com/2010/08/magento-how-to-retrieve-products-with-a-specific-attribute#comments Fri, 20 Aug 2010 10:25:58 +0000 http://naveenos.com/?p=223 Mostly all Models in the Magento have a corresponding Collection object that can be used to fetch multiple instances of a Model. To instantiate a Product collection, do the following $collection = Mage::getModel('catalog/product')->getCollection(); Products are a Magento EAV style Model, so you’ll need to add on any additional attributes that you want to return. $collection […]

The post Magento: How to retrieve products with a specific attribute? first appeared on naveenOS.]]>
https://www.naveenos.com/2010/08/magento-how-to-retrieve-products-with-a-specific-attribute/feed 1