1

I have copied the file located in: vendor/magento/module_checkout/view/frontend/web/template/minicart/item/default.html

to my theme dir:app/design/frontend/MyVendor/Mytheme/Magento_Checkout/web/template/minicart/item/default.html

After clearing the cache and generating static-content, the template doesn't render and the file does not appear in pub static folder. Is the path wrong? Is there a command i need to run?

I found this question, where the path was correct: Magento 2 Rewrite minicart default.html with phtml

2
  • 1
    delete the content manually from pub/static/frontend and then run the static-deploy -f command
    – Pramod
    Jul 10, 2020 at 10:22
  • worked! ty @Chikku Jul 10, 2020 at 10:33

1 Answer 1

2

delete the content manually from pub/static/frontend and then run the static-deploy -f command

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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