Magento – Show Product Reviews on Product detail Page

Tech Bandhu

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.

Call product review block on product detail page, you can add bellow code to local.xml

    <reference name="content">
        <block type="review/product_view_list" name="" as="reviews" template="review/product/view/review_summary.phtml" />
    </reference name="content">

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 Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s