Guide · Fizz Delivery Date

How to let customers pick a delivery date on Shopify

Shopify's own cart-page date picker, what it can and can't do, and how to add time slots, cut-offs and a required date that holds at checkout.

Updated

Bakeries, florists, grocers and anyone who delivers locally need the customer to choose a day, and often a time window, before they pay. Shopify's checkout doesn't ask for a delivery date on its own. Here's what Shopify gives you, a free do-it-yourself picker, and when an app is the better route.

What Shopify does on its own

So the date has to be collected another way: in the cart, before checkout, or inside checkout on Shopify Plus.

The free way: Shopify's cart-page date picker

Shopify's Help Center has a tutorial, Adding a delivery date picker to the cart page. It:

  1. adds jQuery to your theme if it doesn't have it,
  2. creates a delivery-date snippet with a date field and a calendar,
  3. renders that snippet inside the cart form in main-cart-items.liquid.

The field is named attributes[date], so the chosen date is saved as a cart attribute and appears on the order under additional details. The sample code offers dates from tomorrow to two months ahead and skips weekends. Shopify estimates about 15 minutes of work.

Its limits, from the tutorial itself and from how cart attributes work:

For a shop with a few orders a week and generous delivery days, this is fine. Check the orders each morning and call anyone who picked an impossible day.

What a proper setup needs

When delivery dates matter to operations, the picker needs:

  1. Lead time and a cut-off in your shop's time zone ("order by 2 pm for next-day delivery").
  2. Open days and blackout dates for Sundays, holidays and staff days off.
  3. Time slots with a capacity per delivery area or pickup point, counted from real orders.
  4. A required check at checkout, so a shopper can't arrive without a date or with a date that's no longer valid.
  5. A calendar that shows tomorrow's run and lets staff move an order.

Point 4 is the one most setups miss. A date picker in the cart is a suggestion. Every online order passes through Shopify's checkout, so that is where a rule has to be checked. Shopify lets apps add rules there with a cart and checkout validation Function, which covers express checkouts "such as Shop Pay, PayPal, Google Pay, and Apple Pay" (Shopify docs).

On Shopify Plus, an app can also put the date picker inside checkout, under the shipping options. On other plans that isn't possible: checkout extensions on the information, shipping and payment steps "are available only to stores on a Shopify Plus plan" (checkout UI extensions). So on Basic, Shopify and Advanced, the picker lives in the cart and the checkout check makes sure it was used.

Doing it with Fizz Delivery Date

Fizz Delivery Date is our app, free to install while it launches, on any plan.

  1. Rules: time zone (taken from your store), lead time, daily cut-off, open days, blackout dates, how far ahead to offer dates, and whether a date is required.
  2. Locations and slots: each delivery area or pickup point with its own weekdays, an orders-per-day limit and time slots with a capacity (for example 09:00–12:00, up to 8 orders).
  3. Cart: add the Delivery date block to the cart page, or the embed for a cart drawer. It can sit above the checkout button and disable it until a date is picked.
  4. Checkout: a Shopify Function refuses checkout with no date, a closed or blackout day, a date the cut-off rules out, or a full slot, whichever way the cart was made.

Each order books its slot. Full slots drop out of the picker, cancelling an order frees its place, and the calendar shows each day's orders with slot usage and a Move button. The choice is saved on the order as Delivery date, Delivery time and Delivery method, so packing slips and order printers can read it.

Things to know: the picker inside checkout needs Plus; two shoppers paying for the last place in the same few seconds can both get through (the calendar flags it); and choosing "Pickup" in the picker doesn't change the Shopify shipping rate, so set your rates to match.

Before you go live

Place three test orders: one normal, one after your cut-off (the earliest date should move a day later), and one where you clear the date before checkout (checkout should refuse it). Then check the date appears where your team looks for it: the order, the packing slip and the confirmation email.