B-219 Sec-55 Noida, India

How to show product reviews on product page in Magento

Add the below code in the catalog.xml in the product view section

 <block type=”review/product_view_list” name=”product.info.product_additional_data” as=”reviews” template=”review/product/view/list.phtml”> 
 <block type=”review/form” name=”product.review.form” as=”review_form”/></block>

And then include the below line in the view.phtml file

<? getChildHtml(‘reviews’) ?>

(Visited 73 times, 1 visits today)

Leave a reply

You must be logged in to post a comment.