Getting Started with LifterLMS and WooCommerce

Video Tutorial

# Top

Introduction

# Top

Selling your LifterLMS courses and memberships is also possible with WooCommerce when you use the LifterLMS WooCommerce integration add-on.

When you choose to sell with WooCommerce, Woo is in charge of sales, and LifterLMS steps back from handling payments for courses and memberships. On successful Woo product purchase, LifterLMS automates the enrollment in the associated course or membership.

Installing and Activating the WooCommerce Integration

# Top

Steps to Enable LifterLMS WooCommerce Integration:

  1. Make sure LifterLMS, WooCommerce, and the LifterLMS WooCommerce add-on are installed and activated. Learn more about installing and activating LifterLMS add-ons here.
  2. Navigate to LifterLMS > Settings.
  3. Access the “Integrations” tab.
  4. In the integrations table, locate and click on “WooCommerce”.
  5. Tick the “Enable WooCommerce” checkbox.
  6. Save changes by clicking the “Save Changes” button.

Managing WooCommerce Guest Checkout for LifterLMS Enrollment

# Top

To enroll users in Courses or Memberships through LifterLMS, it’s essential to  create a user account during the checkout process. 

If you’re utilizing WooCommerce for your product sales, deactivate the WooCommerce “Guest Checkout” features. This guarantees that following a purchase via WooCommerce, there is a registered user available for LifterLMS to enroll in the recently purchased courses or memberships.

Follow these steps to disable Guest Checkout:

  1. On your WordPress admin panel, go to WooCommerce > Settings.
  2. Navigate to the “Accounts and Privacy” tab.
  3. Locate the option that reads “Allow customers to place an order without an account” and uncheck the checkbox.
  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.

Linking LifterLMS Courses and Memberships to WooCommerce Products

# Top

To facilitate the sale of courses and memberships, associate your course or membership access plans with a corresponding WooCommerce product.

Follow these steps:

  1. Start by creating your product in WooCommerce.
  2. Mark your product as “virtual” and “downloadable” to ensure instant order completion on successful purchases.                           
  3. Navigate to your LifterLMS course or membership.
  4. Either create a new access plan or use an existing one (learn more about access plans here).
  5. Instead of specifying a price, as you would with LifterLMS native payment gateways like Stripe or PayPal, choose a WooCommerce product (or product variation) to determine the access plan’s price and associate this course or membership with a specific WooCommerce product.
  6. You have the option to select a WooCommerce product or a single product variation in the access plan.
  7. The pricing table presented to your students will showcase pricing and subscription details sourced from the associated WooCommerce product.
  8. The purchase button, when clicked, will add the item to the user’s cart when a simple product or a product variation is chosen. For variable products, the buy button will redirect customers to the product page, enabling them to select their preferred variation.
  9. Upon successful purchase of the linked product, students will be automatically enrolled in the corresponding course or membership.

Building Course Bundles (Optional)

# Top

Combine multiple courses and memberships into a single WooCommerce product to create a bundle of courses and/or memberships.

Upon purchasing the product, customers will be automatically enrolled in all the courses and memberships linked to that specific product.

Here is how you can build multiple courses within memberships into a single WooCommerce product.

Follow these steps:

  1. Create Multiple Courses Or Memberships.
  2. Create a WooCommerce Product.
  3. Associate the product with the Courses or Memberships and configure the sales page. Be sure to click the save button below the access plan info. Note: You have the option to assign the same product created in WooCommerce to multiple courses or memberships that you have created. 

    When a student purchases the specific WooCmmerce product, all associated courses and memberships will be added to their account.
  4. Update or Publish the Course or Membership Sales Page in LifterLMS.

By following these steps, students will be automatically enrolled in all the courses and/or memberships linked to the specific product upon purchase, providing them with access to the bundled content.

Configure WooCommerce LifterLMS Automatic Enrollment Settings

# Top

With LifterLMS WooCommerce, you have the flexibility to determine when students should be enrolled in (and removed from) courses and memberships, aligning with the WooCommerce order status of the associated WooCommerce order.

 

Default Enrollment Trigger:

The default enrollment trigger in LifterLMS is the “completed” status. Ensure that WooCommerce orders auto-complete by following these steps: WooCommerce Automatic Order Completion.

Alternative Enrollment Trigger Options

If you prefer an alternative enrollment trigger, visit LifterLMS > Settings > Integrations > Woocommerce to configure enrollment settings. 

Below, you will be able to see the different available order statuses.

Order Enrollment Status

Select the WooCommerce order statuses that triggers automatic enrollment. We recommend choosing “completed” to ensure students are enrolled only after payment verification. 

 

Order Unenrollment Status(es)

Choose WooCommerce order statuses that triggers unenrollment. We recommend selecting “Cancelled,” “Refunded,” and “Failed.”

Subscription Configuration (If Using WooCommerce Subscriptions)

With Woo Subscriptions, you can create and manage products requiring recurring payments. Woo Subscriptions allows you to introduce a variety of subscription options for physical or virtual products and services.

 

Subscription Enrollment Status

Specify the WooCommerce subscription status that triggers automatic enrollment. We recommend selecting “Active.”

 

Subscription Unenrollment Status(es)

Choose WooCommerce subscription statuses that trigger unenrollment. We recommend selecting “On Hold,” “Cancelled,” and “Expired.”

How to Set Up Recurring Payments with LifterLMS and WooCommerce Subscriptions

# Top

 

Follow these steps on how you can set up recurring payments with LifterLMS and WooCommerce Subscriptions:

  1. Make sure you have WooCommerce Subscriptions installed and activated on your WordPress site.
  2. Navigate to the WooCommerce product dashboard and select the desired product.
  3. Under “Product Data,” choose “Simple Subscription” or “Variable Subscription.”
  4. Set subscription details like price, sign-up fee, and free trial period.
  5. Make sure WooCommerce Integration is enabled in the LifterLMS  dashboard – Settings – Integration.
  6. Select the WooCommerce Subscription product with your LifterLMS course.
  7. Save the changes, and your recurring payment setup with LifterLMS and WooCommerce Subscriptions is complete.

Exclusive Products for Members Belonging to Specific LifterLMS Memberships Only

# Top

A Members Only product is exclusively available for purchase by logged-in users who belong to a specific LifterLMS Membership.

When a non-member views a WooCommerce Product labeled as Members Only, they will encounter a link prompting them to explore and purchase the required Membership before being able to buy the Members Only product.

To designate a product as Members Only, navigate to the “Advanced” Tab under “Product Data” on the WooCommerce product. Look for the “Members Only” select box and choose a LifterLMS Membership.

You can customize the text displayed on the Members Only button using the “Members Button Text” option.

For variable products, access the Members Only settings for each variation individually. This allows you to set unique membership requirements for each product variation.

Integration of Login, WooCommerce Account, and Student Dashboard Pages

# Top

When utilizing the LifterLMS WooCommerce add-on,be aware of WooCommerce’s dedicated account pages and login features (WooCommerce Pages). 

The default WooCommerce “My Account” page displays customer information, including their account details and order history.

With the LifterLMS WooCommerce add-on, the LifterLMS student dashboard information is integrated into the WooCommerce account page, as illustrated below.

Displaying WooCommerce Pages Using Shortcodes (Optional)

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

If you wish to personalize the dashboard by adjusting LifterLMS options, refer to this guide.

For logged-in users, their account page will reflect their personalized dashboard of combined WooCommerce and LifterLMS information, as depicted in the image above.

However, for visitors who are not logged in, accessing the account page will present them with a convenient login form.

Troubleshooting: Enabling Debug Logging in LifterLMS

# Top

Enabling the Debug Log feature allows you to capture and log debugging information related to your WordPress site’s activities. 

This can be invaluable for troubleshooting issues, identifying errors, and diagnosing technical problems that may arise. 

Debug logging helps developers pinpoint and resolve any tech issues more effectively.

To activate Debug Logging in LifterLMS, follow these steps:

  1. Go to LifterLMS -> Settings -> Integrations
  2. Find the LifterLMS WooCommerce Settings box
  3. Tick the box next to “Enable debug logging”
  4. Click “Save”

Below this setting, you’ll find the complete path to the log file on your server. The log file captures valuable information for troubleshooting issues related to the add-on.

 

How to Test Your WooCommerce Integration

    1. Make sure that after creating your product within WooCommerce, it is correctly displayed on the associated access plan of your course or membership.                                                                                                               
    2. Navigate to your shop page to confirm that your product is visible.
    3. Search for the product associated with your course or membership within the WooCommerce Shop Page.
    4. Test the functionality by adding the product to your cart.         
    5. Proceed to the cart page to review the selected product and ensure it reflects accurately.
    6. Select the product within the cart to check its details, such as pricing, associated courses and /or memberships, and other product details.
    7. Click the checkout process to assess the flow and functionality of the payment and order placement procedure.
    8. Upon successfully completing the checkout process, verify whether you receive a notification indicating that you are already enrolled in the courses or membership associated with the product.

Learn more about LifterLMS and Woocommerce Integration

# Top
Last Updated on
Was this article helpful?