Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2018 at 09:35 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2018 at 10:01 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 03, 2020 at 12:40 PM

    Issue is reproduced in hybris 6.6.0.19

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.