Kaskus

Tech

meetanshiAvatar border
TS
meetanshi
How To Call Phtml File In CMS Static Block In Magento 2
PHTML file stores the php codes that dynamically generates the HTML code that is sent to the client’s browser. In case you want to display a dynamic content, you may require to call PHTML in CMS static block in Magento 2.
How To Call Phtml File In CMS Static Block In Magento 2
An example of that is showing a Instagram image on a page in Magento 2 store. In that case, you can add call the PHTML file and control how the HTML will be generated and shown to the viewers on the frontend.

You can read more at
https://meetanshi.com/blog/call-phtml-file-in-cms-static-block-in-magento-2/
Diubah oleh meetanshi 29-06-2022 11:19
0
137
0
GuestAvatar border
Komentar yang asik ya
GuestAvatar border
Komentar yang asik ya
Komunitas Pilihan