I'm trying to enable the default rating-review form on my product page. I problem I'm facing is the "Be the first to review the product" is appearing but the link is not working. This is my product page when I first time clicks on the link, the link gets redirect to another page(URL: localhost/Magento/review/product/list/id/28/#review-form)something like. this is my second page and again when I clicked on the link nothing happens
REQUIRED CHANGES THAT I DID
In admin panel, Enable the product rating.And "Catalog->rating and review->manage rating" there i gave the sort order to"value,prica and quakity".
IN BACKEND
<div class="product-collateral toggle-content tabs">
<?php if ($detailedInfoGroup = $this->getChildGroup('detailed_info', 'getChildHtml')):?>
<dl id="collateral-tabs" class="collateral-tabs">
<?php foreach ($detailedInfoGroup as $alias => $html):?>
<dt class="tab"><span class="nav nav-tab "><?php echo $this->escapeHtml($this->getChildData($alias, 'title')) ?></span></dt>
<dd class="tab-container">
<div class="tab-content"><?php echo $html ?></div>
</dd>
<?php endforeach;?>
</dl>
<?php endif; ?>
</div>
Can anyone please help to resolve this issue. Thank you!
Follow below instructions:
Step1 :- Go to app-> design-> frontend-> Your package name(base/rwd)-> Your theme(default...)-> layout-> review.xml
Step2 :- Paste below code to review.xml and refresh product view page. go to tab, now you can see review form.
<catalog_product_view>
<reference name="product.info">
<block type="review/product_view_list" name="product.reviews" as="reviews" template="review/product/view/list.phtml" after="additional">
<action method="addToParentGroup"><group>detailed_info</group></action>
<action method="setTitle" translate="value"><value>Reviews</value></action>
<block type="review/form" name="product.review.form" as="review_form" />
</block>
</reference>
</catalog_product_view>