How to call a static block in your template file (.phtml) in Magento

<?php 

echo $this->getLayout()->createBlock('cms/block')->setBlockId('my_static_block_name')->toHtml();


 ?>

0 comments:

Post a Comment