Answers for "https://magento.stackexchange.com/questions/79708/magento-2-call-a-static-block-using-xml"

0

https://magento.stackexchange.com/questions/79708/magento-2-call-a-static-block-using-xml

<?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('block_identifier')->toHtml();?>
Posted by: Guest on August-31-2021

Code answers related to "https://magento.stackexchange.com/questions/79708/magento-2-call-a-static-block-using-xml"

Browse Popular Code Answers by Language