Override Magento 2 frontend layout xml and phtml files in our custom theme


1) Override template/phtml file:

vendor/magento/module-catalog/view/frontend/templates/product/list.phtml

path should be

app/design/frontend/Vendor/theme/Magento_Catalog/templates/product/list.phtml


2) Override layout/xml file:

vendor/magento/module-catalog/view/frontend/layout/catalog_product_view.xml

path should be

app/design/frontend/Vendor/theme/Magento_Catalog/layout/catalog_product_view.xml

Experienced Magento Certified Developer with a demonstrated history of working in the information technology and services industry. Skilled in SQL, PHP, XAMPP, jQuery, and Microsoft Office. Strong engineering professional with a Master of Computer Applications

0 comments:

Post a Comment

Popular Posts

Have You Any Questins Let Us Know.

Contact Us
DENISH VACHHANI
Ahmedabad India