Only i need to show the number of quantity items in the Order Summary.

if any one know the answer please share the exact code and folder structure. since i'm new to magento.

Any help would be appreciated. Thank you!

Order Summary screenshot:


  • Means you need to remove only price from order summary? – Naresh Rupareliya Dec 3 '19 at 6:09
  • yes. only i need to show the product name and number of quantity items. – Ramesh R Dec 3 '19 at 6:56
  • okay working for you – Naresh Rupareliya Dec 3 '19 at 7:07
  • Uploaded answer for you. let me know it's working for you or not. – Naresh Rupareliya Dec 3 '19 at 8:11

you need to override subtotal.html file in your theme under :


and remove or comment whole code of subtotal.html file

run below command

php bin/magento setup:upgrade && php bin/magento cache:flush && php bin/magento cache:clean && php -d memory_limit=-1 bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f

enter image description here

Hope this will help you!

| improve this answer | |

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.