7 February 2011 0 Comments

[Magento] Get All Products

I am working with Magento Shopping cart now a days. I need to list all products of Magento in one page. If you are looking to get all products in Magento than you can achieve this by a single line of code. Have a look at below code.

$productobj = Mage::getResourceModel(‘catalog/product_collection’)->getData();

      
Tweet
    Freelance PHP Developer