With Booking & Appointment Plugin for WooCommerce, Dokan Vendors can easily manage resources for different bookings.
To make this possible you will require a few things:
- v5.10.0 of Booking & Appointment Plugin for WooCommerce
- v1.1.0 of Marketplace Integration Addon
- Dokan Plugin
Let’s get started!
Go to your Dokan Dashboard and find the Booking section. Click on the “Manage Resource” option here:
Find the “Add Resource” option and click on it:
It will appear like this:
You will find the following values included here:
Resource Title: Here you can add the name of the Resource. For instance, you can add a person’s name here. Let’s go with Apeksha.
Available Quantity: This will let you select the number of resources that will be available at any given time. Let us go with 1.
Menu Order: This decides where the Resource will appear in the Menu. For instance, if 2 is entered here, the Resource Apeksha will appear 2nd in the Menu order.
Meeting Host: If you have connected the plugin to your Zoom account, you can select the meeting host of the online booking over here. You will not see this option if you have not linked it to Zoom.
Range Type: Here you can select a range for your resource person. For instance, your resource “Apeksha” is available to book only from 1st December 2021 to 15th December 2021. In this case, you will select the “Date Range” type. Learn about different range types such as the Range of months, weeks, days and even Time ranges by clicking here.
From: This indicates the start period of the range. For instance, here you can add 1st December 2021.
To: This is the end period of the range. Here you can add 15th December 2021.
Bookable: To make this range bookable, you can turn on the toggle. If the toggle is switched off, your booking for this range is unavailable. For instance, we will not switch on the toggle because we wish to block the dates from 1st December to 15th December 2021.
Priority: This will indicate which range of the Resource will get a priority. The range with lower priority numbers will override those with higher priority. For instance, if one range’s priority is set to 9 while the other’s is 10, the one with 9 will be given the first preference.
Add Range: This option will add another range for this resource.
Once you have filled in the details, it will look like this:
Once you have clicked “Save Changes” your resource will be added.
Similarly, you can create different resources and all of them will appear like this under the “Manage Resource” section:
Here you will also find the option to search for a resource.
Type the resource name in the field and click the “Search Resource” button.
If you wish to edit any resource, click the Edit Resource icons under “Actions”.
Now, go to the Edit Product Page of the booking product where you wish to add your Resource.
For instance, you wish to add a resource to your product “Guitar lessons for beginners”.
Scroll down to the Booking Metabox.
Tick the checkbox for “Booking Resource” as shown here:
A new tab called “Resource” will be visible after doing this.
You can now give a label to the resources. For eg, you can label it ‘Teacher’.
Configure the resource position, selection type, sorting, etc here.
Next, click the dropdown that says ‘New Resource’ and choose a resource to add.
Click on the “Add/link Resource” button for this. Once filled, your details will appear like this:
Next, you can add the Base Cost of the resource.
This means you’re charging a certain amount for the selected resource along with the booking amount.
Once done, click the “Save Changes” button and “Save Product”.
Let’s see how the resource added appears on the front end.
If a customer selects this product, they will get the option to choose the resource they want.
Let’s say that they went with the resource Teacher: Apeksha.
Once this resource is selected, only the days when this resource teacher is available will be visible to the customers.
For instance, when they try to choose the booking date, the dates from 1st December to 15th December will not be available since those days are “un-bookable” for this resource.
If the customer goes with any other booking dates, then they will get to proceed by selecting the booking time.
In this manner, Dokan Vendors can easily add resources to their booking products and even manage them!