This question already has an answer here:

I am trying to update the html for the cart that gets displayed in the sidebar on the checkout.

I have copied:


to my theme:


I have made changes to the html templates within the summary directory however the checkout page seems to be loading the default HTML templates?

How I can override the templates for the checkout?


marked as duplicate by Prince Patel, Jai, Priyank, Siarhey Uchukhlebau, Piyush Jan 24 '18 at 13:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Run below commands after copied the file in "my_theme/Magento_Checkout/web/template/summary" php bin/magento setup:upgrade php bin/magento setup:static-content:deploy – Nilesh Gosai Jan 31 '18 at 6:26

You can override vendor template files by following method

Copy the file from vendor and paste the file in


Hope this will work

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