WooCommerce Bookings – Customize Your Booking with Time Duration of 2, 11 and 47 hours

In this article, we will check out the WooCommerce Bookings and Appointments plugin and the Custom Bookings Slots Add-on plugin, and how these plugins work together. Using these plugins together, you can set up an online bookings store with user-defined bookable slots for the custom time duration.

Business Case

It’s a booking service with a fixed timetable 2-hour slot for weekdays and a special price for nights and weekends.

Timetable:

  • From Monday to Friday
    • During the Day – From 13:00 – 15:00 & 16:00 – 18:00
    • During the Night – From 20:00 to 07:00 (the day after)
  • For Saturday (weekend) Saturday 20:00 to Monday 10:00 

Solution

Required Plugins:

How to set up the Bookable Product?

Follow the steps below to set up the plugins for the scenario.

  • Download and Install the WooCommerce Bookings and Appointments plugin on your website
  • Set up a bookable plugin and click on the Bookings tab on the Edit Product page
  • Select the Enable Calendar Range with Blocks of option under the Booking Period option and set it to 1 hour(s)
    custom time duration
    Booking for a 1-hour slot
  • Set Minimum Duration to 47. It will allow customers to select a minimum of 47 hours slot and will be used in case of weekend bookings
  • Click on Booking Availability
  • Click on Make All Dates/Blocks Unavailable. This will allow you to create dedicated availability rules based on your requirements
  • Now set up a dedicated availability rule for each day of the week by clicking on Add.
    For example:

    • Monday Availability
      • 12:00 am to 09:00 am
      • 01:00 pm to 02:00 pm & 04:00 pm to 05:00 pm
      • 08:00 pm to 11:00 pm
    • Tuesday Availability
      • 12:00 am to 06:00 am
      • 01:00 pm to 02:00 pm & 04:00 pm to 05:00 pm
      • 08:00 pm to 11:00 pm 
    • Wednesday Availability
      • 12:00 am to 06:00 am
      • 01:00 pm to 02:00 pm & 04:00 pm to 05:00 pm
      • 08:00 pm to 11:00 pm 
    • Thursday Availability
      • 12:00 am to 06:00 am
      • 01:00 pm to 02:00 pm & 04:00 pm to 05:00 pm
      • 08:00 pm to 11:00 pm 
    • Friday Availability
      • 12:00 am to 06:00 am
      • 01:00 pm to 02:00 pm & 04:00 pm to 05:00 pm
      • 08:00 pm to 11:00 pm 
  • For weekend booking time availability rules, set up,
    • Saturday Availability
      • 12:00 am to 06:00 am
      • 11:00 am to 11:00 pm
    • Sunday Availability
      • 12:00 am to 11:00 pm
  • Here is the image showing all the Availability rules in the plugin settings
    custom time duration
    Bookings Availability
  • Save settings and update the product

How to set up Custom Duration for Bookings?

Follow the steps below to set up the custom duration using the add-on plugin.

  • Download and install the Custom Bookings Slots add-on on your website
  • Click on Settings to visit the plugin settings
  • Under the Products tab, select the products for which you want to use the custom booking duration, as shown in the image below
    custom time duration
    Add-on plugin settings
  • Click on Save settings

Scenario 1

  • Booking Duration: 2 hours
  • Days offering 2 hours Booking
    • Monday
    • Tuesday
    • Wednesday
    • Thursday
    • Friday
  • Slots Available
    • 01: 00 pm
    • 04:00 pm
  • Product Page
    • Select the 2 hours duration from the drop-down
      custom time duration
      Select 2 hours duration
    • Since 2 hours duration is only available during the weekdays, the plugin will only display the weekdays as Available
      custom time duration
      Weekdays
    • The only 2 hours slots available on the weekdays, i.e. 01:00 pm & 04:00 pm
      custom time duration
      2 hours slots on the weekdays

Scenario 2

  • Booking Duration: 11 hours
  • Days offering 11 hours Booking
    • Monday
    • Tuesday
    • Wednesday
    • Thursday
    • Friday
  • Slots Available
    • 08: 00 pm
  • Product Page
    • Select the 11 hours duration from the drop-down
      custom time duration
      Select 11 hours duration
    • Since 11 hours duration is only available during the weekdays, the plugin will only display the weekdays as Available
      custom time duration
      Weekdays
    • The only 11 hours slots available on the weekdays, i.e. 08:00 pm
      custom time duration
      11 hours slots on the weekdays
    • On booking the place for 11 hours booking duration
      custom time duration
      Booking slots

Scenario 3

  • Booking Duration: 47 hours
  • Days offering 47 hours Booking
    • Saturday
  • Slots Available
    • 11: 00 am
  • Product Page
    • Select the 47 hours period from the drop-down
      custom time duration
      Select 47 hours duration
    • Since 47 hours duration is only available on Saturdays, the plugin will only display the weekdays as Available
      custom time duration
      Saturdays
    • The only 47 hours slots available on Saturdays, i.e. 11:00 am
      custom time duration
      47 hours slots on the Saturdays
    • On booking the place for 11 hours booking duration
      custom time duration
      Booking slots

Final Thoughts

This article covers the WooCommerce Bookings and Appointments plugin and the Customize Bookings Slots Add-on plugin. The add-on works specifically for the business case with the booking duration set to 2 hours, 11 hours, and 47 hours on specific days of the week.

If you have any queries regarding the plugins’ functionality or want to discuss your business scenario with our experts, feel free to reach our customer support.