Add Review Form To Product Page Magento 1.9
You are going into the right direction, but you need to do some modifications:
addToParentGroup
andsetTitle
are used to show content in review so add this code below<action method="addToParentGroup"><group>detailed_info</group></action> <action method="setTitle" translate="value"><value>Reviews</value></action>
you need to change block alias name of block type
review/product_view_list
toproduct_additional_data_review
asproduct_additional_data
alias name already exists in product.<block type="review/product_view_list" name="product.info.product_additional_data_review" as="product_additional_data_review" template="review/product/view/list.phtml"> <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 type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label"> <label>Review Form Fields Before</label> <action method="setMayBeInvisible"><value>1</value></action> </block> </block> </block>
Take the catalog.xml from default to your theme and change as follows
<catalog_product_view translate="label">
<reference name="content">
<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
<block type="review/product_view_list" name="product.top.reviews" as="product.top.reviews" template="review/product/view/list.phtml">
<block type="review/form" name="product.review.form" as="review_form" />
</block>
</block>
</reference>
</catalog_product_view>
and in the detail page try adding
<?php echo $this->getChildHtml('review_form') ?>