1. Documentación /
  2. Introduction to WooCommerce Bookings /
  3. WooCommerce Bookings: Use Cases /
  4. Bookings Use Case: Appointments With Recurring Billing

Bookings Use Case: Appointments With Recurring Billing

This scenario will walk you through using WooCommerce and WooCommerce Bookings with WooCommerce Subscriptions, Min/Max Quantities, and Smart Coupons to create a robust bookings offering that enables you to accept recurring payments.

Scenario

↑ Volver al principio

You run an appointment-based business and you’re interested in providing a subscription option for your customers. For example, if you’re a coach who sees your client 4 times per month and would like your client to pay on a monthly basis.

Screenshot of a Bookable Product priced at $100.00/month and quantity of 4 being added to the cart.

This following set up would enable you to accept recurring payments for your appointments.

Extensions Used

↑ Volver al principio

In this use case, customers will subscribe for a monthly set of coupons that can be used to book their appointments.

Setup and Configuration

↑ Volver al principio

Creating a Bookable Product

↑ Volver al principio

First, we must create a booking product that will be used for these booking appointments. Follow these steps to create a bookable product:

  1. From your WordPress Admin Dashboard, navigate to Bookings > Add Product.
  2. Scroll down the page and under the Get started from scratch heading, click the Start from scratch button.
  3. This brings us to the booking product creation. Start by giving the product a name: “1 Hour Session with Coach”.
  4. Scroll down to the Product Data section and on the General tab, set the Booking duration field to Fixed Blocks of 1 Hour(s).
  5. Select the Availability tab and select these options.
    • Ensure that the All dates are… field is set to not-available by default.
    • Click the Add Range button and add Monday, Wednesday, and Friday.
    • Set the time to be from 9:00 AM to 5:00 PM for each range.
    • Set the Bookable field to Yes for each range.
Screenshot of Bookable product data "Availability" settings.
  1. Select the Costs tab and set the Base cost field to 100.
  2. Save the product by clicking on the Publish button.

Create Your Coupon With Smart Coupons

↑ Volver al principio

The next step is to create a coupon. For the purposes of this use case, we’ll be using the Smart Coupons extension. Please follow these instructions to create the coupon:

  1. From your WordPress Admin Dashboard, navigate to the Marketing > Coupons page.
  2. Then click on the Add Coupon button to create a new coupon. Configure your coupon as below:
    • General Settings
      1. Give the coupon a name of your choice. We’re calling ours “RECBOOKTEST”.
      2. Set the coupon to be a percentage discount and set the amount to 100%.
      3. Toggle the Auto generate new coupons with each item field.
      4. Add a three letter prefix to the Coupon code format field. We’re using “Rec” for ours.
Screenshot of the Coupon data "General" settings.
  • Usage restriction
    1. In the Products section of the Usage Restrictions tab, include only the Bookable Product we previously created, “1 Hour Session with Coach”, and no other products.
Screenshot of the Coupon data "Usage restriction" settings.
  • Usage limits
    • Set the usage limit for the coupon to 1 so that each coupon can only be used once:
Screenshot of the Coupon data "Usage limits" settings.

Create The Coupon Subscription Product

↑ Volver al principio

Now, we’re going to want to create a subscription product that sends customers 4 copies of a coupon each month. Please follow these instructions to do so:

  1. From your Admin Dashboard, navigate to Products > New to create a new product.
  2. Give the product a name of your choosing. In this example, we’re naming it: “Monthly Coupon Set”.
  3. Scroll down to the “Product data” tab and use the select box to change the product type to Simple subscription.
  4. From within the General tab, set the Subscription price ($) field to $100 every month.
  5. In the Coupons field, add the coupon we created in the previous step.
  6. Toggle the Send coupons on renewals? field so that it is checked.
  7. In the Quantity Rules section, set the Group of field to 4.

When considering this for your own use case, please take note of the following:

  • This should be a simple subscription product. If there are no products to ship (in this example there aren’t) then it can also be set as Virtual or Downloadable.
  • The subscription price should be the price for each individual appointment. In this example, the customer would be purchasing a group of 4 per month and will pay $400/month.
  • The “Group of” field should be set to the number of appointments you would like someone to purchase per month. In this example, the customer is purchasing a bundle of 4 per month.
  • If you did want to set up a variable subscription, be aware that the “group of” setting applies to all variations of a variable product so this cannot be changed per variation.

Customer Experience

↑ Volver al principio

Purchasing Coupons

↑ Volver al principio

The customer will start by purchasing their subscription for coupons.

Do note that the product page will show the price per individual appointment, but they will only be able to add to the cart in groups of 4 – so 4, 8, 12, etc. as exemplified by the screenshot below.

Screenshot of Monthly Coupon Set product that auto-populates with a starting quantity of 4.

Cart

↑ Volver al principio

In the customer’s cart, this will show a quantity of 4 and a total Due today of $400, which is what they will checkout with. Since this is a subscription product, they will be charged on a monthly basis.

Screenshot of Monthly Coupon Set product in cart highlighting the "Due today", "Monthly recurring total", and item quantity fields.

Please note that in order for customers to purchase Woo Subscriptions-based subscription products on your store, you will need to have set up a supported payment gateway.

Completing Purchase And Receiving Coupons

↑ Volver al principio

Once the customer has checked out and completed their subscription purchase, coupons will be available under My account > Orders, and select View on the order they just placed:

Screenshot of the order page (customer view) displaying the coupons received.

Making Bookings With Coupons

↑ Volver al principio

By this stage, the customer is set up with their 100% off coupons that they can use to make their bookings.

They can proceed to the bookable product you created at the beginning of this setup, select an appointment, add it to their cart and apply one of the coupons they just created:

Screenshot of Cart page with bookable product in cart and a $100 coupon discount applied.

This will allow them to checkout for their booked appointment and pay $0 (as they have already paid for this through their subscription for the Monthly Coupon Set).

Cancellation And Refunds

↑ Volver al principio

If the booking or appointment needs to be cancelled, the booking order can be refunded from WooCommerce > Orders, and the coupon code will be returned to the customer.

Screenshot of the order screen highlighting the refund button and applied coupon.

Subscription Renewal

↑ Volver al principio

When the customer’s subscription is renewed, this will generate a new order with new coupons. They will be able to access these from WooCommerce > Orders and click on View on the subscription renewal order.

Screenshot of the new coupons received in a renewal order.

Questions and Support

↑ Volver al principio

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

  • Have a question before you buy this extension? Please fill out this pre-sales form – please include the name of this extension in your query.
  • 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