cancel
Showing results for 
Search instead for 
Did you mean: 

maximum rule execution on promotion

0 Kudos
1,612

I hybris 6.0,using promotion engine, The promotion rule is executed on the defined product as soon as the defined product is added to cart.

for E.g: for product level promotion , applied product % discount promotion on defined product. product costs $100 ,maximum rule execution is set to 5 and % discount is set to 10. Add defined product to cart, Currently, 10% discount is applied to the same product 5 times in the same session, hence shows subtotal as $59.05.

But ideally, since the promotional discount is 10%, I expect my product subtotal to be $90. Assuming the promotional rule execution is applied on different orders 5 times.

0 Kudos

If Rule execution should always be set to 1, then what is the need of making field is editable?

former_member357259
Active Contributor
0 Kudos

You might have custom actions that make use of maxAllowedRuns or someone might change the standard actions also to use it.

It is a general feature of the rule engine that puts a limit on how many times a single rule can be executed as long as the conditions are true. For OOTB promotions, the actions 'consume' all available products for promotions in one go. Thats why the value has to be set to 1.

Thats why its kept in the Administration tab, that you will only change it when you really know what you are doing :)

Former Member
0 Kudos

Hi Lavanya,

I have installed hybris 6.1.0.1 using installer b2c_acc_plus. and created own "PromotionSourceRuleTemplate" with filling details

Conditions Cart contains ANY products [478828] Qualifying products

Actions Apply target price {USD=10} on the qualifying products Target fixed price on products

but unfortunately promotion not getting fired ,

do i need to some any other configuration ?

I will appreciate you response .

Best Regards, Ankur

former_member357259
Active Contributor
0 Kudos

Hi Ankur,

This looks like a different problem. Could you ask this question in a separate thread.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member357259
Active Contributor
0 Kudos

Hi Lavanya, for promotion rules the value of maximum rule execution should always be set to 1. All OOTB actions are set to behave that way.

Why do you want to set the max rule execution value to 5? Whats the business requirement?

Former Member
0 Kudos

Hi Charles, I want to restrict my promotion rule to be applied to single customer and want to restrict the number of times that promotion rule can applied to particular customer.Is Maximum Rule Executions parameter useful in that case?If not please suggest alternate way to achieve that.