I have a product Collection:
$_productCollection = Mage::getResourceModel('catalog/product_collection')->getCollection()->setPageSize(10);
I want to add a product to that collection by using addItem() method:
$product = Mage::getModel('catalog/product')->load(66);
$_productCollection->addItem($product);
I tried to dump my $_productCollection
before and after using addItem()
method but I get the same result.
What's wrong with that ? Thanks in advance