1. Documentation /
  2. WooCommerce Memberships Sensei LMS Integration

WooCommerce Memberships Sensei LMS Integration

Overview & requirements

↑ Back to top
WooCommerce Memberships can be used with Sensei LMS to restrict course and lesson access for learners unless they have an active membership.
When using Memberships with Sensei, courses should not be tied to WooCommerce product purchases. This causes a conflicting situation in which Sensei says the user has access, but Memberships does not. Allow Memberships to control access to the courses completely.

Restrict courses

↑ Back to top
When you set up your courses and want to control access via the membership, you’ll need to check your Sensei LMS settings, the course setup, and your membership plan setup.

Sensei LMS settings

↑ Back to top
Ensure that any courses and lessons you want to control access to via Memberships are not tied to WooCommerce products. WooCommerce Memberships: Sensei course access Now you can restrict your course and lessons via your membership plan.

Membership plan

↑ Back to top
To restrict courses and their associated lessons and quizzes, create a content restriction rule for the course only. The course access rules will trickle down to the lessons and quizzes. If you’d like to restrict lessons independent of the course, then you will need to create a content restriction rule for each lesson: Shows how to restrict content for courses and lessons This will allow Memberships to fully control who has access to the course and lesson content, and only give them access while the membership is active.

Automatically enroll members into courses

↑ Back to top
When customers purchase a membership product that grants access to a course, they can be automatically enrolled as soon as the course is available to them based on the course pre-requisites and plan settings. If the course has one or more prerequisite(s), members will be auto-enrolled once they have met the prerequisite requirements. To auto-enroll members:
    1. Go to WooCommerce > Memberships > Memberships Plan, and select a plan.
    2. Then go to Restrict Content, and enable Auto-enroll for any courses or course taxonomies that you’d like members to be automatically enrolled in:
Shows the auto-enroll checkbox in membership content restriction
  1. Upon purchase of the membership plan, members will be auto-enrolled in the selected courses.

Customer views

↑ Back to top
When you let Memberships handle content restriction, the Sensei course and lesson content will only be accessible for as long as the membership is active.


↑ Back to top
When a non-member views a course-overview page, the course, along with lesson content, will be restricted and display the membership “restricted” notice. WooCommerce memberships: sensei course restricted Courses will show the same notice, removing videos or other course details. WooCommerce Memberships Sensei lesson restricted


↑ Back to top
When a member who has purchased access logs in, they’ll now see access to the courses they have, and can view lessons within the course. WooCommerce Memberships my courses accessible If a member has access to a lesson, all lesson details are shown to the member. WooCommerce Memberships Lesson Accessible If the member doesn’t have access, or will have access in the future, lesson details, such as the video and quiz links, will remain hidden. WooCommerce memberships lesson delayed

Learner progress reports

↑ Back to top
When using Sensei LMS with Teams for WooCommerce, team owners and managers can see the course progress of team members when their membership plan is associated with at least one course or lesson. To enable progress reports:
  1. Go to WooCommerce > Settings > Memberships > Teams page.
  2. Under the eLearning section, select whether owners, managers, or both can have access to learner progress reports.
  3. Click Save changes.
Once the learner progress reports are enabled, team owners and/or managers can access progress reports by logging into their membership account. This is the same account that they would log into via the frontend of your shop, usually located on the My Account page. To view learner progress reports:
  1. Once team owner / manager has logged in, go to My Account > Team > Learner Progress tab.
  2. Click View to access the progress report for a particular member.
  3. The team owner / manager will then be able to see the learning progress and completed courses for each member.

Course videos

↑ Back to top
One special case worth mention are course videos. By default, these are pieces of public content to allow you to sell non-members on your course. As such, they’re shown to members and non-members alike. If you’d like to hide the course overview videos, you can do so in 2 ways: by changing the way you add the video with a shortcode, or by adding an additional code snippet.

Restrict via shortcode

↑ Back to top
If you want to restrict specific course videos to your members, you can use the content restriction shortcode to do so. However, if you do use this shortcode, you can’t use a plain URL for the video — you must use the full embed link instead. First, get the full embed code for the video. If you’re using YouTube, this will be under Share > Embed for example. WooCommerce memberships embed video Then, when you paste this into the “Course video” box, wrap the restriction shortcode around your embed link. WooCommerce memberships restrict course video This will ensure members can see the video, but non-members don’t see the overview. The shortcode method is helpful if you want to delay access to the overview video specifically as well.

Restrict all course videos

↑ Back to top
If you’d like to restrict all course videos, you can enable “Restrict course video” in the Sensei LMS settings. Access to this option will require the WooCommerce Paid Courses extenstion. This will hide all course videos from non-members rather than using them as a free preview: WooCommerce Memberships Sensei settings

Questions & support

↑ Back to top
Have a question before you buy? Please fill out this pre-sales form. Already purchased and need some assistance? Please get in touch via the help desk.
All done here? Return to the Memberships overview.