November Happy Hour will be moved to Thursday December 5th.

Need clarification on the way CalculateDiscountActivity works

Vote:
 

Hi,

I am using EPi Commerce 7.5

I need clarification on how the CalcualteDiscountActivity works.

If we have 1 lineitem level promotion and 1 order level promotion

i.e.

LineitemLevel promotion

If Catalog X is added to cart then apply 10% discount

Order Level Promotion

If Order Subtotal is >1000$ the apply 10% discount.

If we have Order Subtotal as 1002$ by adding Catalog X to the cart, then once after the lineitem level promotion is added discount will be 100.2$.

So will the order subtotal be deducted before validating Order level promotion? i.e; 1002$-100.2$ =901$

Or will all the promotions will be validation against subtotal amount 1002$.

I Suspect all the promotions will be validated first. Then start getting applied one by one promotion.

Please let me know if my understanding is correct.

Thanks,

Manjeera T

#182501
Sep 21, 2017 14:12
Vote:
 

In cases such as this I almost always answers: set it up and test it ^^

It isn't that hard to setup and you will get that safe feeling of actually having seen it yourself.

Of the top of my head i would say it is deducted from the subtotal before the order level promotion evaluates.

This is of course subject to change with different versions and the actual implementations of the promotions can also alter this behaviour.

#182504
Sep 21, 2017 16:02
Vote:
 

Hi Manjeera,

Ppromotion will be evevulated based on the priority. 

Better to give the highest priority to Item level promotions, so they will be evaluated first whn you are combining the item level and order level promotions.  

Regards

Venkata Phani kumar R

#182571
Sep 25, 2017 8:28
Vote:
 

Both Erik and Venkata are correct, and that works the same way in the new promotion system as well.

The promotions are applied in the priority order (higher priority = applied first). The next promotion will be applied with the result of the previous promotion. 

#182572
Sep 25, 2017 9:41
Vote:
 

Manjeera,

This concept is explained in the user guide: http://webhelp.episerver.com/latest/commerce/marketing/prioritizing-discounts.htm.

#182584
Sep 25, 2017 16:38
Vote:
 

Manjeera is talking about the old promotion system, so the link provided is not exactly what she/he wants. (They might behave the same, but that's not guaranteed)

#182585
Sep 25, 2017 16:40
Vote:
 

They don't behave the same: in the old promotion system item-level discounts was always applied before order-level ones, the priority only changed the ordering within each level of discounts.

#182586
Sep 25, 2017 16:44
Vote:
 

Good point Erik - yes, that's true. The old promotions system applies promotions in order of Lineitem level promotions, order level promotion, and finally shipping promotion.

In each type of promotion, the order of promotions to be applied is priority, and the lower priority promotion is applied on the result of the higher priority promotion (if it is not excluded itself)

#182587
Sep 25, 2017 16:50
Vote:
 

Yep but for the life of me i can't remember if the subtotal was actually updated between each promotion validation as the OP desired.

I recall having issues with the subtotal but no details.

#182588
Sep 25, 2017 16:54
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.