I am using Shopify Functions to create Automatic Product Discount and faced the problem of maximum 5 active automatic discounts. In this article about combining multiple discounts it was stated that we can have up to 25 automatic discounts active on store. I understand that automatic discount created by app is a bit different.
I would like to know if this limit is going to be increased?
Or where can I find information about such limitations?
Graphql error when creating 6th discount:
"message": "The active period overlaps with that of another price rule",
Hi @adkhamllama -- Yes there is currently a limit of 5 active app-based discounts at a time. We do plan to increase this. We've created an issue internally to improve the documentation on this. Sorry for the confusion!
I've just spent some time getting an automatic tiered discount to work and we need more tiers.
For some reason I can't create more than 3.
I've checked using the admin graphql schema and can only find 3. (I've been messing around with multiple apps so thought there might be some rogue ones hanging around)
Hello @Nick_Wesselman we are still limited by 5 discounts. Moreover I have noticed that this limit of 5 is per store. Meaning I have installed another app which also creates such discounts. Now my app cannot create event 5 discounts.
Can you provide information on status of increasing the limit?
In the end I created a UI with the number of tiers I needed and that seemed to work.
The only issue I haven't worked out yet is that if I have 5 tiers with different discount amounts it only shows the title of the discount rule which is generic "Loyalty scheme" whereas I would like "Loyalty scheme 5%", "Loyalty scheme 10%" etc.
I guess there would be a performance impact if you allowed a lot more automatic discounts as it would have to check them all and then work out which apply and which don't etc.
Do you mean you were able to create 5 discounts but apply different discount amount from a single discount? Example: function_result has 2 discounts for different products [
But I don't filter by products so it's easier in that respect, my discount applies to all products but still respects the maximum rule so if another discount works out to be more then that one takes precedent.
My app creates a metafield on the customer object called "Tier" automatically when it the app installed. The only allowed values are "Tier 1", "Tier 2", "Tier3", "Tier 4", "Tier 5"
The discount configuration page has 5 (hard coded) fields, a discount for each Tier.
The discount function queries the current customer to find the current discount tier from the metafield and then matches that with the discount rule.
I know this reply is a bit older at this point, but I am wondering if there is a timeline I can expect this increase to incur? Trying to setup my shop discounts and am limited to 5... I need/want to have the option to do 20 different discounts. Thank you!