By default, app/design/Magento/Checkout/view/frontend/web/template/summary/cart-items.html
file is being used
Or vendor/magento/module-checkout/view/frontend/web/template/summary/cart-items.html
To overload this file, create file cart-items.html in your theme folder. Make sure you place the file in Magento_Checkout/web/template/summary/
Edit the line
1 | < span data-bind = "text: getCartLineItemsCount()" ></ span > |
And replace it with
1 | < span data-bind = "text: getItemsQty()" ></ span > |
Reference Files:
1 | vendor/magento/module-checkout/view/frontend/web/js/view/summary/cart-items.js |
Leave a Reply