How To Get All Products Reviews On CMS Page In Magento?
Get All Products Reviews On CMS Page In Magento
To get the all product review on CMS page in Magento use the below given code to get the desired results accordingly.
$collection = Mage::getModel('catalog/product')->getCollection(); foreach ($collection as $product) { $storeId = Mage::app()->getStore()->getId(); $summaryData = Mage::getModel('review/review_summary') ->setStoreId($storeId) ->load($product->getData('entity_id')); }
Now create CMS Page from magento admin panel and by calling it as shown below in content section of your CMS page respectively.
{{block type=”core/template” name=”review” template=”catalog/product/review.phtml”}}
and you are done with placing reviews on the CMS page just check it with your site now! (http://www.example.com/review.html)