Created
April 16, 2013 12:40
-
-
Save bekapod/5395583 to your computer and use it in GitHub Desktop.
MAGENTO: Move product reviews to product page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<catalog_product_view> | |
<reference name="content"> | |
<reference name="product.info"> | |
<block type="review/product_view_list" name="product.info.product_additional_data" as="reviews" template="review/product/view/list.phtml"> | |
<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> | |
<action method="setElementClass"><value>rewards</value></action> | |
</block> | |
</block> | |
</block> | |
</reference> | |
</reference> | |
</catalog_product_view> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo $this->getChildHtml('reviews') ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment