Jump to content


Photo

How to Get Static Block Content in Block File in Magento 2

magento magento 2 magento 2 ecommerce magento 2 tutorials

  • Please log in to reply
No replies to this topic

#1 Meetanshi

Meetanshi

    Advanced Member

  • Members
  • PipPipPip
  • 535 posts

Posted 02 June 2021 - 01:30 PM

Have you ever tried to get static block content in block file in Magento 2?

CMS block facilitates to reuse of the content in a convenient, modular and manageable way. Static blocks provide simple text or HTML, CSS, Javascript to display content. One can get the content of the static block in the block file

 


looking for the best presta addons with outstanding support? check this: PrestaShop Modules