Only i need to show the number of quantity items in the order summary section in payment page.

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!

Payment page order summary section screenshot:

enter image description here

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.