
To extend layout from vendor folder in Magento 2, move your xml file to:
|
app/design/frontend/<vendorName>/<themeName>/Magento_Catalog/layout/catalog_product_view.xml |
and activate the theme in backend.
Source (Stackexchange Question)(PaW)
More tips from the Cookbook
Related posts
How to fix “The source file moving process failed” error in Magento 2
How to import product images in Magento 2 when they already exist in pub/media
How to use external image URLs in Magento 2 import
How to export Page Builder pages or templates in Magento 2?
How To Add ‘Delete Confirmation Popup’ In Magento 2 For Default Import Functionality
B2B add-on of Improved Import & Export extension change log
The Ultimate Guide To Magento 2 Integration (API, IPAAS, ESB, ETL, automation, no-code, consultancy)
The Ultimate Guide To ERPNext Integration (API, IPAAS, ESB, ETL, automation, no-code, solution architecture, consultancy)