To support our customers during COVID-19 pandemic, we had introduced many
offers and discounts
to help your ecommerce businesses. Learn more

Magento 2 XML for specific CMS page

Magento 2 XML for specific CMS page

This blog will hlep you to add XML for specific CMS page. Here we have taken an example for about us page.

Create below two files under your_theme/Magento_Theme/layout and add XML to this file to target XML to about page only.
cms_page_view_id_about_us.xml
cms_page_view_id_about_us.xml

you can do this for any cms page below is the syntax.
cms_page_view_id_YOUR_PAGE_IDENTIFIER.xml

January 11, 2019
Did you like this post?
0
0