Magento:应用了购物车价格规则,但未从小计中减去折扣 [英] Magento: Shopping cart price rule gets applied, but discount not subtracted from subtotal

查看:44
本文介绍了Magento:应用了购物车价格规则,但未从小计中减去折扣的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Magento商店(版本1.4.1.1)中创建了购物车价格规则,该规则似乎在前端应用时没有问题,但折扣实际上并未反映在小计或最终总数中.原物料价格为$ 45.00,折扣应为$ 35.00,最终价格为$ 10.00.这是该设置的一些屏幕截图. (对不起,因为我是新用户,所以不允许我直接在此发布中发布图像.)

I have created a shopping cart price rule in my Magento store (version 1.4.1.1), and it seems to get applied without issue on the frontend, but the discount isn't actually reflected in the subtotal or final total. The original item price is $45.00, and the discount should be $35.00, making the final price $10.00. Here are some screenshots of the setup. (Sorry, because I'm a new user it won't let me post images directly in this posting.)

http://imgur.com/a/hdYDb

  1. 主规则页面
  2. 操作页面
  3. 购物车显示已应用促销代码
  4. 查看订单(提交订单之前的最后一步)

此特定项目具有一些自定义选项集,这些选项设置了四个单独选项的定价.产品的价格为$ 0.00,然后每个选项都有其自己的价格(我没有设置此部分,所以我不确定我是否也缺少这里的东西).这是产品自定义选项页面的屏幕截图: http://imgur.com/uO9HG

This particular item has some custom options set, which set the pricing for four individual options. The price for the product is $0.00, and then each option has it's own price (I didn't set this part up, so I'm not sure if I'm missing something from here too). Here's a screenshot of the product custom options page: http://imgur.com/uO9HG

有什么想法吗?我对Magento还是很陌生,所以有可能我只是错过了一些明显的东西.在此先感谢您的帮助或指导!

Any thoughts? I'm fairly new to Magento, so it's possible I'm just missing something obvious. Thanks in advance for any help or guidance!

推荐答案

我实际上只是想出出什么问题了,或者至少我想出了一个解决方案,尽管不确定为什么会影响购物车价格规则.没错,我什至没有办法制定一个简单的价格规则-无论我如何更改规则,它都根本没有用.无论如何,在处理另一个问题时,我意识到我在购物车的前端缺少小计/总计"框(我在本地主机上安装了版本1.4.1.1的完整副本,这是我注意到它的时候)在我的实时网站上丢失了).当我重新启用小计/总计"框时,规则再次开始工作. (我现在想想Magento在前端有一个位置,可以显示折扣,它实际上会应用折扣,而在此之前什么也做不了.)

I actually JUST figured out what was going wrong, or at least, I figured out a solution, though not sure exactly why this was affecting the shopping cart price rules. You're right that I wasn't even able to get a simple price rule to work - it simply wasn't working no matter how I changed the rule. Anyway, while working on another issue, I realized that I was missing the Subtotal/Grand Total box on the front-end of the shopping cart (I installed a clean copy of version 1.4.1.1 on my localhost, which is when I noticed it was missing from my live site). When I re-enabled the Subtotal/Grand Total box, the rules started working again. (I suppose now that Magento has a place on the front-end to show the discount, it actually applies it, whereas before it would just do nothing.)

因此,要重新启用小计/总计框,在后端,我转到系统>配置>高级>启用 Mage_Tax 模块.同样,不确定为什么首先要禁用它,我不确定这是否会影响网站上的其他任何内容,但是已经存在了一段时间,而且我还没有发现任何问题.以下是其工作的屏幕截图: http://i.stack.imgur.com/kjl6S.png

So, to re-enable the subtotal/grand total box, in the back end, I went to System > Configuration > Advanced > Enable the Mage_Tax module. Again, not sure why it was disabled in the first place, and I'm not sure if this affects anything else on the site, but it's been up for awhile now and I haven't noticed anything awry. Here's a screen capture of it working: http://i.stack.imgur.com/kjl6S.png

这篇关于Magento:应用了购物车价格规则,但未从小计中减去折扣的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆