Re: Automatic Discount Error Code Question: ACTIVE_PERIOD_OVERLAP vs MAX_APP_DISCOUNTS

Automatic Discount Error Code Question: ACTIVE_PERIOD_OVERLAP vs MAX_APP_DISCOUNTS

ericnam
Shopify Partner
9 0 10

Hi there,

 

I've seen a new issue while working with automatic discounts I've never encountered before, which is the error code "ACTIVE_PERIOD_OVERLAP: The active period overlaps with that of another price rule". I'm familiar with "MAX_APP_DISCOUNTS: The active period overlaps with that of another price rule", which is triggered when you try to create more than 5 app discounts at a given moment. The ACTIVE_PERIOD_OVERLAP code was triggered when I tried to create only the 2nd active code.

 

Disabling the first code allowed me to create the second, but I am unable to re-enable the first code without disabling the newly created code.

 

Does anyone know what ACTIVE_PERIOD_OVERLAP means? It seems like it's preventing me from having more than one "live" app discount at any given moment, but I've done this with multiple codes for other stores before. 

Replies 6 (6)

SBD_
Shopify Staff
1831 273 418

Hey @ericnam 

 

It seems like only one automatic discount can be active at a time. Let me know if this clears things up.

Scott | Developer Advocate @ Shopify 

ericnam
Shopify Partner
9 0 10

Hey SBD_, thanks for the reply

 

That's what confuses me the most, because in another store of mine I am able to create up to 5 active automatic app discounts without issues. Their status says ACTIVE, and their end dates are all NULL, which indicates they are all active in the same period.

 

In that store, when I try to create the 6th active auto app discount, I get the error code "MAX_APP_DISCOUNTS", which coincides with the documentation you linked. However, in another store, when I try to create just the 2nd active auto discount, I get the "ACTIVE_PERIOD_OVERLAP" error code.

 

Are you aware of any store configurations and/or customizations that could be limiting how many auto discounts can be active in a given period?

 

Thanks for your help with this

SBD_
Shopify Staff
1831 273 418

Hey @ericnam 

 

Strange! Are you able to DM me details of the other store/discounts?

Scott | Developer Advocate @ Shopify 

adam_cvikota
Shopify Partner
61 0 3

Hello,

i have the same issue with ACTIVE_PERIOD_OVERLAP only in few stores.

Do you know now what is the problem?

Thank you so much for info.

remy1604
Shopify Partner
1 0 0

Hi, 
Any updates here? I have encountered the same problem with ACTIVE_PERIOD_OVERLAP only in few stores.

SBD_
Shopify Staff
1831 273 418

Hey @remy1604 

 

Please reach out to Partner Support with the store details/examples.

Scott | Developer Advocate @ Shopify