Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Tour Dates #61

Open
DavianYang opened this issue Oct 16, 2021 · 0 comments
Open

Improve Tour Dates #61

DavianYang opened this issue Oct 16, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DavianYang
Copy link
Owner

DavianYang commented Oct 16, 2021

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

@DavianYang DavianYang self-assigned this Oct 16, 2021
@DavianYang DavianYang added the enhancement New feature or request label Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant