Professional Documents
Culture Documents
1. INTRODUCTION
This document details oDates and oTimes in the Zuppler platform and how the date and time functionality in the
system can be extended using this feature.
oDates and oTimes are used if we need to override the default behavior of time and date selection when scheduling an
order. When using oDates and oTimes, ASAP option should be manually disabled.
● If the user is selecting a particular event and is not aware of the date. oDate can be used to display the actual event
name the user can select and based on the event selected, the corresponding date can be determined using the
Syntax described in the next section
● If the platform is powering let’s say a Food Truck concept. The Truck is at different office locations on different days
of the week and the user would prefer to pick the office location when selecting the date
● oTimes are typically used when the caterer would like to specify a range of time instead of a specific time for the
user
The system can have only 1 oDates and oTimes custom field for a restaurant. Selecting the oDate and oTimes would
set the system date and time accordingly. It is this system date and time that is transmitted with the order to the
restaurant or caterer.
starttime is the name of the oTimes field. When integrating with Caterease, this is mapped to the Event Start Time
field in the Caterease system. "Time" is the label that is displayed in the UI for the user as shown below:
It will be a drop-down under the calendar, this can be a time or range of time. This can only be used for scheduled
orders.
Note:
7:00AM IS THE SYSTEM TIME AND WHAT YOU WILL SEE AS THE DUE TIME IN THE CS APP
Name will be used to transmit the field to restaurant in any other case (emails, etc)
evtdate is the name of the oDate field., "Event Date" is the label that is displayed in the UI
The oDate will be a drop-down instead of a calendar control. Once the date is past, the date will no longer be
displayed.
The code below is what we would add to the Extra Fields section of Settings in the CP. Once this code is added, these
custom fields will render in the checkout cart.
Syntax:
set(label: "Event Info", name: "Event Info")
choices(starttime, name: "starttime", label: "When does your event start?:", values: ["Choose One", "8:00 AM",
"8:30 AM", "9:00 AM", "9:30 AM", "10:00 AM", "10:30 AM", "11:00 AM", "11:30 AM", "12:00 PM", "12:30 PM", "1:00
PM", "1:30 PM", "2:00 PM", "2:30 PM", "3:00 PM", "3:30 PM", "4:00 PM", "4:30 PM", "5:00 PM"],required)
choices(endtime, name: "endtime", label: "When does your event end?:", values: ["Choose One", "8:30 AM",
"9:00 AM", "9:30 AM", "10:00 AM", "10:30 AM", "11:00 AM", "11:30 AM", "12:00 PM", "12:30 PM", "1:00 PM", "1:30
PM", "2:00 PM", "2:30 PM", "3:00 PM", "3:30 PM", "4:00 PM", "4:30 PM", "5:00 PM", "5:30 PM", "6:00 PM", "6:30 PM",
"7:00 PM"],required)
Endset
Please note that both Starttime and endtime fields will be mapped to the Event Start and Event End Time fields
within Caterease if the account is integrated with Caterease.
The following is how the regular custom fields are rendered in the UI: