I have achieved to show item number only in the mini cart header with following changes.(OpenCart 2.2.0.0)
catalog/language/<YOUR_LANG>/common/cart.php
Find
"Shopping Cart %s item(s) - %s"
Replace this
"Shopping Cart %s"
Above modification working is fine in default. but, It is not work when add or remove item from mini-cart. Does show default style.
This is work on page load after above our modification.
Shopping Cart: 1
but, I have click on "Add to Cart" button & then add item in minicart. So, it will display again this default style. also, does not work when click on remove button in minicart for remove item from minicart
Shopping Cart: 1 item(s) - $602.00
Any help would be greatly appreciated. Thanks
You have to modify these two files:
catalog/language/Your_lang/common/cart.php
catalog/language/Your_lang/checkout/cart.php
The first one is used for default text, and the second one is called for events such add or delete.