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
有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
scroll top