Magento Tutorial, Magneto modules, Magento Banckend, Magento admin, Magento Frontend, Magento Interview Question, Jquery, CSS, Javascript, PHP, XHTML
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(); ?>
im not getting any product how??
From the above code you will get all product and and from product id you can get all details of a product.
im not getting any product how??
ReplyDeleteFrom the above code you will get all product and and from product id you can get all details of a product.
ReplyDelete