Question

I have an extension that is downloaded through composer, there are two files i would like to update. How to I override/extend the files? what is the correct paths i need to create in app/design/frontend/ folder?

The paths for the files i want to change are:

/vendor/amasty/module-faq-product-questions/view/frontend/layout/catalog_product_view.xml

and

/vendor/amasty/module-faq-product-questions/view/frontend/templates/pages/question_view.phtml
Was it helpful?

Solution

You can easily override these file in your theme as:

app/design/frontend/{PackageName}/{ThemeName}/Amasty_Faq/layout/catalog_product_view.xml

app/design/frontend/{PackageName}/{ThemeName}/Amasty_Faq/templates/pages/question_view.phtml
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top