0

I would like to override

vendor/magento/module-checkout/view/frontend/web/template/estimation.html

so I've copied and edited it into:

app/design/frontend/Smartwave/porto/Magento_Checkout/web/template/estimation.html

Porto is my theme, but nothing is being overwritten, what's wrong?

I've already cleaned cache and magento setup:static-content:deploy -f

1
  • Hit this command : rm -rf var/di var/generation var/page_cache/ var/cache/ var/view_preprocessed/ pub/static/frontend pub/static/adminhtml And check in a private window.
    – D Singh
    May 16, 2020 at 10:42

1 Answer 1

0

Clear the Magento cache folder also & set permissions

chmod -R 777 var pub/static pub/media generated
bin/magento setup:static-content:deploy
bin/magento cache:flush
chmod -R 777 var pub/static pub/media generated

If you are using multiple language please deploy to multiple langauges like ,

bin/magento setup:static-content:deploy en_GB en_US ro_RO

ref : Running php bin/magento setup:static-content:deploy for different languages

FYI : Check your file have permission, for your template file : app/design/frontend/<vendor>/<theme>/Magento_Checkout/web/template/estimation.html

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.