The store will not work correctly when cookies are disabled.
- Home
- Blog
- How to call CMS block in Magento 2 using PHTML file?
How to call CMS block in Magento 2 using PHTML file?
echo $this->getLayout()
->createBlock('Magento\Cms\Block\Block')
->setBlockId('your_block_identifier')
->toHtml();
?>
December 6, 2021 | View: 284
Copyright © 2025 Tridhya Tech Limited, Inc. All rights reserved.