Gather products easily with performance in mind. To be used for fetching products only.
- Leaf category breadcrumbs
- Product Gallery
- Stock
- Configurable products
I encourage you to check app/code/local/InternetCode/Feed/Model/Feed.php
{
"minimum-stability": "dev",
"require": {
"m-michalis/om-feed": "0.1.*"
}
}
/** @var InternetCode_Feed_Model_Feed $collection */
$collection = Mage::getModel('ic_feed/feed');
$collection->addAttributeToSelect([
'name',
'description',
'manufacturer',
'image',
'weight'
]);
Removes children from collection and add them to their respective parent's 'associated_products' index
$collection->setFlag(InternetCode_Feed_Model_Feed::FLAG_ASSOCIATIONS,true);
InternetCode_Feed_Model_Feed extends Mage_Catalog_Model_Resource_Product_Collection
So it supports everything that is supported when using the conventional:
Mage::getModel('catalog/product')->getCollection()
- OpenMage 20.0.x
- MariaDB 11.4
- Magento 1.9.x
This module is released under the GPL-3.0 License.