Getting Started with LifterLMS and WooCommerce

Video Tutorial

# Top

Overview

# Top

We’ve made it easy to sell your LifterLMS Courses and Memberships through WooCommerce.

If you choose to use WooCommerce, LifterLMS will no longer be in charge of collecting payment for courses and memberships and choose to sell through WooCommerce.

Install and Enable the WooCommerce Integration

# Top

To enable the LifterLMS WooCommerce integration, follow these steps:

  1. Ensure that LifterLMS, WooCommerce, and LifterLMS WooCommerce are installed and activated
  2. Navigate to LifterLMS -> Settings
  3. Click the “Integrations” tab
  4. Click “WooCommerce” on the integrations table.
  5. Check the “Enable WooCommerce” checkbox
  6. Click “Save Changes” at the bottom of the screen

lifterlms_settings__local_-_wordpress

 

 

Disable WooCommerce Guest Checkout

# Top

LifterLMS cannot enroll anonymous users into Courses or Memberships so, if you’d like to sell courses and memberships using WooCommerce you’ll need to ensure that WooCommerce Guest Checkout is completely disabled.

This will ensure that at the conclusion of WooCommerce checkout there is a user that LifterLMS can enroll into the newly purchased courses or memberships.

To disable Guest Checkout follow these steps:

  1. On your WordPress admin panel, navigate to WooCommerce -> Settings
  2. Click the “Accounts and Privacy” tab
  3. Find the option that says “Allow customers to place an order without an accout” and ensure that the checkbox is not checked.
  4. Click “Save” at the bottom of the screen

Note: be sure you also have enabled users to login to their account at checkout and register an account at checkout on this settings page as well!

Relate Courses and Memberships to WooCommerce Products

# Top

In order to sell courses and memberships, you must relate your access plans to a WooCommerce product.

First create your product and then head to your LifterLMS course or membership. Create a new access plan or use an existing one. Instead of entering a price like you would with LifterLMS native payment gateways, you will select a WooCommerce product (or product variation) which will determine the price of the access plan.

Add WooCommerce product to an access plan

You may select a product or a single product variation. 

The pricing table displayed to your students will display pricing (and subscription) information from the product.

The purchase button will automatically add the item to the users cart when a simple product or a product variation is selected. When a variable product is selected, the buy button will direct the customer to the product page where they will be able to select the variation of their choice.

When the associated product is sucessfully purchased, students will be automatically enrolled in this course or membership.

Configure Automatic Enrollment Settings

# Top

LifterLMS WooCommerce lets you control when you want your students to be enrolled into (and removed from) courses and memberships based on the status of the WooCommerce order associated with their enrollment.

The default enrollment trigger for LifterLMS is the completed status. You can make sure WooCommerce orders auto-complete by following these steps: https://lifterlms.com/docs/woocommerce-automatic-order-completion/

If you need an alternative set up for triggering enrollment you can visit LifterLMS -> Settings -> Integrations to configure enrollment settings.

Order Enrollment Status: When a WooCommerce order reaches the status selected here, the customer will be automatically enrolled in every course and membership associated with all products purchased in the order. We recommend selecting “completed” so that students are not enrolled until payment has been made and verified.

Order Unenrollment Status(es): When a WooCommerce order reaches any of the selected statuses, the customer will be removed from every course and membership associated with all products in the order. We recommend selecting “Cancelled”, “Refunded”, and “Failed”.

If you are using WooCommerce Subscriptions, you can also configure subscription statuses:

Subscription Enrollment Status: When a WooCommerce subscription reaches the status selected here, the customer will be automatically enrolled in every course and membership associated with all products purchased in the subscription. We recommend selecting “Active”.

Subscription Unenrollment Status(es): When a WooCommerce subscription reaches any of the selected statuses, the customer will be removed from every course and membership associated with all products in the order. We recommend selecting “On Hold”, “Cancelled”, and “Expired”.

Video Tutorial on Using LifterLMS and Woo Subscriptions for Recurring Payments: 

Creating Bundles

# Top

Multiple courses and memberships may be related to a single WooCommerce product to create a bundle of Courses and / or Memberships!

When the product is purchased the customer will be enrolled in all the courses and memberships associated with the product.

Members Only Products

# Top

A Members Only product is a product that can only be purchased by logged-in users who belong to a specific LifterLMS Membership.

When a non-member views the WooCommerce Product marked as Members Only they will see a link to the Membership they must purchase before they can purchase this Members Only product.

You can designate a product as members only on the “Advanced” Tab under “Product Data” on the WooCommerce product. Locate the “Members Only” select box and select a LifterLMS Membership.

The “Members Button Text” option will allow you to specify the text displayed on the members only button.

Members Only Settings for Simple Product

When using variable products, the members only settings can be found on each variation which will allow you to determine membership requirements for each variation individually.

Members Only Variation

Login, WooCommerce Account and Student Dashboard Pages

# Top

When using the LifterLMS WooCommerce add-on to integrate with WooCommerce, it’s important to note that WooCommerce has it’s own account pages and login.  The WooCommerce “My Account” page by default shows each customer information related to their account, orders, etc.

When you use the LifterLMS WooCommerce add-on, the LifterLMS student dashboard information is added to the WooCommerce account page like you see in the image below:

 

The WooCommerce page is typically located at yourwebsite.com/my-account/

If you would like to customize the dashboard by removing some of the LifterLMS options, click here to learn how to do that.

A logged in visitor will see their account page like you can see in the image above.

A logged out visitor visiting this page will be presented with a login form.

 

Debug Logging

# Top

To enable LifterLMS Debug Logging:

  1. Navigate to LifterLMS -> Settings -> Integrations
  2. Locate the LifterLMS WooCommerce Settings box
  3. Check the box next to “Enable debug logging”
  4. Click “Save”

Below this setting you can find the full path to the log file on your server.

The log file will record various pieces of information useful for debugging issues with the add-on.

Alternate Configuration

# Top

If you would like to autogenerate username and password from the email collected on the checkout screen see how here: https://lifterlms.com/docs/autogenerate-username-password/

Last Updated on
Was this article helpful?