How to Create A Simple Module display all Product in Magento -
im studying magento, cant find tutorials or documents create new module display product. me ?
module creation tutorial : http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/custom_module_with_custom_database_table
to display products, in phtml file write below code:
echo "<pre>"; $productcollection = mage::getmodel('catalog/product')->getcollection(); foreach($productcollection $product) { print_r($product->getdata()); //you can display in tabular structure } echo "</pre>";
hope helps !!
Comments
Post a Comment