Need help?

Paid user: Create A Ticket

Free user: Visit Support Forums

Related Docs

Back To Docs

Selling Courses With WooCommerce

Updated on April 1, 2024

Are you ready to sell your first course with Sensei and WooCommerce? This guide will help you get started.

What Do I Need?

To sell courses, you will need the following:

  1. Sensei LMS (the free plugin found on WordPress.org here)
  2. Sensei Pro (purchase and download here)
  3. WooCommerce (the free plugin found here)
  4. A payment gateway (see the options here)

If you don’t already have a payment gateway that you use, we recommend WooCommerce Payments.

Note: If you’d like to accept recurring payments and easily predict the revenue you’ll receive, you can sell your courses as part of a subscription.

If you’d like to ensure your course content is only accessible to paying members, you can sell your courses as part of a membership.

By default, Sensei Pro provides the ability to link a course to one or more WooCommerce products. This enables someone to purchase a course on your site. When a course is linked to a WooCommerce product, the lesson content is only viewable by those who have actually purchased the course.

To link a WooCommerce product to a course, ensure that WooCommerce is installed and activated, and then follow these steps:

  • Go to Sensei LMS > Courses and click the course you would like to attach to a product.
  • In the Pricing section of the Course > Course Settings sidebar, click the Create a product button. (Alternatively, if you’ve already created a product, you can select it from the list instead.)
  • Enter the product name, price and an optional description:
  • Click the Create product button to create the product and automatically link it to the course. The Take Course button in the editor changes to a Purchase Course button.
  • Click Update to save the course.

The product you created or selected will now be used to sell your course!

Purchasing a Course

Visitors to your site can purchase a course on the course page. They will be enrolled as soon as payment has been made (i.e. when the order status is Processing or Completed):

Removing a Student from a Course

In order to remove a student from a course that they have purchased, the status of their order needs to be changed to one of On holdCancelled or Refunded. Changing the order status to one of these values will unenroll the student from the course in Sensei LMS > Students, and they will no longer be able to access it.

Guest Checkout

It is not possible for your site visitors to purchase a course without a user account. This means that WooCommerce’s Allow customers to place orders without an account setting has no effect if the user is checking out with courses in their cart.

In WooCommerce > Settings > Accounts & Privacy tab, in the Account creation section, ensure that at least one of the following is enabled:

  • Allow customers to create an account during checkout
  • Allow customers to create an account on the “My account” page