hybris 促销优惠券不适用于总价
hybris promotion coupon is not applied to total price
我正在使用规则添加活动优惠券。当我兑换优惠券时,我可以设置优惠券并在店面写优惠券被应用。但购物车的总价没有改变。另外,当我发布规则时,购物车的总价没有变化。
感谢您的回复,我正在写一些有关情况的详细信息:
首先我添加了这些扩展:
<extension name='rulebuilderbackoffice' />
<extension name='couponbackoffice' />
<extension name='droolsruleengineservices' />
<extension name='ruledefinitions' />
<extension name='promotionengineservices' />
<extension name='couponfacades' />
<extension name='promotionenginesamplesaddon' />
<extension name='promotionengineatddtests' />
然后我让ant清理所有,ant初始化并启动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
如果没有更多详细信息,很难说出了什么问题,但通常会忘记(我一直这样做)的事情是将 websitegroup
添加到 SourceRule 以匹配您的宣传目标网站为了。
然后您必须重新发布规则。
另请注意,在您的规则发布后,您必须修改购物车才能触发对促销活动的重新评估。
如果您只是重新加载购物车页面,则不会发生任何变化,因为只有在修改购物车时才会进行促销计算。
如果这不是解决方案,您能否提供更多详细信息?理想情况下,您可以 post 相应的 DroolsRule 的 ruleContent 属性(包含正在评估的实际 drools 语法)。
其他信息,如 hybris 版本、日志输出等也会有帮助。
我正在使用规则添加活动优惠券。当我兑换优惠券时,我可以设置优惠券并在店面写优惠券被应用。但购物车的总价没有改变。另外,当我发布规则时,购物车的总价没有变化。
感谢您的回复,我正在写一些有关情况的详细信息:
首先我添加了这些扩展:
<extension name='rulebuilderbackoffice' />
<extension name='couponbackoffice' />
<extension name='droolsruleengineservices' />
<extension name='ruledefinitions' />
<extension name='promotionengineservices' />
<extension name='couponfacades' />
<extension name='promotionenginesamplesaddon' />
<extension name='promotionengineatddtests' />
然后我让ant清理所有,ant初始化并启动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
如果没有更多详细信息,很难说出了什么问题,但通常会忘记(我一直这样做)的事情是将 websitegroup
添加到 SourceRule 以匹配您的宣传目标网站为了。
然后您必须重新发布规则。
另请注意,在您的规则发布后,您必须修改购物车才能触发对促销活动的重新评估。 如果您只是重新加载购物车页面,则不会发生任何变化,因为只有在修改购物车时才会进行促销计算。
如果这不是解决方案,您能否提供更多详细信息?理想情况下,您可以 post 相应的 DroolsRule 的 ruleContent 属性(包含正在评估的实际 drools 语法)。 其他信息,如 hybris 版本、日志输出等也会有帮助。