Magento themes

12/28/2010

how to get all products in magento

To get All products in magento Store not from a particular category or to get all products from default store in magento ,write the following code



<?php

Mage::getModel('catalog/product')->getCollection()->getData();

?>
Posted by Unknown at 2:32 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Magento

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2013 (1)
    • ►  April (1)
  • ►  2012 (7)
    • ►  December (1)
    • ►  July (3)
    • ►  May (2)
    • ►  March (1)
  • ►  2011 (44)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  September (3)
    • ►  August (3)
    • ►  July (2)
    • ►  June (1)
    • ►  May (5)
    • ►  April (5)
    • ►  March (8)
    • ►  February (7)
    • ►  January (5)
  • ▼  2010 (71)
    • ▼  December (6)
      • how to get all products in magento
      • Search is not working in magento after Import product
      • How to Add Customer Group field while register in ...
      • How to get all products from a particular category...
      • How to show/hide template path hints of admin pane...
      • How to add a new custom login block in left/right ...
    • ►  November (27)
    • ►  October (10)
    • ►  September (5)
    • ►  August (6)
    • ►  July (2)
    • ►  June (3)
    • ►  May (2)
    • ►  April (3)
    • ►  March (6)
    • ►  February (1)
Simple theme. Powered by Blogger.