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?


  • 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

| improve this answer | |

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