How to only allow bookings until a certain date?

Documentation Menu

How to only allow bookings until a certain date (eg. one year from now)?

Let’s say you don’t want to allow bookings further than one year in the future. You have two options for preventing customers from making bookings too far away in the future.

Using the Booking Restrictions add-on.

  1. Go to WP Booking System Forms
  2. Select your form
  3. Go to the Booking Restrictions tab
  4. In the “Advance Reservation” option, set the Max period to 365 days.

This will not allow the customer to book more than one year in the future, starting from the current date. This restriction is always calculated from today’s date, so it will always be 365 days from today.

Using a custom legend item.

  1. Go to WP Booking System Calendars
  2. Select your calendar
  3. Create a new legend item (eg. a grey one called Unavailable)
  4. Make sure to set it as not bookable.
  5. Using the Bulk Editor, assign the new legend item to all the dates from one year in advance until 2050.

This will visually block the calendar. As time goes by, you will have to edit the calendar availability to free up the dates.

 

Was this article helpful?

Yes (3) No

We're sorry to see this article wasn't as helpful as we hoped it would be. Please let us know what you were looking for so that we can improve this documentation page.

Full CTA BG
Is WP Booking System a good fit for you?

Tell us about your business activity & plugin requirements and we'll let you know if WP Booking System is right for you.

Have a support question? Please use this form instead.