Making LearnDash Courses and WooCommerce Products InterdependentWith the WooCommerce extension for LearnDash, you can create a product in WooCommerce for one or multiple (bundled) LearnDash courses. You can then use the features provided by WooCommerce to add sale prices, run discounts, offer different payment options and more. But that’s about it. Taking things to the next level would include making product purchases and course enrollments or completions interdependent or tightly coupled.
Example #1: Making Advanced Courses Available for Purchase only on Completion of Beginner Level CoursesThis scenario is perfect for those who offer a different category of courses and need students to complete a certain category of courses, before moving to the next. Does this scenario ring a bell? It’s how students advance in schools or colleges. You need to complete courses belonging to a certain grade, before moving on to the next.
The technical side of thingsTo make this work, here’s what has to happen in the backend:-
- Once a student registers, only a certain course category should be made visible. So let’s say a student registers for Grade 6 courses, then only courses belonging to Grade 6 should be shown. Grade 7 onwards should be hidden. This can be handled by adding a custom setting “Grade” for each user
- Once the student completes Grade 6 courses (you need to monitor LearnDash course completion triggers), Grade 7 courses will be unlocked and the corresponding products will be made visible in WooCommerce for purchase
Example #2: Making Courses Available for Purchase only When a Student Earns ‘X’ Course PointsThis one scenario we handled recently. The client needed a restriction on course purchases. A student was allowed to purchase a course only when he/she had earned a certain ‘X’ – ‘Y’ points (wherein ‘X’ being the minimum points needed and ‘Y’ being the maximum). This allows for more control on course purchases and on student progress.
The technical side of thingsHere’s how this scenario can be implemented:-
- A custom setting has to be added to each WooCommerce product that accepts a minimum and maximum course point value
- Once a student attempts to make a purchase, the earned course points will be checked against the product’s values
- Depending the course points earned, the student will be allowed to make the purchase or the purchase will be blocked
Example #3: Sorting Products based on Courses CompletedMore often than not students follow a pattern. They are more likely to follow the path fellow students have. Let’s say 70% of students who’ve completed ‘ABC’ course, sign up for ‘XYZ’ course, then you can use this stat to market ‘XYZ’ course to students who’ve completed ‘ABC’ course. Taking things to the next level involves identifying student patterns and marketing your WooCommerce courses based on them.
The technical side of thingsThis one’s a bit more complicated than the others:-
- Based on courses completed, the recommended products for the user should be updated
- WooCommerce has an extension for this, but it will have to be integrated with LearnDash course completion history