cancel
Showing results for 
Search instead for 
Did you mean: 

PROMOTIONS NOT WORKING AS EXPECTED IN HYBRIS 6.6. Have tested promotions for OOTB yaccelerator electronics-store front.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member694711
Discoverer
0 Kudos

Issue is reproduced in hybris 6.6.0.19

geffchang
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

geffchang
Active Contributor
0 Kudos

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.