All Articles

Magento:: Enabling the Product Review form anywhere

the form code lives in app/design/frontend/yourtemplate/default/template/review/form.phtml in catalog.xml enable it with:

<block type="review/form" name="product.info.review_form" as="review_form" template="review/form.phtml"/>

and in your template:

<?php echo $this->getChildHtml('review_form'); ?>
Published 8 Sep 2010

Code. Comics. Crossfit
Tim Broder on Twitter