Posted on

Adding Product to UWeX Shop (IV) – Adding a Bookable Product

To create bookings, you need to create a bookable product.

  1. Go to: Products > Add Product.
  2. Enter a title and description for your product.
  3. Select Bookable Product in the Product Data dropdown menu. Also tick the Virtual checkbox if this isn’t a physical product, so shipping costs are not added.

add_bookable_product

Fields will change to reflect bookable products.

General settings

The first settings are booking duration, calendar display and confirmation preferences.

Booking duration

This determines how long a booking lasts. The duration can be admin defined (fixed block) or customer defined (they need to input on the front-end). Duration units can be Hours, Minutes, Days or Months.

Fixed blocks have a set duration that you define. When a customer selects this booking, the booking lasts this amount of time.

Customer-defined blocks have a set duration, but the customer can choose how many blocks they want. For example, if I had a customer-defined block of 1 hour, and the user chooses 3 from the booking form, their booking would be for 3 hours.

If you set your booking to be customer defined, you can include a minimum and maximum allowed value in the General tab. For example, it’s possible to have a 30-minute customer defined block but a minimum bookable block of 2. This means the customer needs to book a minimum of 1 hour and increase the duration by 30 minutes.

A booking can be set in blocks using minutes, hours, days, weeks and months. If using hours and minutes, you can specify what time the bookings start.

Confirmation

If the booking needs to be reviewed by an admin before confirmation, tick the Requires confirmation? option. Rather than take payment at checkout, the user inputs details and submits them for approval.

Bookings requiring approval will remove other items from the cart. They must be checked out alone, so payment gateways can be safely disabled.

Cancellation

You may choose whether you want the user to have the option to cancel their booking. After selecting the option Can be cancelled?, two fields appear that allow you to choose how many Minutes/Hours/Days/Months prior to the start date that customers can cancel a booking.

Availability settings

Availability (what slots can be booked) can be controlled via the Availability tab. The first options allow you define dates that can be booked:

add_bookable_product_availability

Max bookings per block

This setting allows multiple bookings at the same time. With a fixed booking of 1 day and maximum bookings per block set to 2, then each day you could have 2 bookings booked.

Minimum/Maximum block bookable into the future

If today is March 1 and you set minimum block bookable to 1 month into the future, then the first date a customer could book would be April 1st. The same applies to the maximum date bookable.

Require a buffer period between bookings

Based on the unit of time set for the booking (minutes, hours, days, months), you can specify a period of time before and after a confirmed booking that is unavailable for anyone else to book. For example, if you sell appointments in 60-minute blocks and wish to have a break of 15 minutes between them, you can specify a 15-minute buffer period.

All dates are

Depending on how you want to set up availability, this option allows you to set available by default or not available by default.

Check rules against

You have two options:

  • All blocks being booked – This checks all available blocks within a duration. For example if a customer chooses to book for 5 days and 1 block is equal to 1 day it will check availability for all 5 days.
  • Starting block only – This checks the first block the user selects. For example if a customer chooses to book for 5 days and 1 block is equal to 1 day it will only check availability for the first day.

Custom Availability Range

You can set up specific availability rules, such as availability for:

  • Months
  • Day of the week
  • Time
  • Specific date

To add a rule, click the Add Range button:

add_bookable_product_range

A new row is created, where you can choose a range type, from/to, whether it’s bookable or not (yes or no) and a priority number.

add_bookable_product_range_add_more
The from/to values differ based on the range type:

  • Date range – from and to will show a date picker field
  • Range of days – from and to will show a dropdown of days of the week (Monday to Sunday)
  • Range of months – from and to will show a dropdown of months (January to December)
  • Range of weeks – from and to will show a dropdown of weeks (1 to 52)
  • Time ranges – from and to will show time inputs
  • Date Range with time – a time range can be set based on a custom date range

add_bookable_product_range_date_range_w_timeThese rules above will make bookings available from 9am-6pm daily, except for the month of January when bookings cannot be made between 3-6pm.

For the priority of the availability rule, the lower the priority number, the earlier this rule gets applied. By default, global rules take priority over product rules, which take priority over resource rules. By using priority numbers you can execute rules in a different order.

If multiple rows match the product being booked with the same priority, the furthest down the list will take priority.

Rows can be removed by clicking the X on the far right, or dragged and dropped to sort using the handle on the far left.

Also be aware that availability options can be set up globally if all bookable products share some dates.

Costs for Bookable Products

Costs for specific slots are controlled from the Booking Costs tab.

add_bookable_product_booking_costThe two main costs you can add are base cost and block cost.

The base cost is applied regardless of a customer’s choices on the booking form.

The block cost is the cost per block that was assigned in the General tab. If a customer books multiple blocks, this cost is multiplied by the number of blocks booked.

Display cost does not affect the actual cost of the product. In the example above, the product page displays 500 on the front-end. The cost is displayed to the user on the front-end. Leave blank to have it calculated for you. If a booking has varying costs, this is prefixed with the word “from:”

Beneath the display cost, you have an area where you can define extra costs. This works similar to availability. Click Add Range to begin:

add_bookable_product_extra_cost_range

A row appears in which you can input the range type, from/to and cost:

add_bookable_product_extra_cost_setting

The from/to values differ based on the range type:

  • Date range – from and to will show a date picker field
  • Range of months – from and to will show a dropdown of months (January to December)
  • Range of weeks – from and to will show a dropdown of weeks (1 to 52)
  • Range of days – from and to will show a dropdown of days of the week (Monday to Sunday)
  • Time range – from and to will show time inputs
  • Date range with time – a time range can be set based on a custom date range
  • Persons count – from and to will show number inputs.
  • Block count – from and to will show number inputs.

Base cost and Block cost can be added, subtracted, multiplied or divided by the amount you enter.

Rows can be removed by clicking the X on the far right, or dragged and dropped to sort using the handle on the far left.

add_bookable_product_extra_cost_setting_sample

The configuration above will charge a block cost of 100, but between Dec. 23 and Jan. 1, there is an extra fee of 20 if the bookings are between 5-9pm.

If multiple rows match, all additional costs are used.

Persons

If the booking can be made for multiple persons at once, tick the Has persons checkbox. Once selected, a new tab appears:

add_bookable_product_persons

You can set a min and maximum for persons. Similar to duration, the customer can input a value on the front-end booking form if enabled.

Persons also impacts the following cost options:

  • If multiple costs by person count is enabled, all costs are multiplied by the number of persons the customer defines.
  • If count persons as bookings is enabled, the person count is used as the quantity against the block. Remember the max bookings per block setting above? That determines the upper limit for allowed persons per block. Once the limit is reached, more persons cannot book.

Resources

For added flexibility, UweX.co supports Bookable Resources that can be booked independently within a bookable product. Tick the Has resources checkbox to enable a new tab:

add_bookable_product_resources

There are two types of bookable resource:

  1. Customer defined – A booking form shows a dropdown list of resources that the customer can select.
  2. Automatically defined – A resource is automatically assigned to a customer booking if available.

An example use-case for a customer-defined resource would be a power tool, such as 1500HP and 2500HP.

An example use-case for an automatically defined resource would be a home inspecting service where the resources are inspector and someone is assigned a booking.

After enabling resources, choose that option and give your resource a ‘label.’ This is shown on the front-end booking form.

Resources can be used across multiple products.

If you have any questions on viewing this file, please feel free to contact us.