Feature - Event Reservations
Summary
Event Reservation (a.k.a. Feature Birthday and Catering) is a feature that allows guests to create a reservation for events like Birthday and Catering.
To book an event, guests has to perform the following steps:
Choosing Event Type | Providing Customer Details | Selecting Restaurant | Selecting Event Details | Displaying Confirmation Page |
---|---|---|---|---|
 |  |  |  |  |
Guests chooses an Event type.
Guests provides their personal details this is needed for restaurant manager receiving the reservations to contact them.
Guests select a store as venue/provider for the event.
Guests select the Event details such as date and time of the event, number of attendees, and additional comments.
After submitting the form, the information about the event would be relayed to mParticle as
Catering Birthday Event
.
Note that the handling of mParticle event is the responsibility of the operator. For example, operator can create a hook for the Catering Birthday Event
that sends restaurant managers email about the reservation.
Among the steps described above, operators can configure Choosing Event Type, Selecting Event Details, and Displaying Confirmation Page. Below, we explain in detail how to configure each of them.
Configuring Event Types
The options in the UI displays the events added in the Sanity Configuration. You can select at least one event.
UI | Sanity Configuration |
---|---|
  |  After Selection:  |
Configuring Event Details
Inside the event details page, guests will input
Number of Attendees
Event Time
Number of Burgers that should be Gluten free
Attendees
Guests specifies the number of adults and kids attending the event, given the maximum and minimum attendees guardrails set in Sanity. For birthday events, users can add the number of adults and kids separately, while for catering events, they can only add the number of adults.
UI | Sanity Configuration |
---|---|
  |   |
Event Time
To place guardrails on the date and time guests can enter in the Event Details page, operators can choose the Earliest Date
and Latest Date
which are measured as the number of days since the for submission date. Below are some examples of how Earliest Date
and Latest Date
corresponds to the valid dates a guest can enter:
Current Date | Earliest Date | Latest Date | Valid Date Range |
---|---|---|---|
07/31/2014 | 3 | 10 | 04/08/2024-10/08/2024 |
01/08/2024 | 2 | 5 | 04/08/2024-06/08/2024 |
01/08/2024 | 5 | 365 | 07/08/2024-31/07/2025 |
Further, guests can enter one or more time ranges to control the time of day guests can book for an event.
UI | Sanity Configuration |
---|---|
  |    |
Allergens
Similarly, operator can place a guardrail to how many Gluten free burgers guests can request for the event. For example, if a guest set Allergens to 5, that means they are requesting 5 Gluten-free burgers for the event.
UI | Sanity Configuration |
---|---|
  |   |
Configuring Privacy Policies Disclaimer
The last configurable page is the Confirmation Page, where operators can configure the Privacy Policies Disclaimer they want to display. This is important to display since this features collects user information and user does not need to be logged in to use this feature.
UI | Sanity Configuration |
---|---|
   |    |
Â