Set up delivery dates and delivery days

Add a delivery date picker at checkout and limit it to the days each account or location can receive orders.

👍

Delivery Date is an Order Attribute set during checkout with validation. Delivery Days are set days of the week at an Account or Location where an Order can be shipped or delivered.

The Delivery Date on the Order is validated against the Delivery Days on the Account or Location.

How to set up Delivery Day validation

Create an Order Attribute so that your customers may define the date they want the Order to be shipped or delivered.

  1. In the Zoey Admin, go to Orders > Attributes and click Create New Attribute.
  2. Enter the Attribute Name customers see at checkout, such as Delivery Day or Ship Date.
  3. Set Attribute Type to Date.
  4. Click Save. More settings appear.
  5. Set the options below, then click Save again.
❗️

"Delivery Date" cannot be used as the name to create this order attribute;delivery_date is an internal code already being used in Zoey.

You may name it something else, like "Delivery Day," save so the code will be delivery_day, and then rename the Attribute to "Delivery Date."

Type must be Date, which has a day buffer, not Date / Time

Order Visibility: Select where you would like this attribute to display.

📘

You may set this to only be visible to specific Customer Groups.

It can also be shown just for certain Shipping Methods!

Order Forms: Choose whether the attribute is Required.

Checkout Location: Since this is a delivery/shipping attribute, it makes most sense to select Shipping Method.

Set Account Delivery Days

  1. Go to Customers > Accounts, open the Account, and on its Overview tab click Add Delivery Days.
  2. Select the Account Delivery Days when this Account can receive orders.
  3. Select the Attribute To Validate With Delivery Days.
  4. Click Done.
🚧

You must select the attribute to validate against

Simply setting the days isn't enough. For Accounts that have delivery days, you must specify the Attribute to validate with. The reason for selecting the attribute here is because there can be multiple delivery date attributes, say if you need different date pickers for different reasons, or different customer groups with different validation.

Account Delivery Days and Attribute To Validate With Delivery Days

When creating an Order, customers will be presented with this date picker at checkout, and only the defined Delivery Days will be available to select.

Checkout date picker with only the delivery days available

Set Location Specific Delivery Days

You can set different delivery days for each Ship To location; they override the Account's days. On the Account, add or edit a Ship To address and select its delivery days.

Delivery days on a Ship To location

When set, the Location Delivery Days are validated against the Order Delivery Date.


Delivery Date Attribute Validation Rules

📘

By setting Validation Rules on the delivery day order attribute you can prevent certain groups from choosing a date outside the range.

  • Minimum Day Buffer - A buffer for the earliest date after the current day that can be selected.
    For example, when set to 2, customers are prevented from selecting today's date. When set to 3, today and the next day will be blocked.

    📘

    Offset Minimum Day Buffer to First Enabled Day will start the valid date range after the first enabled day.

  • Maximum Day Buffer - The number of days after the first valid day that can be selected. Defaults to the end of current year if not set.
👍

The rules for each customer group will be written out automatically for you! The written explanation above your buffers will use the current date as an example.

Written explanation of the validation rules for each customer group
  • Enabled Days
    These days of the week will be valid to be selected in the date-picker during checkout.
    An Account's specific Delivery Days will become the valid days when they order.
  • Offset Is Based on Enabled Days
    When set to Yes, only the Enabled Days will count when incrementing towards the end of the valid period set through the minimum and maximum buffers.
  • Offset Minimum Day Buffer to First Enabled Day
    When set to Yes, the range of valid days begins after the first enabled day, and ends after the number of max buffer days.
    When set to No, the minimum day buffer starts from the current day, making up to the maximum buffer valid for selection.

    🚧

    When 'Offset Minimum Day Buffer to First Enabled Day' is set to No, checkout may be blocked if the attribute is required and there are no valid days.

    When it's set to Yes, there will always be at least 1 valid day.

Enabled Days and offset settings


How to prevent customers from choosing the next day, past a certain time?

For example: If your cut-off is 1pm for orders that can be delivered in 2 days, set that time in your minimum day buffer's time field!

Minimum day buffer with a cut-off time

Only show if set as Delivery Days Order Attribute

Visible if set as the Delivery Days attribute on the Account is an option on Date Order Attributes. When checked, the attribute will only appear during checkout if it is set as the Delivery Day Attribute for the account.

That means the attribute will not appear for customers which don't have Delivery Days set, or are using a different order attribute to select their delivery day.

Visible if set as the Delivery Days attribute on the Account option

Delivery Day attribute is selected in the Account's Attribute To Validate With Delivery Days setting.


Import Delivery Days via CSV

Easily add Delivery Days to Accounts and Locations using the Customers > Accounts Importer -with Import Behavior "Append".

The Template

Please use the Guide for instructions on what each column header means and required fields.

Delivery Days import template Guide tab

How To Use This Template

Please Save a Copy of this template below.
The Template will have 2 Tabs:

  • Guide - This tab will provide requirements and tips for each column in the template.
  • Blank Template - This tab will only contain the column headers for you to copy/paste your data into.
👍

Or click here to download the Blank Template as CSV

Download as a CSV and use the Accounts Importer, Import Behavior =Append

Import Accounts panel with Import Behavior

Did this page help you?