简体   繁体   English

更改magento计算“购物车中的物品”的方式

[英]Change how magento calculates “items in cart”

i have a shop where quantities of cards are sold in 25, 50, 75, 100, 125, 150, 175 and 200. when i add a card, with a quantity of 175 to my basket, the cart total at the top of Magento displays "MY Cart (175 Items)". 我有一家商店,出售的卡数量分别为25、50、75、100、125、150、175和200。当我在购物篮中添加数量为175的卡时,购物车总数位于Magento顶部显示“我的购物车(175项)”。 Obvoulsy it's adding up the quantities, rather than the actual product count. 令人讨厌的是它增加的是数量,而不是实际的产品数量。

How would i edit this? 我该如何编辑? What templates is this read from? 这是从什么模板中读取的?

Here's a picture to show you what i mean. 这是一张图片,向您展示我的意思。

在此处输入图片说明

系统>配置>结帐>我的购物车链接中有一个选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM