Magento – Adding Static Block content to a Page


Add Magento static blocks to your page easily! Simply copy this line of code below where you want the static block to appear and change the ‘identifier’ to the identifier of the static block you created. That’s it!
getLayout()->createBlock(‘cms/block’)->setBlockId(‘identifier’)->toHtml() ?>

Leave a Reply

You must be logged in to post a comment.