cancel
Showing results for 
Search instead for 
Did you mean: 

Why does Order Threshold Free Gift Promotion change entry numbers?

Former Member
0 Kudos

Hi!

I have created Order Threshold Free Gift promotion. Lets say that the free product is "X". I added products "A", "B", "C" and "X" to my cnd this triggers free gift promotion. So now I have 5 order lines - each for every "normal" price product and separate line for free "X" product.

Order line which contains free gift product has entrynumber = 6. Which is strange, since the size of entries is 5 and the last entry number should have been 4. This is not the only issue what I noticed. Cart contains all of my selected products, but some of the entryNumbers are missing. I have following cart entry numbers: 0, 1, 3, 5, 6. So there are no cart entries with numbers 2 and 4.

Hybris version=5.1.1.0

Has anyone faced the same issue as me?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello.

If you investigate jalo class of OrderThresholdGreeGiftPromotion, you eventually get to the class PromotionOrderAddFreeGiftAction, where you should see, that new order entry is being added with the gift product. It is not rare in ootb promotions logic to remove-add new entries in the cart. Best regards!