本文介绍了订单级别折扣之间的互动itemlevel折扣的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 大家好, 我们遇到了Commerce Server营销模块的问题以及订单级折扣和&物品级折扣。让我告诉你我们想做的事情: - 我们的产品标有"10%折扣","20%折扣","30%折扣"等属性;。 - 物品级折扣的定义是买入条件为"将一件产品的10%折扣设置为真",奖励条件为"获得无限产品" 10%的折扣设定为真,减少10%"。 20%和30%相同。 - 订单级折扣定义为买入条件"购物篮中物品的最小价值等于至少400欧元;"和奖励条件是"获得100%的运费"。 - 检查所有互动的每一个折扣(项目级别和订单级别) - 尝试在每个可用订单中使用折扣优先级 无论我们做什么,Commerce Server仍在考虑产品的原始价格来计算最低订单级别申请折扣的价值。因此,如果我们有一种产品,单价为400欧元,则标有"20%折扣"。物业,它应卖出320和欧元;,使订单级折扣无法应用,但仍然适用此折扣。 项目级之间似乎没有可能的交互&安培;订单级折扣。有没有人成功地在这些折扣之间进行了一些互动? 注意:我们正在对默认的起始网站代码进行测试,完全没有修改。我们可以使用定位上下文和定位表达式来实现我们想要做的事情,但如果Commerce Server本身支持它会更好:)解决方案 Hello Guillaume, 您可以通过设置以下内容来实现此目的: 1。确保以正确的顺序应用折扣的优惠。在这种情况下,必须首先应用物品级折扣(更高优先级) 2。确保篮子级折扣财产的"互动""此奖励的奖励项目可以作为其他折扣的条件项目重新开始"。已经过检查。 您无需更改定位上下文/定位表达式即可实现此目的。您可以在不修改代码的情况下使用它。 希望有所帮助。 Emre - Commerce Server团队 Hello everyone,We are having issue with Commerce Server marketing module and the interaction between order-level discounts & item-level discounts. Let me give you what we want to do :- Our products are marked with a property that say "10% off", "20% off", "30% off".- Item-level discounts are defined with the buy condition saying "have one product with 10% off set to true", and the award condition saying "get unlimited product with 10% off set to to true, reduced by 10%". Same for 20% and 30%.- Order-level discount is defined with the buy condition saying "have minimal value of items in basket equal to at least 400€", and the award condition saying "get 100% off shipping cost".- All interactions are checked for every-one discounts (item-level and order-level)- Try to play with discount priorities in every order availableNo matter what we do, Commerce Server is still considering the original price of the products to compute order-level minimal value for the discount to apply. So if we have one product with unit price at 400€, marked with "20% off" property, it should sell for 320€, making the order-level discount unapplyable, but this discount is still applied.It seems there is no interaction possible between item-level & order-level discounts. Does anyone succeeded to make some interaction between those kind of discounts ?NB : We are testing this on the default starter site code with no modification at all. We can use the targeting context and the targeting expression to achieved what we want to do, but if Commerce Server supports it natively it will be better :) 解决方案 Hello Guillaume,You can achieve this by setting the following:1. Ensure the priorty of the discounts are applied in the correct order. In this case, the Item-Level discount has to be applied first (higher priority)2. Ensure 'Interaction' of the basket-level discount property "Award Items of this dicount can be resued as condition items for other discounts" has been checked.You do not need to change your targeting context/targeting expressions to achieve this. You can get it working with no modifications to the code.Hope that helps.Emre - Commerce Server Team 这篇关于订单级别折扣之间的互动itemlevel折扣的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-03 09:48