Magento – include a static block into phtml file

Include a static block into a phtml file:


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

Leave a Reply

Your email address will not be published. Required fields are marked *