Date and time, and date range options

Date and time lets customers pick a date, a time or both, such as a delivery date. Date range lets customers pick a start date and an end date, such as rental dates. Neither type has an add-on price. This article covers both.

Date and time

Add a date and time option

  1. Open the option set and click Add option.
  2. In the Customer input group, choose Date and time.
  3. Enter a Label and optionally Help text.
  4. Under Customers choose, select Date, Time or Date and time.

A Date and time option called Delivery date with Customers choose set to Date and time, shown as one field in the Preview 5. Switch on Required if customers must choose before adding to cart. 6. Save the option set.

Setting What it does
Label The name above the field. Up to 100 characters.
Help text A line under the label. Up to 300 characters.
Customers choose Date shows a date picker. Time shows a time picker. Date and time shows both in one field.
Required Customers must choose before adding to cart.

The picker is the one built into the customer's browser, so its look varies between browsers and devices.

Date range

Add a date range option

  1. Open the option set and click Add option.
  2. In the Customer input group, choose Date range.
  3. Enter a Label and optionally Help text.
  4. Optionally enter Earliest start, in days from today.
  5. Optionally enter Longest range, in days.

A Date range option called Rental dates with Earliest start 2 days from today and Longest range 14 days, shown as two date fields in the Preview 6. Switch on Required if customers must choose before adding to cart. 7. Save the option set.

Setting What it does
Label The name above the fields. Up to 100 characters.
Help text A line under the label. Up to 300 characters.
Earliest start How many days from today the start date can be at the soonest. Optional. Whole number from 0 to 3650.
Longest range The most days between start and end. Optional. Whole number from 1 to 3650.
Required Customers must choose both dates before adding to cart.

Customers see a Start date and an End date field. The storefront shows these messages:

Situation Message
The option is required and both fields are empty "This field is required."
Only one date is filled in, or the end is before the start "Choose a start date and an end date on or after it."
Start is earlier than Earliest start allows "Choose a start date on or after" the earliest date
The range is longer than Longest range "Choose a range of" the number of days "days or fewer."

Related articles

← Text, text area, number, email and phone options Color picker option →