Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Allow Minus on "Minutes in Advance Dine in Close" feature

๐Ÿงพ History

DateChangesLinkBy
24 April 2024List of Changes
Allow users to book last-minute or even exceed the available schedule
Allow admin to set number to minus that indicates users can book exceed the available schedule
Convert minute to hour/day/week/month
This PRDUmam

๐Ÿ“• About

ContextCurrently, some restaurants are implementing the "Minutes in Advance Dine in Close" feature. This feature serves to set the latest time users can make a reservation.
ProblemIn some cases, restaurants want to allow users to make reservations even if they exceed the available schedule. the use of positive and zero values in the time settings only allows reservations before the available schedule. the Minutes in Advance Dine in Close feature doesn't have the ability to order exceed the available schedule. This poses a constraint as some users may wish to book last-minute slots or even exceed the available schedule.

Example:
Available Slot โž 7 PM
Minutes in Advance Dine in Close โž 15 minutes
Result :
User can choose 7 PM slot when the current time is no later than 6.45 PM
The current time is 6.00 PM . So, user can choose 7 PM slot (Available)
The current time is 6.50 PM . So, user can't choose 7 PM slot (Not Available)
SolutionEnable Minutes in Advance Dine in Close to allow users to book even exceed the available schedule. This would involve permitting the use of negative numbers to indicate booking times exceeding the available schedule.
Name of FeatureMaximizing Minutes in Advance Dine in Close
ObjectiveAllow users to book last-minute or even exceed the available schedule
Allow admin to set number to minus that indicates users can book exceed the available schedule
GainsUsers will feel more at ease knowing they can make reservations even exceed the available schedule, thereby improving the overall user experience
Restaurants can enhance users satisfaction and build stronger relationships
Restaurants will get the more chances to get more bookings
PainsRestaurants may be concerned about losing control over their schedules if users are allowed to make reservations exceed the available schedule. This could potentially lead to issues in managing capacity or food preparation.
Increase the complexity of order management for restaurants, necessitating adjustments in operational processes.
Figma Linkhttps://www.figma.com/design/YJToV06pIxxgTIMEU19YRc/Minutes-in-Advance-Dine-in-Close?node-id=0%3A1&t=bdYeneTUfVnkjlV9-1
Available PlatformWeb and App
SprintTBD
Related PRD-
Out of Scope-

๐ŸŽฏ User Story & Requirement

Allow minus input on Minutes in Advance Dine in Close field

User StoryRequirement
As an admin, i want to set Minutes in Advance Dine in Close exceed the available schedule

Here is the flow
Go to admin setting
On the navbar, click restaurants and go to restaurant list
Click action dropdown and choose edit

Here is the example

Allow minus input on Minutes in Advance Dine in Close field
Here, the negative value indicates that users can make reservations exceed the available schedule.

Example:
Available Slot โž 7 PM
Minutes in Advance Dine in Close โž -15 minutes
Result:
User can choose 7 PM slot when the current time is no later than 7.15 PM
The current time is 7.10 PM . So, user can choose 7 PM slot (Available)
The current time is 7.20 PM . So, user can't choose 7 PM slot (Not Available)

Add Additional description on client view

User StoryRequirement
As an User, i want to book the package that exceed the available schedule

Here is the flow
Go to restaurant page
Make the booking until redirected to time availibility page
Provide additional information indicating when the user can select an available time slot
Based on this following format
Without minus โž This outlet requires you to book at least X in advance
With minus โž This outlet allows you to book X past the start dining time. However, the starting dining time count will start based on selected time
X: variable for minute/hour/day/week/month in Advance Dine in Close
Add the instruction in the blue block and Place it under the time slot section
Convert minute into hour/day/week/month (also apply it for minus)
If number > 60 minutes, convert it into hours (example : 1 hour, 1 hour 10 minutes)
If number >1440 minutes, convert it into days (example : 1 day, 1 day 10 hours , 1 day 10 hours 50 minutes)
If number >10080 minutes, convert it into weeks (example : 1 week, 2 weeks 2 days 10 hours 1 minute)
If number >43800 minutes, convert it into months (example : 1 month, 2 months 2 weeks 10 days 1 minute)
this also applies to multiples
example :
120 minutes โž 2 hours
180 minutes โž 3 hours
so on
1st Example (without minus) :
Available Slot โž 7 PM
Minutes in Advance Dine in Close โž 15 minutes (without minus)
Result โž This outlet requires you to book at least 15 minutes in advance

2nd Example (with minus) :
Available Slot โž 7 PM
Minutes in Advance Dine in Close โž -15 minutes (with minus)
Result โž This outlet allows you to book 15 minutes past the start dining time. However the starting dining time count will start based on selected time


Without MinusWith minus

Old Store page


New Store Page

Old Store page


New Store Page

โ“ FAQ

QuestionAnswer
What if a user input 0 ?Do nothing, No instruction will appear
Mix and match?For mix and match packages we will follow the largest min booking time of the packages

Example :
AYCE package A: -30 minutes
AYCE package B: 20 minutes

we will use the ayce package B with 20 minutes min booking time in advance
Choose package first?The instruction will appear based on the package setting that has been selected
Choose date and time first?If choose date and time first, follow the instruction based on the restaurant level.

But, Once the package was selected, then follow the instruction based on the package level.
Add minus on package level?Currently, can't set the minus on the package level. but, the only way is setting on the restaurant level (choose follow restaurant level)
Level PrioritizationAdmin level
Restaurant level
Package level
Example ScenarioPls check here :
https://docs.google.com/spreadsheets/d/1efVlDjkAiXVhCNt5Bm-bC_rPnRlXZxpWI81t4RR5XtA/edit?gid=0#gid=0