【发布时间】:2017-01-23 00:40:34
【问题描述】:
我有一个问题:
我有两个运输类别
1- 阿尔法
2- 测试版
alfa 应为 50 美元(不是按产品),如果 alfa 产品总和(不含运费和税费)超过 400 美元,则 alfa 运费是免费的。 我已经完成了这条规则,它只有在 alfa 产品且没有其他产品插入图表时才能正常工作。
beta应该使用fedEx shipping plugin来计算,它只有在beta产品并且没有其他产品插入图表时才能正常工作。
如果我将 alfa 和 beta 产品放入图表中,我只会得到 alfa 规则。
我用 Tree Table shipping 插件这样设置规则:
USA
Child rules rate add sum of child rates
ALFA
Package all items at once
Contains specified and maybe others ALFA any amount
Calculate fees for all matching items at once
Other shipping plugins FEDEX add all rates
BETA
Contains specified and maybe others BETA subtotal without tax and discount below 400$
Charge Flat Fee 50$
BETA
Contains specified and maybe others BETA subtotal without tax and discount above 400$
Free shipping
【问题讨论】:
-
没人能帮我吗?
-
先按运输等级拆分购物车
-
@Mickey 是的,我已经完成了。谢谢
标签: php wordpress woocommerce shipping fedex