WCPay 1.0 Launch

Featured Knowledge Base Article: Booking activities on an active subscription

Written by Marina Pape on September 15, 2014 Blog.

Setting up an ecommerce store has never been easier. With WordPress and WooCommerce, you’re basically 100% of the way there. But, truth be told, much of the awesomeness of an online offering (as well as subsequent sales and success) has to do with what is added. Step into our office.

Today we are sharing a little about how to book activities on an active subscription using a particular bouquet of WooCommerce products.

Let’s say you have a martial arts dojo facility training samurai’s. The dojo requires membership and there are several activities at the dojo including a meditation activity. The activity is only available to those who have an active membership and must be booked in advance.

Plugins/Extensions Required:

WooCommerce
Groups
Groups for WooCommerce
WooCommerce Subscriptions
WooCommerce Bookings

Create a Group

We’ll need to first create a group used for those that subscribe to your product. Those subscribed to your product will be added to the group and given access to the additional products that are otherwise hidden from the public.

  1. In the sidebar of your WordPress Admin click on Groups > Capabilities.
  2. Click on the New Capability button on the top.
  3. Under Capability type dojo_membership then press Add.
  4. Next in the sidebar of your WordPress Admin click on Groups > Options.
  5. Under Capabilities enter the name of the Capability you added previously. In this case it was dojo_membership. Scroll below and press save once you’ve added this. No other change are needed on this page.
  6. Next in the sidebar of your WordPress Admin click on Groups > Groups.
  7. Click on the Add Group button on top.
  8. Fill out the Name field. I’ve called mine Dojo Membership.
  9. Click on Capabilities and add the newly created capability you added previously. Then click Add.

You’re set! You’ve created a group that we’re going to assign users to.

Create a Subscription

We need to setup a Subscription Product to sell to our customers and assign it to new group we created earlier.

  1. In the sidebar of your WordPress Admin click on Products > Add Product.
  2. Give your product a name like Dojo Membership.
  3. We’ll now want to setup the Product Data. The type will be Simple Subscription and I’ve set the price to be $75 per month.
  4. Select the Groups tab then select on the Add to Groups field box. You should have the option now to choose the selected group you created earlier. Add the group and press Publish for your product.

Whenever someone purchases this product, it will automatically add them to the Dojo Membership group. If a user cancels, it will automatically remove them from that group. Only active subscribers will be in the group.

Create a Bookable Product

Now we want users to be able to book activities based on the membership they purchased previously. We want to ensure however that only active members of the subscription have access to view this product.

  1. In the sidebar of your WordPress Admin click on Products > Add Product.
  2. Give your product a name like Meditation Activity.
  3. Setup the Product Data to be a Bookable Product.
  4. We’ll setup some basic rules for the bookable product. The event is free, fixed block of 1 day, and only available on Saturday and Sunday.
  5. Next we want to setup the Access Restriction box for groups. Click on the field for Enforce read access. Select the new group that we created earlier.

Publish the book and you’re set! Only those that have access to that group will be able to view this product. The product is also hidden from your shop pages.

cta-banner-10-product-page-v2_2x

WooCommerce - the most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment
%d bloggers like this: