0

I have created Magento_Catalog folder in custom theme and moved template files there which are working fine. Now i want to move the files from module-catalog base folder to custom theme Magento_Catalog folder.

Want to move /vendor/magento/module-catalog/view/base/templates/product/price/amount folder.

How can i do that ?

1 Answer 1

1

Base folder contain file which is used by both front and admin

You can copy:

/vendor/magento/module-catalog/view/base/templates/product/price/amount/default.phtml

To below folder:

app/design/frontend/{Package}/{theme}/Magento_Catalog/templates/product/price/amount/default.phtml

For testing you can add a class with price-container span and see changes on front end.

Hope above will help!

2
  • thanks, its working
    – Seefan
    Feb 21, 2020 at 10:00
  • welcome :) glad to know.
    – Pawan
    Feb 21, 2020 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.