Skip to main content
added 7 characters in body
Source Link

if you want directly call cross-sell product then just paste below code in your view.phtml file and let me know its working or not

<?php echo $this->getLayout()->createBlock('catalog/product_list_crosssell')->setTemplate('catalog/product/list/crosssell.phtml')->toHtml() ?>

Just paste above code whereverwhat ever place you want to display in view.phtml file

if you want directly call cross-sell product then just paste below code in your view.phtml file and let me know its working or not

<?php echo $this->getLayout()->createBlock('catalog/product_list_crosssell')->setTemplate('catalog/product/list/crosssell.phtml')->toHtml() ?>

Just paste above code wherever you want to display in view.phtml file

if you want directly call cross-sell product then just paste below code in your view.phtml file and let me know its working or not

<?php echo $this->getLayout()->createBlock('catalog/product_list_crosssell')->setTemplate('catalog/product/list/crosssell.phtml')->toHtml() ?>

Just paste above code what ever place you want to display in view.phtml file

Source Link

if you want directly call cross-sell product then just paste below code in your view.phtml file and let me know its working or not

<?php echo $this->getLayout()->createBlock('catalog/product_list_crosssell')->setTemplate('catalog/product/list/crosssell.phtml')->toHtml() ?>

Just paste above code wherever you want to display in view.phtml file