I need to add a link back to the main product page next to each product review summary on the product review page. I have added the following code to review/product/view/list.phtml
<?php echo $this->getChildHtml('other');?>
The other file contains the following code
<?php $_product = Mage::registry('product'); ?>
<p><a href="<?php echo $_product->getProductUrl() ?>">« <?php echo $this->__('Back to Main Product Info') ?></a></p>
I have taken this from the main link back to the product page on the review page (catalog/product/view.phtml).
The problem is that when it is used within review/product/view/list.phtml it doesn’t display anything.
Can anyone spot what it is I am missing please?