Product Page Layout

Hi Guys, would anyone know how to move the "related products" to under the main "product description". Currently in this theme, it is showing it on the left column underneath "compare products"

2 answers

Profile photo of thangnn1510 0.00 $tone January 18, 2011

Dear hbtechguy!

Please open: app\design\frontend\default\jm_natristemplate\cat alog\product\view.phtml and add this code to the end of it:

PHP Code:

<?php if($product_relate $this->getChildHtml('product_related')): ?>
    <?php echo $product_relate ?>
endif; ?>

Please open: app\design\frontend\default\jm_natris\layout\catal og.xml

Remove this code (about line 273):


<block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>

Add this code to about line 220:


 <block type="catalog/product_list_related" name="catalog.product.related" as="product_related" before="-" template="catalog/product/list/related.phtml"/>

Hope this helps and good luck!


This question is now closed

Written By