Skip to content
weLabsweLabsStorefront Playbook
Live demoQuickstart

Integrations

WooCommerce Bookings

Sell days, hours and months from WooCommerce Bookings on the storefront, with the plugin's own availability, prices, holds and Booking Requests, in the storefront's design.

WooCommerce Bookings sells time instead of stock: a room by the day, a session by the hour, a membership by the month. It draws its booking form only on pages WordPress builds. With the Companion plugin, you keep setting up bookable products in wp-admin as usual: the storefront shows a booking form in its own design, and every free day, time and price on it is the plugin’s answer.

Where it shows
The product page, the cart, the checkout, the order pages, the order payment page, and the account's Bookings page
Configure in
Each product's Booking settings in WordPress; the store-wide Bookings → Settings → Timezones
Requires
WooCommerce Bookings; the Companion plugin; the Storefront URL set. Product Add-Ons for extras on a booking.
Try it in Demo Mode
Demo Mode has bookable products in its Home category: open Pottery studio, by the day
  • A booking form in place of a quantity. A calendar marks each day as free, partly booked or fully booked, and closed days and days outside the booking window can’t be picked. A product booked by the month shows its months instead.
  • Times of a day. For a product booked by the hour or the minute, the free times of the day picked, each with its places left. Where the Shopper chooses the length, picking a start lists the ends that can follow it, stopping where the next booking begins.
  • Persons, Person Types and Resources. How many persons, or how many of each kind (adults and children, priced apart), and the Resource where the Shopper chooses one: a room, a kiln, a guide. A Resource the store assigns is not asked for.
  • The price as the plugin works it out. The Booking cost updates as the selection changes, cost rules and Add-Ons included, and the cart charges exactly that. A selection that can’t be booked says why (“Choose from 1 day to 7 days.”, “Only 1 place is left for that.”) and offers no Book now.
  • Book now holds the place. The booking goes in the cart as one line, its quantity fixed at one, with its dates, times, length, persons and Resource. Nobody else can book that place while it is held.
  • Booking Requests. A product that needs your confirmation reads Check Availability. The checkout takes the request without payment, and the Shopper pays from the account or your email’s link once you confirm it.
  • Bookings on every order page. The confirmation, the order history and the order lookup show each booking’s number, status and dates.
  • A Bookings page in the account. Today’s, upcoming and past bookings, a search by number or product, and Cancel where the product allows it.

The Companion plugin asks WooCommerce Bookings for every answer the form needs: the days, times, months and ends that can be booked, and the price of a selection. It hands Book now to the plugin’s own cart step, so the hold, the price and the Booking are the plugin’s, exactly as on a WordPress product page. It adds each line’s booking to the cart and the orders, and lists and cancels a signed-in Shopper’s own bookings.

The storefront draws each answer and works nothing out itself: no day, time or price is decided in the browser. The form reads availability and prices after the page appears, so a cached product page never shows a booked day as free.

It switches on by itself. Bookable products, booking lines and the account’s Bookings page appear while WooCommerce Bookings is active, and are gone while it isn’t. There is nothing to switch on in the storefront’s deployment.

Set WooCommerce Bookings up as its own documentation describes, on its WooCommerce.com page. For the storefront, these are what matter:

  1. WooCommerce Bookings is active. Bookable products show their booking form on the storefront on the next page visit.
  2. Each bookable product is a setup the storefront draws (see What the storefront follows). One it doesn’t draw yet shows “cannot be booked online yet” and can’t be bought.
  3. The Storefront URL is set under StoreFrontSettingsGeneral. The plugin’s emails then open the storefront: Pay for booking opens its order payment page, and View my bookings its Bookings page.
  4. Your time zone settings are chosen under Bookings → Settings → Timezones (see Whose clock times are on).
  5. For extras on a booking (lunch, equipment, a file to upload), WooCommerce Product Add-Ons is active and the Add-Ons are set on the product. The plugins price them together, as on WordPress.
  6. Test one booking end to end: book, pay, and find it in Bookings in wp-admin.

The plugin’s settings decide what can be booked, when and for how much. Its look does not: the storefront’s design applies.

WooCommerce Bookings setting On the storefront
Booking duration: days, hours or minutes, fixed or chosen by the customer, with Minimum duration and Maximum duration Followed. A fixed length is booked as it is; a chosen one is a length field (days) or a choice of end times (hours and minutes), within the least and the most.
Booking duration: months Followed: a list of months, and a number of months where the customer chooses.
Enable Calendar Range Picker? Followed for days: the Shopper picks the first and the last day. Not yet for months (see Good to know).
Calendar display mode Followed: the calendar is always shown, or opens from the date field.
Requires confirmation? Followed: the button reads Check Availability, and the booking is checked out as a Booking Request.
Can be cancelled? and its time limit Followed: Cancel on the account’s Bookings page until the limit.
Max bookings per block, availability rules, buffers, the booking window Followed through the plugin’s own answers: a day or time is free, partly booked, full or closed exactly as on WordPress.
Costs and cost rules Followed: every price is the plugin’s own calculation.
Has persons: Min persons, Max persons, Multiply all costs by person count, Count persons as bookings, Enable person types Followed: a persons field, or one field per Person Type with its own least and most.
Has resources: Label, Resources are… customer selected or automatically assigned, each Resource’s costs Followed: a choice under your label, with what each Resource adds, or no choice where the store assigns one. The line names the Resource either way.
Bookings → Settings → Timezones Followed (see Whose clock times are on).

Not used: the plugin’s booking form styles and templates, and its experimental bookable events and services, which it ships switched off. The plugin’s emails and its wp-admin calendar work as usual, as storefront bookings are the plugin’s own.

A product with Requires confirmation? ticked is booked as a request:

  1. The Shopper picks a date and presses Check Availability. The request takes the cart alone: anything else in it is removed, with a notice saying what and why, as the plugin does on WordPress.
  2. At checkout the only payment method is the plugin’s Check booking availability, and the button reads Request Confirmation. Nothing is charged. The confirmation page says the booking awaits confirmation, and the order shows Pending confirmation with nothing to pay.
  3. You confirm or decline it in wp-admin under Bookings, as usual.
  4. Confirmed: the plugin’s email carries Pay for booking. It opens the storefront’s order payment page, where a signed-in Shopper pays straight away and a guest types the order’s billing email first. The account’s order offers Pay now too. Once paid, the booking shows Paid.
  5. Declined: the order is cancelled, and its pay link says the booking was cancelled.

Until you confirm a request, its order can’t be paid from anywhere, the storefront included.

Book now places a hold: the plugin creates the booking in the cart, and the place is closed to everyone else. A hold lasts an hour by default, as on WordPress. When it lapses, the line leaves the cart and the Shopper is told once on their next visit. A booking whose place was taken in the meantime is refused at checkout, which names it, places no order and charges nothing.

BookingsSettingsTimezones
Setting On the storefront
Timezone type: Display the store’s local time Booking times are in the store’s time zone, wherever the Shopper is. This is the plugin’s default.
Timezone type: Display visitor’s local time A product booked by the hour or the minute shows its times on the Shopper’s own clock, and the booking records the Shopper’s zone, as on WordPress. Products booked by the day or the month are not moved.
Display timezone The form, the cart line and the order say which time zone the times are in (“Times are in Europe/Berlin”).
Calendar start day The calendar’s week starts on your WordPress start day, or on the day usual in the Shopper’s language.

Signed-in Shoppers find Bookings in their account menu, at /account/bookings. It lists their bookings under Today, Upcoming and Past, each with its number, status, start and end, and its order. A search finds a booking by its number or its product.

Cancel shows where the product’s Can be cancelled? setting and its time limit allow it, and asks first. Cancelling runs the plugin’s own steps: the booking is cancelled, its place is free again, and an order that held only that booking is cancelled with it.

  • One booking a line. A second booking of the same product is a line of its own, and its quantity can’t change.
  • Bookable products are booked on their page. Product cards say “From” and the starting price, and Quick View, the wishlist and compare lead to the product page instead of adding to the cart. Their pages show no express pay button.
  • Order again leaves bookings out. A booking is for its own dates: the dialog says which bookings were left out and links their pages to choose new dates.
  • Nothing is refunded automatically. A cancelled booking refunds nothing by itself, as on WordPress: you refund from the order in wp-admin.
  • Nothing is rescheduled. The Shopper cancels and books again, where the product allows it.
  • A guest’s bookings show on their order confirmation, but a guest has no Bookings page. The order lookup shows a booking only to its signed-in owner; anyone else sees the order’s progress without it.
  • Not drawn yet: a product booked by the month with Enable Calendar Range Picker? ticked. It shows “cannot be booked online yet”. So does every bookable product while the Companion plugin is older than the storefront.
Symptom Likely cause Fix
A bookable product says “cannot be booked online yet” Its setup isn’t drawn yet, or the Companion plugin is older than the storefront. Check its Booking duration and range picker; update the Companion plugin.
Book now stays disabled No price yet: the selection isn’t complete, or a required Add-On isn’t chosen. Pick a day (and a time, an end, persons or Resource) and fill in required Add-Ons.
Every day shows as unavailable The product’s availability rules or booking window close them. Check the product’s Availability settings in wp-admin.
The account has no Bookings page WooCommerce Bookings was switched on after the page was cached. Run Purge and rebuild everything under StoreFront › Settings › Caching.
A booking left the cart Its hold lapsed. Book it again; the Shopper is told when this happens.
Pay for booking opens WordPress The Storefront URL isn’t set. Set it under StoreFront → Settings → General.
A request can’t be paid It hasn’t been confirmed yet. Confirm it under Bookings in wp-admin.
Storefront Playbook · Built by weLabsFeaturesFAQTalk to us