You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a participants and a soldOut field to each date. A date then becomes like an instance of the tour. Then, when a user books, they need to select one of the dates. A new booking will increase the number of participants in the date, until it is booked out ( participants > maxGroupSize ). So, when a user wants to book, you need to check if tour on the selected date is still available.
Alternative
Additional context
The text was updated successfully, but these errors were encountered:
Suggested feature
Add a
participants
and asoldOut
field to each date. A date then becomes like an instance of the tour. Then, when a user books, they need to select one of the dates. A new booking will increase the number of participants in the date, until it is booked out (participants
>maxGroupSize
). So, when a user wants to book, you need to check if tour on the selected date is still available.Alternative
Additional context
The text was updated successfully, but these errors were encountered: