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.
To enable the LifterLMS WooCommerce integration, follow these steps:
- Ensure that LifterLMS, WooCommerce, and LifterLMS WooCommerce are installed and activated
- Navigate to LifterLMS -> Settings
- Click the “Integrations” tab
- Click “WooCommerce” on the integrations table.
- Check the “Enable WooCommerce” checkbox
- Click “Save Changes” at the bottom of the screen
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:
- On your WordPress admin panel, navigate to WooCommerce -> Settings
- Click the “Accounts and Privacy” tab
- Find the option that says “Allow customers to place an order without an accout” and ensure that the checkbox is not checked.
- Click “Save” at the bottom of the screen
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.
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.
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.
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”.
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.
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.
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.
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.
To enable LifterLMS Debug Logging:
- Navigate to LifterLMS -> Settings -> Ingegrations
- Locate the LifterLMS WooCommerce Settings box
- Check the box next to “Enable debug logging”
- 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.
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/