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 '20 at 10:22
  • worked! ty @Chikku – Jonas de Herdt Jul 10 '20 at 10:33
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, privacy policy and cookie policy

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