Allow stacking/cumulative discounts
closed
S
Seun Oyebode
A good example is having a 40% discount on a product, and combining it with an "extra10" discount code that provides a 10% discount increase on the product, bringing it to an overall 50% discount (notice, the discounts are cumulative, not sequential).
Due to limitations in Shopify itself that are out of our control, it is not possible to implement this feature currently. However, if you'd like us to add this feature to our app, please upvote and comment on this thread.
Please read Shopify's "Discount combinations" help article to understand what's possible:
Tobe Osakwe
Possible workarond:
You can update your discount logic to offer a discount percentage to customers who meet the criteria for both discounts.
For example, if you have a 20% discount for customers with the tag "trade," and want that to stack on top of a 30% off products in your "Pants" collection, you can update your "Pants" collection discount to:
- Check if the product is in the Pants collection
- Then, check if the customer has the "trade" tag. If so, apply a 44% discount.
- Otherwise, just apply the base 30%.
As for the math to get to 44%:
- A 30% discount is the same as multiplying the price by 0.7
- A 20% discount is the same as multiplying by 0.8
- Therefore, for some price x, stacking discounts these discounts is the same as this equation: (0.7x) * 0.8, so 0.56x
- This is a 44% discount.
Best,
Tobe
Tobe Osakwe
It sounds like there are 2 separate use cases:
- "Stacking" - If you have a 40% discount and a 10% discount, apply 40% discount, then discount the new price by 10%.
- "Cumulative" - If you have a 40% and a 10% discount, add them together to get a 50% total discount.
Please comment to let us know which of these use cases you are trying to achieve, or if you think we might be misunderstanding this.
Thanks,
Tobe
Tobe Osakwe
Note to self: if we ever implement this feature, then, when calculating subsequent discounts, we will need to update the "sale price" of each item in the cart based on previous discounts.
I am not yet super clear how the discounts allocator function output looks, but we may have to concatenate the names of all stacked discounts.
Tobe Osakwe
closed
Unfortunately, we will have to close this thread.
As mentioned before, the reason we can't support discount stacking is not because we don't want to; it's because it's simply not possible.
If/when the Discounts Allocator Functions API becomes available on live stores, we may revisit this feature request.
In the meantime, though, in order to declutter our feedback board, we will close this thread. By doing so, we will be able to focus on other feature requests that are possible, and making Regios Automatic Discounts as good as possible, given the current Shopify Functions limitations.
Best,
Tobe
Tobe Osakwe
It is currently not possible to stack product discounts on top of each other in our app due to Shopify limitations.
When combining with other discounts, our app follows the same rules and limitations as Shopify's built-in discounts.
Please read Shopify's "Discount combinations" help article to understand what's possible:
In general, if 1 line item in the customer's cart is eligible for 2 product discounts, Shopify will only apply the one that gives the highest discount.
If you want 2 discounts to combine, both need Combinations settings checked.
If you want two discounts to "stack" on top of each other, then one needs to be a product discount, and the other needs to be an order discount.
It may eventually possible to add a "stacking" feature to app using the Discounts Allocator Function API. However, this API is only in developer preview, and we do not know if/when it will be rolled out live stores.
We will keep this thread open in the meantime to gauge interest.