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

DatePicker: Ability to restrict weekend booking to both days (cannot book Fri or Sat standalone) #281

Open
2 tasks
IRIElogic opened this issue Jun 7, 2021 · 0 comments
Labels
type: question The issue is a question about how code works.

Comments

@IRIElogic
Copy link

This is not a bug, more of a question on how to achieve the title.

The accommodation booking plugin is working very well except for this small requirement to make it perfect for us. I am happy to code something in to achieve this just not sure where and I would like it if possible to be persistent though version upgrades of the accommodation booking plugin.

The requirement is to be able to set a rule that if a person attempts to include Friday in their booking that they must also include Saturday. A simple message under the Calendar (were the current messages are sent) would be perfect.

I have been looking I just can't see how the WooCommerce booking manages to override and work alongside WooCommerce as does the Accommodation Booking override and work alongside WooCommerce Booking.

What would be the best approach to adding this or if such a facility/formula could be built in. Any pointers to documentation or a sample of how to achieve this would be really appreciated.

Thank you.


  • Issue assigned to next milestone.
  • Issue assigned a priority (will be assessed by maintainers).
@vikrampm1 vikrampm1 added the type: question The issue is a question about how code works. label Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question The issue is a question about how code works.
Projects
None yet
Development

No branches or pull requests

2 participants