问题描述
我尝试设置50美元的免费送货服务,但是当我添加的产品总价达到47.00美元时,税款就被取消了,并允许免费送货.我无法相信这是标准做法,因此我必须设置错误的内容.我在FedEx和USPS承运人下设置了免费送货服务.
I’m trying to setup $50 free shipping but when I add products that add up to $47.00 the tax kicks it over and allows free shipping. I can’t believe this is standard so I must have something set up wrong. I have the Free Shipping set up under the carriers, FedEx and USPS.
我在Config/Sales/Tax中设置了对价格应用折扣=不含税",这似乎正是我所追求的.我还尝试了运送方法"中的免费运送"方法.
I have "Apply Discount On Prices = Excluding Tax" set in Config/Sales/Tax which seems to be what I’m after. I've also tried the Free Shipping method in Shipping Methods.
推荐答案
3个步骤: 1.编辑Freeshipping.php 应用/代码/核心/法师/运输/模型/运营商/Freeshipping.php查找 getBaseSubtotalInclTax ,然后更改为 getBaseSubtotal
3 steps:1. Edit Freeshipping.phpapp/code/core/Mage/Shipping/Model/Carrier/Freeshipping.phpLook for getBaseSubtotalInclTax and change to getBaseSubtotal
2.设置购物车定价规则.转到促销>购物车定价规则>设置小计等于或大于50".
2. Setup Shopping Cart Pricing Rules.Go to Promotion > Shopping Cart Pricing Rules > Setup "Subtotal equals or greater than 50".
3.启用免费送货模块系统>配置>运送方式>设置最低订购量" = 50.
3. Enable Freeshipping ModuleSystem > Configuration > Shipping Methods > Setup "Minimum Order Amount" = 50.
景气!您的免费送货计算将不含税.
Boom! Your freeshipping calculation will exclude taxes.
如果您不想修改核心文件.将Freeshipping.php复制到app/code/local/Mage/Shipping/Model/Carrier/Freeshipping.php
If you don't want to modify core files. Copy the Freeshipping.php toapp/code/local/Mage/Shipping/Model/Carrier/Freeshipping.php
这篇关于正在计算加税后的“我的免费送货"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!