Replies: 1 comment
-
We look at this problem before too. Would be great to get it built in. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What are you trying to do?
I'd like to run a promotion where if a user add 2 items of the similar category, the one with the lower price is included at no charge.
Of course, a more robust solution would be to allow more flexibility (Buy
n
, Getx
free)What's your proposed solution?
Current solution
The current, best solution is to create a series of discounts. Here is an example of how we ran a Buy 2 Get 1 Free promotion.
This requires creating a discount for each possible count of matching items in a cart.
If all items are the same price, this is effectively the same. However if the products are different prices, the amount of discount is actually greater. (Example: 1 shirt for $20 and 1 shirt for $10. Under this setup, the discount would be $15. It should be $10 instead)
Additional context
Ideally, this should work for multiples of the sale as well. For example in a Buy 1 Get 1 Free sale, if a user adds the following items to their cart:
The discount should be $15.
However, if they add 2 more matching items:
Then the total discount should: $10 (b/c items 3 and 4 are the two lowest priced items)
Beta Was this translation helpful? Give feedback.
All reactions