How to change the position of Related Product Block in Magento 1.9.3.6?
-
23-12-2020 - |
Solution
Try adding below code in local.xml or Catalog.xml of your theme layout files (app/design/frontend/{{your_package}}/{{Your_Theme}}/layout).
<catalog_product_view>
<reference name="right">
<action method="unsetChild"><name>catalog.product.related</name></action>
</reference>
<reference name="content">
<block type="catalog/product_list_related" name="catalog.product.related" before="product.info.upsell" template="catalog/product/list/related.phtml"/>
</reference>
</catalog_product_view>
In case its not showing after layout updates, add below code to
app/design/frontend/{{your_package}}/{{Your_Theme}}/template/catalog/product/view.phtml
<?php echo $this->getChildHtml('catalog.product.related'); ?>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange