on 01-08-2018 2:46 PM
Found below issues : -
1) Drools max limit exceeding when two or more promotions are stackable and rule group is null
Promotion Info
PRM_1 config.- rule-group=null; priority=1; stackable=false; condition= cart-total>$100 ; action=fixed discount of $1
PRM_2 config- rule-group=null; priority=1; stackable=false; condition= qualifying-product=1934406) ; action=fixed discount of $1
These promotions are not getting applied. getting following error Logs: ERROR [hybrisHTTP12] [DefaultCommerceRuleEngineService] Possible rule-loop detected. Maximum allowed rule matches has been exceeded. Current Limit:200 201:13953159-0ac2-40d4-90c4-4fa22b4e1298 199:7169b4d7-bace-408d-81a3-42ddfa7aa95d You can adjust or disable the limit for rule matches by changing the ruleFiringLimit field in the 'Drools Engine Context' object (see the 'Rule Firing Limit' attribute).
2) In previous version(6.2 and 6.4), promotions present is different rule groups were getting fired(irrespective of the stackibility flag). But, in hybris V6.6 when two promotion are in different rule-groups and stackibility is false, then, only one promotion with the higher gets applied.
Thanks
Issue is reproduced in hybris 6.6.0.19
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe this issue may be related to ECP-2867: non-stackable promotions (in different groups) don't fire both. Try downloading Hybris 6.6.0.6 (released on June 2018) or later and see if that fixes your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you get any resolution for point 2. I have been facing the same issue. It looks like if promotions are defined non-stackable, then the rule group does not matter, it is non-stackable with any other non-stackable promotion in any rule group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check my answer, and see if that solves your issue. Don't forget to upvote the answer, if it fixes the issue. That way, we know it's working.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.