Add delivery and pickup time slots to WooCommerce checkout

Published Updated 2 min read

A store that offers delivery or local pickup has two jobs at checkout: take the order and agree a time. Handle the time through order notes and you do it twice. The customer writes a preference, you confirm by email or phone, someone misses a message, and the order goes out at the wrong time or for a slot that never existed.

Orderable and plugins like it handle slots properly, with capacity limits, blocked dates and delivery zone rules, and for a complex operation they are worth it. A store with fixed hours and a few slots a day needs less: a date picker and a slot dropdown at checkout, saved on the order where staff and the customer can both see it.

A free-text box cannot say no

Order notes accept anything and confirm nothing. A customer who asks for Saturday at 9am from a shop that shuts at noon on Saturdays finds out when someone rings them. A customer who writes nothing places an order with no time attached at all.

The cost lands on staff. Someone has to read every order for a time, chase the ones without one, and keep a schedule that lives outside WooCommerce, while the admin shows confirmed and unconfirmed orders exactly alike. A proper slot field makes the time part of the order from the moment it is placed.

Three settings and two required fields

WooCommerce > Delivery Slots has three settings: which days of the week you take bookings, the slot labels (one per line), and how many days ahead customers can book. By default it allows all seven days, four slots across a normal working day and a seven-day window.

At checkout, after the order notes field, the customer gets a date picker and a time slot dropdown, and must fill both. The date picker greys out days you do not offer and anything beyond the booking window, so an impossible date cannot be chosen.

Where the chosen slot shows up

The date and slot are saved as order meta and appear on the order confirmation page, in the customer's confirmation email, and on the admin order screen under a Delivery or Pickup heading. Place one test order after setting up and check all three.

You can edit the slot list whenever you like. Changes apply to new orders straight away; orders already placed keep the slot chosen at checkout.

No capacity limits, one schedule for both methods

The plugin records each choice but does not count how many orders already hold a slot, so every slot stays open however busy it gets. If you sell a fixed number of places per slot, you need capacity logic, which is what Orderable and similar plugins provide.

Delivery and pickup also share one schedule. If deliveries run in longer weekday windows and pickups in shorter weekend ones, you need slot sets tied to the shipping method, which is a different build. For a store that offers the same slots however the customer collects, this one does the job.

What you get

Included

  • Date and time slot selection at WooCommerce checkout, required before the order can be placed
  • Admin settings for available days of the week, configurable slot labels, and how many days ahead customers can book
  • The selected date and slot stored as order meta and displayed in the admin order view and confirmation email
  • Blocking unavailable days and out-of-window dates in the checkout date picker

Not included

  • Slot capacity limits that prevent customers from choosing a slot already at its maximum number of orders
  • Different time slot schedules for delivery versus local pickup shipping methods
  • Holiday or blackout date management beyond the configurable booking window
  • Changing or cancelling a booked time slot after the order has been placed

Orderable does the things on the right. This build covers the part most sites use.

Build it in Steem

The button opens the builder with this guide's prompt filled in, so you can change anything before it runs. Nothing is built, and nothing is charged, until you send it.

Build this pluginAbout 55 credits. The free plan includes enough for one.
Read the prompt (187 words)

Build a WordPress plugin for WooCommerce that adds delivery and pickup time slot selection to the checkout. Add a settings page under WooCommerce > Delivery Slots with three fields: a checkbox list of available days of the week (Monday through Sunday, all checked by default), a textarea for time slot labels entered one per line with four default slots covering a working day (9:00 - 11:00, 11:00 - 13:00, 13:00 - 15:00, 15:00 - 17:00), and a number input for how many days ahead customers can book (default 7). Add two required fields to the WooCommerce checkout form, positioned after the order notes field: a date picker that disables days of the week not checked in settings and blocks dates outside the booking window, and a dropdown of the configured time slot labels. Validate that both fields are completed before the order can be submitted. Save the selected date and time slot as order meta. Display the selected date and slot on the WooCommerce order confirmation page, in the customer order confirmation email, and in the WooCommerce admin order edit screen under a Delivery or Pickup heading.