Learn Magento
Pages
Home
Magento
Magento 2
Interview Questions And Answers
Magento Scripts
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment