Suggested feature
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
Suggested feature
Add a
participantsand asoldOutfield 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