I have a store with over 100K products. I am using this code to get all my products.
$model = Mage::getModel('catalog/product')->getCollection();
foreach ($model as $product) {
$p = Mage::getModel('catalog/product')->load($product->getId());
echo $p->getName();
echo $p->getDescription();
echo $p->shortDescription();
}
But it shows nothing. This code works where i have only less number of products in my store.
So how to get all my 100K products?
Thank you
Best Answer