Usecases
In this guide, we are going to get to knowa few scenarios where the booking extension could be used:
Book a conference hall
Book a service
Book a boat ride
Book a hall
Scenario:
Renting the hall daily.
Setting the capacity of the hall to 50 persons.
Booking slots will be available only on weekdays and not on weekends.
Creating a product
Go to the Article Manager and create a new article.
Move to J2Store cart tab and choose YES to treat as a product.
Choose product type as Booking and save.
General tab: After creating the product, navigate to the general tab.
Booking duration: In our sample scenario, we are renting the hall on a daily basis. So, set the Booking duration to Fixed blocks of 1 day(s).
Pricing tab: Set the pricing and navigate to the next tab.
Persons tab: Our instance says that we are going to restrict the capacity only to 50 Persons. So following are the criteria to be set:
Min persons = 1 Max persons = 50
Availability tab: The hall would be rented on a daily basis. The parameters should be set as follows:
Max bookings per block = 1 Minimum block bookable= 1 day(s) into the future Maximum block bookable= 30 day(s) into the future
To restrict the availability of the hall only to weekdays and block the availability on weekends:
Range type = Range of days, Range = Saturday to Sunday, Bookable = No
Here are the screenshots that demonstrate the workflow of the above conditions:
Service Booking
Scenario:
Bookings will be open daily on an hourly basis (say 3 hours).
10 bookings will only be taken per day.
The availability time range is 6:00 am to 11:00 pm.
Creating a product
Go to the Article Manager and create a new article.
Move to J2Store cart tab and choose YES to treat as a product.
Choose product type as Booking and save.
General tab: After creating the product, navigate to the general tab.
Booking duration: Set this parameter to Fixed blocks of 3 hours to make the block available with a custom time range.
Pricing tab: Set the pricing accordingly and navigate to the availability tab.
Availability tab: Max bookings per block = 10 Minimum block bookable = 0 days into the future Maximum block bookable = 1 month into the future Range type = Time range (all weeks) Range = 06:00 to 23:00 Bookable = Yes
The above settings will implement the following changes in the frontend.
Book a boat ride
An instance: An owner of the boat offers a boat ride for daily on an hourly basis. The duration of the journey is 2 hours and the start times are 10:00 AM, 2:00 PM, & 6:00 PM. The booking price for Adults and Children can be vary. The maximum capacity of the boat is 25.
Configuration of bookable product
Go to the Article Manager and create a new article.
Move to J2Store cart tab and choose YES to treat as a product.
Choose product type as Booking and save.
General tab: After creating the product, navigate to the general tab.
Booking duration: In our example, the duration of the boat ride is 2 hours. So set the booking duration to Fixed blocks of 2 hours.
Persons tab In this example, the pricing can vary based on person types. To set different pricing for Adults and Children, enable person types.
Set YES to Enable person types and click on the Add Person Types button to add person types, Adults and Children. And then define the base cost, block cost, minimum and maximum number for each person type.
Take a look at below demo screenshot shot to see how the parameters under the person tab are configured.
Availability
Maximum bookings per block = 25. All dates are = not available by default
Add a time range for the boat ride by referring to the picture below
Frontend
Last updated