How dates are calculated
How Delivery Date works out an arrival date in Shopify: the day the parcel leaves, the days it's on the way and the weekdays your carriers deliver on.
Every date comes from three steps: the day the parcel leaves, the days it's on the way, and the days your carrier delivers on. The app calculates the date again each time a page loads, from your current settings. Only the Thank you and Order status pages show the date saved with the order.
The day it leaves
The app first picks the location that ships the product. See Stock and locations. Then it looks at that location's clock:
- Before the cut-off on a working day
- Processing starts today.
- After the cut-off, or on a day off
- Processing starts on the next working day.
The processing time then adds working days. With 0 days, the parcel leaves the day processing starts. With 1 day, it leaves the working day after. Working days skip the location's public holidays and closures. See Processing time.
The days on the way
The delivery time says how many days the parcel travels. The app uses the first of these that exists:
- The product's own time for the buyer's country. See Product overrides.
- The country's own time. See Delivery times.
- The time measured from your orders for that country. See Measured delivery times.
- The default delivery time.
Each of your own times has a value for products in stock and one for products out of stock. A measured time applies to both.
The days it arrives on
The days on the way count only arrival days, the weekdays your carrier delivers on, and they skip the public holidays of the buyer's country. With arrival days Monday to Friday, a parcel that leaves on Friday with a delivery time of 1 day arrives on Monday.
The arrival days come from the country's own setting, then from your measured deliveries, then from the default.
Earliest and latest date
The app works out two dates. The earliest uses the shorter processing time and the shorter delivery time, the latest uses the longer ones. Your display style decides whether buyers see both or one of them. See Display.
An example
A location with a 13:00 cut-off, working days Monday to Friday and a processing time of 0 days. The delivery time is 2–4 days, and the arrival days are Monday to Friday:
| Order placed | Leaves | Earliest arrival | Latest arrival |
|---|---|---|---|
| Thursday 10:00 | Thursday | Monday | Wednesday |
| Thursday 14:00 | Friday | Tuesday | Thursday |
| Saturday 09:00 | Monday | Wednesday | Friday |
For the order on Thursday at 10:00, buyers also see the countdown: "Order within 3h to ship today".
A cart with several products
The cart, checkout and every order get one date for all products together:
- The day it leaves
- The latest day any of the products leaves.
- The days on the way
- The longest delivery time among the products.
- The countdown
Shows only when every product leaves today, and counts down to the earliest cut-off among them.
When the date changes
A change you save shows on the next page load. Once the countdown runs out, the blocks on the product page and in the cart ask again a minute later and show the next date.
The date on the Thank you and Order status pages is saved when the order is placed and doesn't change afterwards. See Thank you and Order status.