Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...


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

  1. Number of Attendees

  2. Event Time

  3. 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:

...

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.

...