문제

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 ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top