Product review is one of the good feature of magento but with default magento theme product review listed on separate page. Usually customer like to see all detail on same page instead redirect to another page. With this though we would like to show the product reviews on product detail page only.
Bellow are steps which can help you to show product reviews on product detail page.
Step-1
Call product review block on product detail page, you can add bellow code to local.xml
<catalog_product_view> <reference name="content"> <block type="review/product_view_list" name="product.info.product_additional_data" as="reviews" template="review/product/view/review_summary.phtml" /> </reference name="content"> </catalog_product_view>
step-2
Create new template file review_summary.phtml, under template/review/product/view/ folder
<?php $_items = $this->getReviewsCollection()->getItems(); if( count( $_items ) ) { foreach( $_items as $_review ){ // Get the Review Title echo $this->htmlEscape( $_review->getTitle() ); // Get the Review Content echo…
View original post 44 more words

Leave a comment