Bookings Use Case: Deposit Required Booking

This bookings use case will walk through how to use WooCommerce and WooCommerce Bookings to set up a bookable room, and collect a deposit for the room in advance.

The optional deposit taking feature is powered by the WooCommerce Deposits plugin.

Scenario

↑ Back to top

You have a room you would like make available for booking and you would like to collect a 25% deposit during checkout to hold the room.

Requirements include:

  • The room can only be booked for an entire day at a time, not for specific time slots.
  • The room is available 7 days a week, 365 days a year.
  • The cost of the room varies by the type and number of people who will be using it – each adult is $85, each young adult is $25, and children are free.
  • The room can hold 5 people maximum but can be booked for any number of people between 1 and 5.
  • A 25% deposit on the cost of the room booking is required on checkout, with the remainder due when the room is actually used.

Products Used

↑ Back to top

Setup and Configuration

↑ Back to top

To get this use case up we’ll take 6 steps:

  1. Create the bookable product.
  2. Configure the bookable product’s General Settings.
  3. Setting the bookable product’s Availability.
  4. Set up Persons on the bookable product.
  5. Set up Deposits on the bookable product.
  6. Publish the product.

Creating the Bookable Product

↑ Back to top
  1. In the sidebar of your WordPress Admin, click on Products.
  2. Click on the Add New button on the top.
  3. Add a title to your new product, such as “Room Booking.”
  4. Under Product data select Bookable Product.

Configure General Settings

↑ Back to top
  1. On your newly created Bookable Product, or on an existing Bookable Product you are editing, scroll down to the Product Data > General tab.
  2. Check the Virtual box to indicate that this product is virtual, as there is no physical item to be delivered. This will cause a booking for this room to be automatically marked as Complete once they are paid.
  3. Check the Has Persons box to allow the customer booking the room to indicate the number of persons that will be using the room. This allows you to alter the price of the room based on number of people, if required.
  4. Set the Booking Duration to be Fixed Blocks of 1 Day, as the room booking is for a specific date and books the room for the entire day.
Bookings Use Case - Room Booking - General Settings
General booking settings and booking duration day setup.

Setting the Availability

↑ Back to top

In the Product Data box, click on the Availability tab. Here, we will set the days and dates that the room is available.

  1. Set Max Bookings per Block to 1, as we only have 1 room to offer; once it is booked, no other bookings are possible.
  2. Set Minimum block bookable and Maximum Block Bookable for allowed days in advance the room can be booked. In our example here, we are using the default 0 day minimum, meaning same-day bookings are allowed, and a 12 month maximum, meaning bookings can be made for dates up to a year in advance.
  3. Since this room is available all year, leave the All dates are… setting in the default state of “available by default”. This means with no additional availability rules, the room will be available every day of the year.
Setting the availability to be available every day by default

Setting up Persons

↑ Back to top

In the Product data box, click on the Persons tab. Here, we will set up the types of people who might use the room (Adult, Young Adult, and Child) and set prices for each.

  1. Set the Min Persons and Max Persons to the total number of persons allowed in the room for a single booking. In this case, we have set the minimum number of persons to 1 as at least 1 person must be using the room. The room can hold 5 people, so the maximum number of persons is 5.
  2. Do not check Count persons as bookings – this ensures that we enforce a maximum number of people at 5, but it’s all part of one total booking for the one room.
  3. Check Enable person types – this option will allow the creation of different types of people, i.e. Adult, Young Adult, and Child.
  4. Click the Add Person Type button to add a new person type. Give the new person type the name “Adult” with a base cost of $85. As an option, you can set the Minimum to 1, which would mean that each room booking must include at least one Adult.
  5. Click the Add Person Type button again to add a second person type. Give the new person type the name “Young Adult” with a base cost of $25 and set the minimum in this case to 0, as adding Young Adults to the room is optional.
  6. Click the Add Person Type button again to add a third person type. Give the new person type the name “Child” with a base cost of $0 and set the minimum in this case to 0, as adding Children to the room is optional.

With these person types in place, customers booking the room will be charged depending on the age of the members of their group.

Booking Use Case - Room Booking - Persons Settings
Setting up the different person types with different pricing for each.

Setting up Deposits

↑ Back to top

Taking a deposit is an optional feature and requires the use of WooCommerce Deposits. You can learn more about setting up the Deposits on the WooCommerce Deposits Setup and Configuration Page.

To set up deposits for your room booking product, in the Product Data box on the product’s editing page, click on the Deposits tab. Here, we will set up the required deposit amount and type.

  1. Under Enable Deposits, select “Yes – deposits are required.”
  2. WooCommerce Deposits allows you to take a deposit as a percentage, a fixed amount or a payment plan. For our example, we do not need a payment plan since we will collect the balance when our customer checks in to the room. We are going to choose percentage, but we could easily chose a fixed amount, it just depends on preference. So for this case, set Deposit Type to “Percentage.”
  3. Set Deposit Amount to “25” for a 25% deposit amount.

Now your customers will be required to make a 25% deposit at checkout to place their booking.

The Deposits settings for the bookable product

Publishing the Product

↑ Back to top

As with all WooCommerce Products, you can optionally add a Product Image, Product Categories, and Product Tags for the Museum Tickets product.

Then, publish the product using the blue Publish button in the top right corner.

Questions and Support

↑ Back to top

Something missing from this documentation? Do you still have questions and need assistance?

  • Have a question about a specific extension or theme you’d like to purchase? Click here.
  • Already purchased and need some assistance? Get in touch with a Happiness Engineer via the WooCommerce.com Support page and choose this extension name from the “I need help with” dropdown.
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.