2

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:

magento

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

1 Answer 1

3

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

app/design/frontend/Vendor/Theme/Magento_Tax/web/template/checkout/summary/item/details/subtotal.html

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!

2

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.