hybris促销优惠券不适用于总价

时间:2017-10-01 12:52:58

标签: java hybris promotions

我正在使用规则添加有效优惠券。当我兑换优惠券时,我可以设置优惠券,并在店面写入优惠券。但是购物车的总价格没有变化。此外,当我发布规则时,购物车的总价格没有变化。

感谢您的回复,我正在撰写有关情况的一些细节:

首先,我添加了这些扩展程序:

<extension name='rulebuilderbackoffice' />
<extension name='couponbackoffice' />
<extension name='droolsruleengineservices' />
<extension name='ruledefinitions' />
<extension name='promotionengineservices' />
<extension name='couponfacades' />
<extension name='promotionenginesamplesaddon' />
<extension name='promotionengineatddtests' />

然后我把蚂蚁全部清理干净,蚂蚁初始化并启动hybris。

来自后台:

Create single code coupon (state is active, no date restriction, max redemption for customer is 10, max total redemption is 100),
Create rule (website is default, set priority 500, set as stackable, set rulegrup orderpromotionrulegroup), 
Add to rule condition as coupon code, set coupon code as created coupon code
Add to rule action as fixed discount on cart as 100 TRY
Publish rule to promotion-module, status is published
Promotion module's version is increased but catolog of promotion module is empty I don't know is it important?

店面:

I added an item to bag, its price is 338,28 TRY (there is no other discount)
I entered the coupon, 
In the page, says coupon is applied, but total price is didn't change, still 338,28 TRY.

在命令行写入中,

INFO  [hybrisHTTP17] [AbstractOrderRaoPopulator] Order discount list is empty, skipping the conversion

1 个答案:

答案 0 :(得分:1)

如果没有更多细节,很难说出现了什么问题,但遗忘(我一直都这么做)是将websitegroup添加到SourceRule以匹配您的促销所针对的网站。 然后,您必须重新发布该规则。

另请注意,在您的规则发布后,您必须修改购物车才能触发重新评估促销活动。 如果您只是重新加载购物车页面,则只会在修改购物车时进行促销计算,因此不会发生任何变化。

如果那不是解决方案,您能否提供更多细节?理想情况下,您可以发布相应的DroolsRule的ruleContent属性(包含正在评估的实际drools语法)。 其他信息,如hybris版本,日志输出等也会有所帮助。

相关问题