Offer a one-hour spa treatment with an optional 15% gratuity using WooCommerce Bookings and Product Add-Ons. This guide sets up the appointment, adds the gratuity checkbox, and checks the customer’s total in the cart.
Scenario
↑ Back to topWillow Restore Massage costs $120. Customers can book one-hour appointments daily between 10:00 a.m. and 6:00 p.m., from one day to three months in advance. Only one customer can book each time slot. Selecting the optional gratuity adds $18, for a $138 subtotal before any applicable taxes or discounts.
Before you start
↑ Back to topInstall and activate WooCommerce, WooCommerce Bookings, and Product Add-Ons. You’ll need permission to create and publish products. This example doesn’t use persons or resources; it represents one treatment appointment at a time.
Set up the treatment
↑ Back to topCreate the bookable product
↑ Back to top- Go to Products > Add new product and enter Willow Restore Massage as the product name.
- In Product data, select Bookable product and enable Virtual, since the treatment doesn’t require shipping. Leave Has persons and Has resources disabled.
- On the General tab, set Booking duration to Fixed blocks of, enter 1, and select Hour(s).
- Set Calendar display mode to Calendar always visible. Leave Requires confirmation? disabled so customers can add an available appointment directly to their cart.
Set appointment availability
↑ Back to topOn the Availability tab, enter these settings:
| Setting | Value |
| Max bookings per block | 1 |
| Minimum block bookable | 1 Day(s) into the future |
| Maximum block bookable | 3 Month(s) into the future |
| Require a buffer period of | 0 |
| All dates are… | not-available by default |
| Check rules against… | All blocks being booked |
| First block starts at… | 10:00 |
Select Add Range. Choose Time Range (all week), set From to 10:00 and To to 18:00, select Yes for Bookable, and leave Priority at 10. This rule opens the daily appointment hours. With one-hour blocks, the last appointment starts at 5:00 p.m. and ends at 6:00 p.m.
Set the treatment cost
↑ Back to topOn the Costs tab, enter 0 for Base cost and 120 for Block cost. Leave Display cost blank. Each booking contains one fixed one-hour block, so its treatment cost is $120.
Add the optional gratuity
↑ Back to top- On the Add-ons tab, select Add field… and choose Checkboxes.
- Enter Gratuity for Title and select Label for Title format. Leave Require selection unchecked.
- Enter Add a 15% gratuity as the option title. Select Percentage Based for Type and enter 15 for Price. Leave the option’s Default checkbox unchecked so customers choose whether to add it.
- Leave Bookings: Multiply cost by person count and Bookings: Multiply cost by block count unchecked for this single-appointment example.
- Select Publish, or Update if the product is already published.

Check the customer experience
↑ Back to top- Open the published product page and select an available date at least one day ahead. Confirm that appointment times run from 10:00 a.m. through 5:00 p.m.
- Select a time and leave the gratuity unchecked. Confirm that the booking cost is $120.
- Select Add a 15% gratuity. Confirm that the gratuity is $18 and the subtotal is $138.
- Select Book now and open the cart. Confirm that the treatment, gratuity choice, booking date, and booking time are present, with a $138 item total before any applicable taxes or discounts.
- Remove the test appointment from the cart, then repeat without the gratuity. Confirm that the item total is $120. Remove the test appointment when you’re finished.

If no times appear, check the booking window, product availability rule, existing bookings, and any store availability rules. If the gratuity is missing or the amount is wrong, confirm that Product Add-Ons is active, the field is saved on this product, and the option uses Percentage Based pricing with a value of 15.
Questions and support
↑ Back to topSomething missing from this documentation? Still have questions and need assistance?
- If you have a question about a specific extension or theme you’d like to purchase, contact us to get answers.
- If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.