If you want to add customer reviews on product page tab these steps may help you.

Locate and open your theme’s catalog.xml file

Look for handle named <catalog_product_view>

<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">

Add your review list tab and review form as shown below.

<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml">			                               
  <action method="addTab" translate="title" module="review">
	   <alias>product_review</alias>
	   <title>Reviews</title>
           <!--we can add block in tab like below-->
	   <block>review/product_view_list</block>
	   <template>review/product/view/list.phtml</template>
  </action>	                 
<block type="review/form" name="product.review.form" as="review_form"/>
</block>

Finally, we need to make these changes to the theme’s template file

review/product/view/list.phtml

On this file and near the bottom of it, look for and comment out this line

#echo $this->getChildHtml('review_form')

Then, add this line underneath or at the top -- as required

$layout = Mage::getSingleton('core/layout');
echo $layout->getBlock('content')->getChild('product.info')
             ->getChild('info_tabs')->getChild('review_form')->toHtml();

Okay, I heard it, why I have used

$layout = Mage::getSingleton('core/layout');

If this is something you don’t want to use, you can also use

echo $this->getLayout->getBlock('content')->getChild('product.info')
             ->getChild('info_tabs')->getChild('review_form')->toHtml();

Hope this helps.

Categorized in: