How to Share a Service with Multiple Bookable products using WooCommerce Bookings and Appointments plugin
In this guide, we will tell you how you can set up shared assets between two different products. We will use the WooCommerce Bookings plugin and take a real-life example to help you understand how it’s done.
Dave runs a rainforest tour containing both standard and private tours. However, he has only one vehicle which is shared among both the tours. Following are his challenges:
Attempting to assign a vehicle to a standard tour product so that other private tour product that uses the same vehicle does not allow bookings for the same time blocks while the standard tour is booked and vice-versa. That is, if the vehicle is already in use by one tour product, the other type of tour should close bookings for the same time period.
Also, since the vehicle contains 16 seats, in case if 5 seats are booked, the bookings for the same tour should be open for 10 more bookings while the other tour is blocked for that specific time period.
In short, The goal is to restrict other products from allowing bookings when the vehicle is in use by another booked product at that time slot. Also, allow 16 bookings for the same tour while closing the other tour bookings for the same time.
Usually, the WooCommerce Bookings plugin will consider the asset quantity to identify the number of bookings left. The plugin considers the minimum value between Asset Quantity and Max booking number. The Booking Assets is a common feature used for many scenarios. For example, Saloon staff where it should work in this manner.
In order to achieve Dave’s complete requirement, we need to follow the steps given below:
- We need to install the add-on ph-bookings-asset-availability-customization in our WordPress dashboard along with the plugin installed version 1.2.6 or later.
- Set the asset quantity, say “Vehicle” to the number of seats available, for example, 16 seats as shown in the screenshot below:
- Assign the asset automatically to both the products “Private Standard Tour” and “Standard Rainforest Tour” as shown in the screenshot below:
Once done, the WooCommerce Bookings and Appointments plugin and the add-on will work combined to fulfill Dave’s complete business requirement as illustrated in the screenshots below:
A. Customer books for the Standard Rainforest Tour on July 25th for 10 people.
B. Standard Rainforest Tour for July 25th has still 6 seats left.
C. However, Private Rainforest Tour for July 25th gets blocked out as both the tour shares the same asset “vehicle” even though there are still 6 places left for standard rainforest tour, thus fulfilling Dave’s business case.
There you go! That’s how you set up shared assets between different products using WooCommerce Bookings plugin by PluginHive.
If you have any doubts or need help setting up Bookings on your WooCommerce-based website then feel free to Contact PluginHive Customer Support. Our support team should be able to help you out.
Good Luck! 😊