Learn Magento
Pages
Home
Magento
Magento 2
Interview Questions And Answers
Magento Scripts
Friday, 5 February 2016
Call static Block in phtml file
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('test')->toHtml(); ?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment