仅在迷你车中显示项目编号总计

仅在迷你车中显示项目编号总计

问题描述:

I want to show item number total only in the minicart that is in the header.(OpenCart v1.5.6.4)

I get this currently (according to OpenCart functionality)

==For O item==
Shopping Cart 0 item(s) - $0.00

==For 1 item==
Shopping Cart 1 item(s) - $100


But what I'm hoping to get is

==For O item==
Shopping Cart 0

==For 1 item==
Shopping Cart 1

Any help would be greatly appreciated. Thanks

我想仅在标题中的minicart中显示项目编号总数。(OpenCart v1.5.6.4 ) p>

我现在得到这个 strong>(根据OpenCart功能) p>

  == O item ==  
购物车0件商品 -  $ 0.00 
 
 == 1件商品== 
购物车1件商品 -  $ 100 
  code>  pre> 
 
 


但我希望得到的是 strong> p>

  == O item == 
购物车0 
 
 == 对于1项== 
购物车1 
  code>  pre> 
 
 

任何帮助将不胜感激。 谢谢 p> div>

Open up the language file for header (e.g. catalog/language/<YOUR_LANG>/common/header.php), search for this translation:

"Shopping Cart %s item(s) - %s"

and simply change it to

"Shopping Cart %s"

That's it.