如何从订单级折扣中排除某些项目 [英] How to exclude some items from Order Level Discounts
问题描述
我想知道有没有办法从订单级折扣中排除购物车中的商品,这些折扣基本上是Ordersubtotal或ShippingCost折扣。
让我解释一下我正在寻找的场景。
我想添加折扣条件,检查篮子中添加的每件商品的成本,那些有更多的商品超过100美元的价格将计算他们的总和,并且订单级别折扣将适用于此总额,那些价格低于
$ 100的商品将不会被视为订单级折扣。
如果我尝试使用目标表达式并在那里指定条件,那么当我添加一个小于100美元的项目时,条件变为假,即使还有3个价格超过100美元的商品,也不会应用折扣。
问候,
estore。
你必须通过表达告诉折扣引擎什么才符合你的要求折扣,如果你使用订单价值kickers,那么它将无效。
例如。
产品a = 10
产品b = 10
产品c = 80
Hi,
I want to know that is there a way to exclude items in cart from Order level discounts which are basically Ordersubtotal or ShippingCost discount.
Let me explain the scenerio i am looking for.
I want to add a condition in discount that checks the cost of each item added in the basket, those having more than $100 price their total will be calculated and the Order level discount will be applied on this total, those items whose price is less than $100 will not be considered for order level discount.
If i try to use target expression and specify condition there then when i add an item less than $100 the condition becomes false and no discount is applied even if there are 3 more items whose price is more than $100.
regards,
estore.
You have to tell the discount engine via expression what will qualify for you discounts, if you use the order value kickers, then it won't work.
For example.
Product a = 10
product b = 10
product c = 80
这篇关于如何从订单级折扣中排除某些项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!