1)\app\design\frontend\default\magikjewellery\layout\catalog.xml
Change
<block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
<action method="setColumnCount"><columns>4</columns></action>
<action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
</block>
With
<block type="catalog/product_list_related" name="product.info.related" template="catalog/product/list/related.phtml" as="related_products">
</block>
2) \app\design\frontend\default\magikjewellery\template\catalog\product\view.phtml
change
<?php //echo $this->getChildHtml('upsell_products') ?>
With
<?php echo $this->getChildHtml('related_products') ?>
3)Go to admin
Catalog/manage product/add product/related product
Click on reset filter
Check the products you want to make related and save product.
Change
<block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
<action method="setColumnCount"><columns>4</columns></action>
<action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
</block>
With
<block type="catalog/product_list_related" name="product.info.related" template="catalog/product/list/related.phtml" as="related_products">
</block>
2) \app\design\frontend\default\magikjewellery\template\catalog\product\view.phtml
change
<?php //echo $this->getChildHtml('upsell_products') ?>
With
<?php echo $this->getChildHtml('related_products') ?>
3)Go to admin
Catalog/manage product/add product/related product
Click on reset filter
Check the products you want to make related and save product.
No comments:
Post a Comment