Rae from Shopify here. Thanks for reaching out about this.
To clarify, are you setting up these discounts directly in your Shopify admin by following these steps?
If so, the amount of discount codes available will only run out if you choose to put usage limits on these codes. When setting up a discount, the 'Usage limits' option looks like this:
However, there's no requirement to use this option when creating a discount code, and if this option isn't selected at all, a discount code can be used an unlimited amount of times. This means there isn't ever a need to replenish the code.
With this information in mind, can you tell me a bit more about your store setup and how you're using discount codes at the moment? If you're currently replenishing codes, and if there's a reason why creating discount codes without a usage limit doesn't work for your store, I'd love to hear more about this so I can share your experience with our team directly. Equally, once I have more details, I can help determine if we have an available workaround for this task.
I look forward to hearing back from you with more details on this and continuing to help out!
Thanks for getting back to me with these details, and sharing your specific use case. I can see how this type of notification would be valuable for your business!
I took a look of some of our popular discount apps listed here, and it doesn't look like any of them specifically advertise this feature, but it may be worth reaching out to the individual app developers that created each of these apps to find out if this type of notification is offered. You can contact these developers by following these steps.
If you're interested in potentially having this coded into your site, this may be something that Shopify Experts can help out with. Experts are third-party developers and designers who create custom integrations for our platform, so they're a great resource to use for a task like this. You can reach out to them about this for more information via this link.
I'm also going to send this information over to our product team here at Shopify so that they can review your request further, and determine if it's a feature that may eventually be added to our platform. I can't guarantee that our team will add this feature, but if we do have any updates to share on this, we'll add them to our changelog here.
In the meantime though, I also wanted to share this blog post with you, as it outlines 19 different ways to use offers and discounts to generate more sales. I thought you might find this helpful when creating discount codes on your site!
This information should get you on the right track to resolving this, but please let me know if you have any other questions or concerns.