WooCommerce Bookings Setup: Calendar, Resources, Sync

A client launches an equipment rental service — a week later, two people have booked the same item for the same time. Sound familiar? We encounter these cases constantly. WooCommerce Bookings is a plugin that turns a regular product into a bookable resource with schedules, availability, and rules. I

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:

Frequently Asked Questions

Latest works

  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1281
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1237
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    977
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    1026
  • image_website-sbh_0.webp
    Website development for SBH Partners
    1103
  • image_website-_0.webp
    Website development for Red Pear
    550

A client launches an equipment rental service — a week later, two people have booked the same item for the same time. Sound familiar? We encounter these cases constantly. WooCommerce Bookings is a plugin that turns a regular product into a bookable resource with schedules, availability, and rules. It solves double bookings and manual slot coordination. But without proper setup, it will add headaches rather than order. Over our work, we've configured WooCommerce Bookings for more than 50 projects — from beauty salons to equipment rentals. The average time saved on managing bookings after implementation is up to 10 hours per week, reducing personnel costs by 30–40%. In one project with 15 resources and 20 slots per day, manual coordination took 5 hours per week, after automation — 20 minutes. That's 15 times faster. Our experience ensures your booking system works without glitches. Get a consultation for your scenario.

Model and Booking Types

Bookings works with three entities:

  • Bookable product — product with configured slots and prices
  • Booking — a specific record: who, when, which product, status
  • Resource — additional resource tied to the product (e.g., specific master or room)

Data is stored in wp_posts (type wc_booking) and wp_postmeta. Availability schedule is in the meta field _wc_booking_availability. The plugin supports up to 20 availability rules per product.

Booking Types

Type Application
Fixed blocks Fixed-size slots (30 min, 1 hour)
Customer-defined Customer chooses arbitrary duration
Fixed duration days Hotel nights, rental days

For daily rental: duration = 1 day, min duration = 1, max duration = 14. Cost multiplies by number of nights.

Configuring Availability Rules: How to Avoid Mistakes?

Availability is configured through a set of rules with priorities:

Rule 1: All days → Bookable (low priority) Rule 2: Saturday, Sunday → Not bookable Rule 3: 31 December → Not bookable (holiday) Rule 4: Monday 09:00–18:00 → Bookable 

Rules are processed in descending priority order. Filter via hook:

add_filter( 'wc_bookings_product_is_available', function( $is_available, $start, $end, $qty, $product ) { // custom logic: check external calendar, CRM, etc. return $is_available; }, 10, 5 ); 

We often use this hook for integration with external systems — for example, to not sell slots if there is already a record in CRM. According to official documentation, the hook allows extending the standard availability check logic.

Why Resources Are Critical for Services?

Resources are independently available units of one product. Example: "Haircut" service with resources "Master Anna" and "Master Sergey". Each resource has its own schedule and can add a markup to the cost. Without resources, a client could book the same haircut from two masters simultaneously — a disaster. We always set has_resources = true for services where distribution matters. The parameter has_persons: true enables selecting number of people, min_persons / max_persons limit the range. Price can be recalculated per person. In one project we built a booking system for saunas: resources — different steam rooms, persons — number of guests. Everything worked without conflicts.

Integration and Notifications

Google Calendar Sync

Bookings supports two-way sync with Google Calendar via the official add-on WooCommerce Bookings — Google Calendar. The scheme:

  1. New booking → creates event in Google Calendar via Calendar API
  2. Event in Google Calendar → on next sync blocks slot in Bookings

Requires Google Cloud Console: project, OAuth 2.0 credentials, Calendar API enabled. Sync runs via WP-Cron every 15 minutes or manually from settings:

// Force sync do_action( 'wc-booking-gcal-sync' ); 

Notifications

The plugin adds several email types in WooCommerce → Emails:

  • New Booking — to manager on creation
  • Booking Confirmed — to customer on confirmation
  • Booking Reminder — to customer N hours before start (configurable, default 24 hours)
  • Booking Cancelled — on cancellation

Reminders are implemented via Action Scheduler — tasks are scheduled at booking confirmation.

Custom Fields

// Add master selection field before booking add_filter( 'woocommerce_booking_form_fields', function( $fields, $product ) { $fields['preferred_master'] = [ 'type' => 'select', 'label' => 'Preferred Master', 'options' => [ '' => 'Any', 'anna' => 'Anna', 'sergey' => 'Sergey' ], ]; return $fields; }, 10, 2 ); 

Common Problems and Solutions

  • Slots not appearing on the frontend — most often timezone mismatch: WordPress is set to UTC, while availability rules are set in local time. Check: Settings → General → Timezone should match client expectations.
  • Double booking of one slot — has_resources or capacity not configured. Without resources and with booking_duration_type = fixed, explicitly set qty = 1 (max bookings per slot).

Setup Process and Timeline

Setup of one service product with simple schedule takes 1 business day. Multiple resources, Google Calendar, custom fields, date-based pricing logic — 3–4 days.

What's Included?

  • Configuration of products and availability rules for your business
  • Integration with Google Calendar and external systems
  • Custom fields and notifications
  • Full documentation and staff training
  • Warranty on all work and post-launch support

Contact us for an accurate estimate of your project. Get a consultation for your scenario.