Friday, 5 February 2016

Get all products collection in any page of Magento

$products_list = Mage::getModel('catalog/product')->getCollection()
echo "<pre>";
print_r($products_list->getData());
echo "</pre>";

No comments:

Post a Comment