Monday 11 February 2013

How to call custom blocks that are created already in phtml in magento?


<?php
echo$this->getLayout()->createBlock('catalog/product_view_attributes')->setTemplate('catalog/product/view/attributes.phtml')->toHtml();
?>

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home