Overview :
With new promos, we have the ability to be able to determine which combination of promos will yield the customer the best deal when the priority for each promo is set to 100 (default), then the promo engine will determine the best deal.
Current State:
The current upsells module has no logic which determines a better upsell to display based on what's in the cart dynamically.
Requirements:
We want to try and use this logic for upsells, so something like an upsell which is:
2 for $50 tshirts
5 for $90 tshirts
If a user has one tshirt in their cart, that we upsell the '2 for $50' and if they add another tshirt to their cart they should then be upsold the 5 for $90
If they have an item in the cart that qualifies for more than one upsell, then we can just display the upsell that is the best deal for them so the carts don't get confusing with a bunch of upsells
Definition of Done:
A more relevant upsell is presented to clients based on what they currently have in their cart, and upselling the most relevant promotion for them based on 'best price' functionality