WooCommerce Bookings – Customize Your Booking with Time Duration of 2, 11 and 47 hours
In this article, we will check out WooCommerce Bookings and Appointments plugin and a 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 weekday and special price for night and weekend.
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:
- WooCommerce Bookings and Appointments plugin [v.1.1.14 and above]
- Customize Booking Slots Add-on plugin
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 in the Edit Product page
- Select the Enable Calendar Range with Blocks of under the Booking Period option and set it to 1 hour(s)
Booking for 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
- Monday Availability
- For weekends 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
- Saturday Availability
- Here is the image showing all the Availability rules in the plugin settings
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
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
Select 2 hours duration - Since 2 hours duration is only available during the weekdays, the plugin will only display the weekdays as Available
Weekdays - The only 2 hours slots available on the weekdays, i.e. 01:00 pm & 04:00 pm
2 hours slots on the weekdays
- Select the 2 hours duration from the drop down
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
Select 11 hours duration - Since 11 hours duration is only available during the weekdays, the plugin will only display the weekdays as Available
Weekdays - The only 11 hours slots available on the weekdays, i.e. 08:00 pm
11 hours slots on the weekdays - On booking the slot for 11 hours booking duration
Booking slots
- Select the 11 hours duration from the drop down
Scenario 3
- Booking Duration: 47 hours
- Days offering 47 hours Booking
- Saturday
- Slots Available
- 11: 00 am
- Product Page
- Select the 47 hours duration from the drop down
Select 47 hours duration - Since 47 hours duration is only available during the Saturdays, the plugin will only display the weekdays as Available
Saturdays - The only 47 hours slots available on the Saturdays, i.e. 11:00 am
47 hours slots on the Saturdays - On booking the slot for 11 hours booking duration
Booking slots
- Select the 47 hours duration from the drop down
Final Thoughts
This article covers 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 is set to 2 hours, 11 hours and 47 hours on specific days of the week.
If you have any query regarding the functionality of the plugins or you want to discuss your business scenario with our experts, feel free to reach our customer support.