我正在添加带有规则的活动优惠券。当我兑换优惠券时,我可以设置优惠券并在店面写优惠券应用。但购物车的总价格没有改变。此外,当我发布规则时,购物车的总价格没有变化。
感谢您的回复,我正在写一些有关情况的详细信息:
首先,我添加了这些扩展:
<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 clean all,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