If you are interested in selling subscriptions to your online courses, LearnDash and WooCommerce Subscriptions make a terrific combination.
The two together provide everything that you need, no matter how you want to offer your courses.
In this article, I will show you how to both install and set up the two products on your WooCommerce site as well as how to set up LearnDash.
Installing LearnDash and WooCommerce Subscriptions
Configuring LearnDash for WooCommerce Subscriptions
In order to properly integrate LearnDash with WooCommerce Subscriptions, you must disable guest checkout, as LearnDash needs a user account in order to function correctly.
To disable guest checkout with WooCommerce, do the following:
- Select Settings from the WooCommerce dashboard.
- Click the Accounts & Privacy tab.
- Uncheck Allow customers to place orders without an account.
- Check Allow customers to create an account during checkout.
Setting Up LearnDash Courses with WooCommerce Subscriptions
If there are no variations in your LearnDash course offering, you probably want to set it up as a Simple payment plan. To do this, you need to edit the product in WooCommerce and select Simple payment plan from the Product data dropdown list. You also need to click Virtual on.
Then, in the Payment Plan price ($) fields, enter the price of the offering and the regularity that you would like to bill, such as every month. From the Expire after dropdown list, select when the offering will end.
While there are other fields on this screen that you may want to enter, the most important is the Related Courses dropdown list, where you should select all the LearnDash courses that apply to this offering.
If you want to offer variations of your LearnDash course offering, you need to select Variable payment plan from the Product data dropdown list. Then, you need to add both the attribute of the course that will vary and all its variations.
To add a new attribute, select Attributes from the Products menu and enter the name of the attribute in the Name field. Then, click the Add attribute button.
The attribute will afterward appear in the list of attributes on the right-hand side of the page. To add variations to this attribute, hover over it and click Configure terms, and the Edit Attribute page will display.
Here enter all variations of the attribute by entering their names in the Name field and clicking the Add new [Attribute] button for each one, which will then display on the right-hand side of the page.
Next, go back to the Product page and select the Attributes menu option. Then, select the attribute that you just added from the Custom product attribute dropdown list and click the Add button. Also, click the Select All button, which will place all the variations in the Value(s) field, and click on Used for variations. Finally, click the Save attributes button.
Next, select Variations from the Product Data menu. Then, from the Add variation dropdown list, select Create variations from all attributes and click Go.
After creating the variations, you will now have all the fields that you had available for a Simple payment plan for each variation that you just created.
Note: Make sure to enter a price for each variation or they will not appear in your store.
When a customer buys a subscription to the course that we have just created, they will see the following:
Setting Up LearnDash Courses with WooCommerce Payment Plans for Subscriptions
The WooCommerce Payment Plans plugin is compatible with LearnDash courses. But, when applying it to LearnDash courses, you need to apply it as a Simple product.
Here are the steps for applying the WooCommerce Payment Plans plugin to a LearnDash course:
- Create a new WooCommerce product in WordPress.
- Select Simple product from the Product data dropdown box.
- Check the Virtual checkbox.
- Add the price of the course.
- Select the course(s) that you want to offer.
- Click the Payment Plans tab.
- Configure your payment plan options.
- Save and publish your product.
In the following example, I have set up a Learn Guitar Course that I am selling for $100 or 4 monthly payments of $25:
To properly apply the plugin to a LearnDash course, you also have to change some LearnDash settings. Go to LearnDash LMS > Courses and update the course’s settings to Closed Access Mode and set the Button URL to either your cart or product page, like this:
Finally, do the following steps to prevent LearnDash from removing a user from a course after they complete all their payments:
- On your WordPress dashboard, go to WooCommerce > Settings > and click the Subscriptions tab.
- Next, scroll down to the bottom of the Subscriptions settings and check the Disable checkbox under Access Removal on Expiration.
- Finally, click Save changes.
Is WooCommerce Payment Plans Compatible with LearnDash Courses?
LearnDash and WooCommerce Subscriptions together make it incredibly easy to sell subscriptions to your online courses. This allows you to focus on what’s truly important: creating great content that your customers will love.
If you have any questions about this topic, please feel free to ask them in the comment section below. Also feel free to add any pertinent comments that you have about the topic.