Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Promotion Buy X Items Get Cheapest Free is not working as expected.

$
0
0

Hi All

We currently have an issue where 'Buy X number of Items get cheapest free'. 

Scenario - Buy 3 Items get cheapest free:

We add items, all of which are in the same campaign, Item  A($10) to the cart, then Add Items B($6) and C($5). to which item C($5) is now free. This works fine.

Item A$10
Item B$6
Item C$0(Savings $5)

We continue our shopping and then add Item D($3), from the same campaign, but the discount does not apply to the cart correctly as it still keeps the discount on Item C. We end up getting something looking like this:

Item A$10
Item B$6
Item C$0(Savings $5)
Item D$3

I have tried to the IPromotionEngine.Run(current) before rendering the cart items and I also done a cart.ApplyDiscounts(), but that did not work and somehow the discount still applies to the incorrect 'cheapest' item.

If we remove Item C from the cart, only then does Item D become free.

Has anyone come across this?

Regards

Farhad


Viewing all articles
Browse latest Browse all 6894

Trending Articles