Magento 2 static blocks are helpful to admin to add and control HTML code to be displayed in the frontend. Generally, admin uses the static block for size charts, offer banners, sale promotions, return policies, etc.
The entire objective of creating these static blocks is to streamline the amount of time it takes to update your site. You don’t need to dive into the hundreds of lines of code to update the changes every time!
Using Phtml file is one of the ways to Call CMS Static Block in Phtml File Magento 2.
Check https://meetanshi.com/blog/call-cms-...-in-magento-2/ for the implementation of the same!
No comments:
Write comments