Sarathlal N

Display all product reviews on product page – Magento 1

To display product reviews on product page, first we want to edit catalog.xml found at app/design/frontend/YourPackage/YourTheme/layout/catalog.xml.

We want to add a new page block in catalog_product_view class. Inside this reference, add the following code:

<block type="review/product_view_list" name="product.info.product_additional_data" as="product_review" template="review/product/view/list.phtml"></block>

Then we want to add a single line of code on the product page in app/design/frontend/YourPackage/YourTheme/template/catalog/product/view.phtml at appropriate place.

<?php echo $this->getChildHtml('product_review') ?>

To view product reviews on product page, just flush the Magento cache after editing these files.

Need Help?

Do you need any help on Magento 1? I'm happy to help you.

Contact Me

Recent Posts

  1. Get variation product data on selecting variation options - WooCommerce
  2. Add TinyMCE WYSIWYG (Rich text area) meta box - WordPress
  3. Reorder product tabs in single product page - WooCommerce
  4. Download webpage for offline reading - wget
  5. Remove product tabs in single product page - WooCommerce

Your Questions / Comments

If you found this article interesting, found errors, or just want to discuss about them, please get in touch.