How to Schedule a Shopify Discount and Have It End on Time
Set Active dates on a Shopify discount code or automatic discount, learn which clock Shopify uses, and make sure your sale starts and ends on time.
How-to guidesThe diex team9 min read
You built the sale discount, picked the dates, and now you want one assurance: it will switch itself on at the right moment and stop when the sale is over. Shopify handles both ends with a single setting called Active dates, and the setup is rarely where merchants go wrong. What trips people up is which clock Shopify uses, and the difference between a discount with no end date, a discount with a scheduled end, and a discount you switch off by hand. This guide covers the steps for both discount methods and the three end states, using Shopify's own documentation.
Active dates are the only scheduling a Shopify discount needs
There is no separate scheduling screen in the Shopify admin and no app required to turn a discount on at midnight. Every discount you build has an Active dates section with a start date, a start time, and an optional end date. Set a start date in the future and the discount sits in your admin doing nothing until that moment arrives.
You can see what is queued without opening each discount. Shopify's Discounts page ships with four default views, including Scheduled, which "includes only discounts with the Scheduled status," alongside All, Active and Expired, as described in Shopify's guide to searching, filtering and views. The managing discounts page also lists the filters available on your discount list, including Status and Start date, so you can save your own view of everything starting next week.
One editing limit matters when you are building ahead of a sale. Shopify's discounts FAQ says you can edit your discount settings "except for the discount type setting, which can't be edited after the discount has been created." Dates, values and requirements are all editable later. The type is not, so pick it deliberately.
Set a start and end date on a discount code
The steps below follow Shopify's instructions for amount off products and amount off order discounts:
- From your Shopify admin, go to Discounts.
- Click Create discount and choose the discount type you want.
- Choose the Discount code method and enter or generate the code.
- Set the discount value and any requirements, such as a minimum purchase amount.
- In the Active dates section, set the start date for the discount.
- If you want the discount to stop on its own, click Set end date and choose the date when the discount ends.
- Save.
Shopify's free shipping discount page spells out the consequence of skipping step 6: "If you don't choose an end date for your discount, then it doesn't expire." The same page gives the rule for a one-day promotion: "If you want the discount to be valid for only one day, then select the same calendar day for both the start date and the end date."
Set a start and end date on an automatic discount
The Active dates section works the same way for an automatic discount. Shopify's free shipping instructions tell you to use the calendar in the Active dates section to set the Start date and Start time, then click Set end date if you want it to stop, and the amount off discount instructions give automatic discounts the same two steps. Nothing about scheduling pushes you toward one method over the other. The choice comes down to whether shoppers need to type something, which is the subject of our comparison of automatic discounts and discount codes.
There is one practical difference at launch. A code that has not started yet fails loudly when a shopper tries it. An automatic discount that has not started yet is silent: the shopper just sees the normal price and has no way to know a sale is coming. If your promotion depends on shoppers noticing, plan the storefront messaging alongside the dates.
The clock is your admin time zone, not your customer's
This is the part that produces the "why did my sale start three hours late" support ticket. Shopify's amount off discount page states that the time when the discount starts and ends depends on the time zone you select in your Shopify admin, and gives this example: if your store's time zone is Eastern Standard Time and you select a start date of November 26, then your discount starts at 12:00 a.m. EST on November 26. The discount codes page repeats the rule for codes: "The time is based on the time zone that you selected in your Shopify admin." Shopify does not document a different clock for automatic discounts.
The end works from the same clock. Shopify's discounts FAQ says that if you set an expiry date, "the discount expires on the End date at the End time that you set, based on the timezone displayed in the admin." So check the end time field, not only the date. A date with a midnight end time stops the discount at the start of that day, which is not what most people mean by "ends Monday."
For example, say your store time zone is Eastern and you end a sale at 11:59 p.m. on November 30. A customer in Los Angeles loses the discount at 8:59 p.m. their time, and a customer in London lost it at 4:59 a.m. on December 1. None of that is wrong, but it is worth knowing before you email a deadline to a list that spans time zones. If most of your customers sit in one region far from your admin time zone, pick an end time that is generous in their evening rather than yours.
Check your store time zone before the sale, not during it
Because the discount clock follows the admin time zone, the time zone setting is a launch dependency, not a preference. Shopify's manage store details page points to Settings > General, where the Store defaults section is where you "manage your default currency, currency formatting, measurement and weight units, and time zone."
Open it the week before the sale and confirm it matches the clock you are planning against. If the store was set up by someone in another country, or you moved, the value may not be what you assume. Changing it mid-promotion changes when every scheduled discount starts and ends, so make that edit before anything is queued, not while a sale is live.
No end date, scheduled end, or deactivated: three different things
Merchants often use "turn it off" for three mechanisms that behave differently.
| What you do | What Shopify does |
|---|---|
| Leave the end date blank | The discount "doesn't expire." It runs until you change something. |
| Click Set end date and choose a date and time | The discount expires on the End date at the End time you set, in the admin time zone. |
| Deactivate it by hand | Shopify lets you "temporarily deactivate an unexpired discount," and it stops applying immediately. |
To deactivate one discount, the managing discounts page says to go to Discounts, click the name of the unexpired discount, click Deactivate under the discount's name, and confirm. To do several at once, select the unexpired discounts in the list, click Deactivate discounts, and confirm.
Reactivation has a trap worth memorizing. Shopify documents that "when you reactivate an expired discount, the discount status becomes Active and has no set end date," and the same applies to bulk reactivation. If you bring back last year's code for a repeat promotion, it will run forever unless you set a fresh end date in the same visit.
If you run discounts that diex builds, such as volume tiers or spend tiers, every one of them also has its own start and end dates plus a timeline where staff can leave comments only staff can see, which is a decent place to record what a scheduled promo was meant to do and when it should stop. The details are in the guide to scheduling, limits and combinations and the timeline and comments guide.
If you use Shopify Markets rollouts, read the FAQ section on how discount rollouts work with active dates before you schedule anything, because a rollout can change a discount's active state separately from the dates you set.
What a shopper sees when a scheduled discount is not running
Shopify documents customer-facing messages in two places, and they are not identical, so do not treat a specific wording as proof of a specific cause.
The managing discounts page is specific about deactivation: "If a customer applies a deactivated discount code to their cart, then they receive an error stating that your store is Unable to find a valid discount matching the code entered." The discounts FAQ covers invalid codes more broadly and lists "Enter a valid discount code" for a code that does not exist or is not active, along with separate messages for a code that does not match the items in the cart and for codes that cannot be combined.
The practical takeaway for your support team: a shopper reporting that a code will not work usually means the code has not started yet, has expired, was deactivated, or does not match their cart. Ask for the exact message and check the discount's status and Active dates before you assume anything is broken.
A pre-launch check that takes five minutes
Run this the day before, not during the sale:
- Confirm Settings > General > Store defaults shows the time zone you are planning against.
- Open the discount and read the Active dates start date and start time out loud in that time zone.
- Confirm an end date and end time exist if you want the sale to stop on its own.
- For a single-day promo, check that the start and end calendar days are the same day.
- Check the Scheduled view on the Discounts page to confirm the discount is listed there and not sitting Active already.
- If it is a code, test it on a draft cart after the start time passes, and confirm the code is correct in every email, banner and link you have queued.
What to do this week
Pick your next promotion and set its end date now, while you are thinking about it, rather than planning to switch it off by hand on a Monday morning. Then audit your Active view for discounts with no end date: anything from a finished campaign should be deactivated or given an end date today. Finally, check your store time zone once and write it down somewhere your team can see it, so the next person scheduling a sale works from the same clock. After the sale, the sales by discount codes report will tell you whether the window you chose was long enough to be worth repeating.
Sources
- Shopify Help Center: Amount off products and amount off order discounts
- Shopify Help Center: Discount codes
- Shopify Help Center: Free shipping discounts
- Shopify Help Center: Managing discounts
- Shopify Help Center: Discounts FAQ
- Shopify Help Center: Manage store details
- Shopify Help Center: Searching, filtering and views
Drafted with AI from the sources above and checked automatically against them and our product facts. Spotted a mistake? Email help@diex.app.