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? Commented Dec 3, 2019 at 6:09
  • yes. only i need to show the product name and number of quantity items.
    – Ramesh R
    Commented Dec 3, 2019 at 6:56
  • okay working for you Commented Dec 3, 2019 at 7:07
  • Uploaded answer for you. let me know it's working for you or not. Commented Dec 3, 2019 at 8:11

1 Answer 1


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!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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