Connect WooCommerce Products with LearnDash Courses

I have been happily using LearnDash LMS with WordPress for my JavaScript for WordPress Master Course.

One of the tricks of using WooCommerce and LearnDash together is that you can build your courses separately from your WooCommerce products.

This is helpful for creating bundles that automatically grant access to individual or multiple courses.  In my Master Course I have it broken down into four parts, which are really individual courses behind the scenes.

To accomplish you have to install the Download, Install and Activate the Free LearnDash WooCommerce Integration Plugin from the LearnDash site.

Then after you create your Courses in LearnDash, create a Product in WooCommerce you will have an option to select Related Courses.

Integrate WooCommerce and LearnDash Courses

You will also want to go into WooCommerce Settings > Accounts and make sure to enable “Enable registration on the Checkout page.”

WooCommerce Enable registration on the "Checkout" page

With this configured, when someone purchases the course via WooCommerce on the front-end and creates an account during checkout they will automatically have access to the Related Courses you selected for the product.

You can check this by clicking on a User account and looking at the course access. Mine says Parts but yours will probably say Courses.

LearnDash Check User Enrolled in Courses

I have been quite happy with this combination of WooCommerce and LearnDash for selling my courses since WooCommerce allows me to customize the selling process quite a bit.

I will also add that you will likely want to customize your WooCommerce Emails to include welcome information about the course in addition to the default information.

Hopefully this helps you get up and running selling online courses using LearnDash and WooCommerce.

Good luck and enjoy!

17 thoughts on “Connect WooCommerce Products with LearnDash Courses

  1. Hi

    I’ve just started using Learndash and Woocommerce.

    I am curious how you address user profile management…….I seem to end up with a platform with users having a profile in Learndash and a separate account within Woocommerce.

    Surely this will cause confusion for users……how do you deal with this?

    Liked by 1 person

      1. Hi Zac,many thanks for your work on this blog. I am very interested too, in a solution to bring the profile page and the woo commerce account together. 🙂

        Like

      2. Hi Zac, have you found a solution for reducing the 2 user profiles/accounts to just one? Thanks. Lars

        Like

  2. We create custom courses for companies that have 90 or more managers that need to complete the course. We are currently using the sensei plug in in WordPress. The problem with that is that each person needs to complete a separate login and purchase the course which does not make it user friendly for our clients. Does Learn Dash have a resolution to this problem? We need a program to allow multiple users to take the course by only providing a name and email address. I watched the demo for Learn Dash and it looks like we would have to register the course as a free course as opposed to a paid course. Wouldn’t this allow anyone to view and complete the course?

    Also we need the main supervisor for the company to be able to view and monitor all students test scores. Is this possible in learn dash?

    I also am concerned about the issue that students will have to login through learn dash to access course instead of the WordPress URL I provide them with. We need to keep our custom courses private to outside users.

    I appreciate any info you can give me.

    Like

    1. I’m not sure about some of these. You can make the course free to register and use only name and email but then, yes, anyone could sign up who had access. I am not sure of the best way around that although a few possibilities come to mind.

      There is the ability to view reports on quiz completion and I really like the group accounts plugin which allows for easy moderation.

      I hope this helps and they have really great customer support. I would suggest posing the same question to them 🙂

      Like

  3. Hey Zac, awesome content!
    I have a question with which I am struggling with for quite some time.
    I have over 600 users in my site. Most of them have bought courses from me in the past and now I am using LearnDash. The problem is that I can’t sync the old purchases to unlock the courses for these clients in my new LearnDash course system. I don’t want to do it manually for each one of them by entering their profiles and manually enroll them for what they bought in the past.

    If you have an answer with solution for me you’ll make my day… and my life better.

    Thank you!

    Like

    1. Yeah, I have had this issue too. Unfortunately you will need to do it manually by running a database query that will make sure all the user ids are added to the proper courses.

      Liked by 1 person

      1. Thank you for the quick response!
        How to do that?

        I managed to enroll most of my users in the right courses by refreshing their orders in woocommerce (turn their orders to processing and then back again to completed without sending order emails again).

        In the past I used OptimizeMember to manage users and courses with custom capabilities packages. So every user has a ccap with the course tag in their database. I tried to make the changes in excel exported file with the users ID, emails etc. and with formula to assign them the right courses in the right fields, but that didn’t do the job when I imported them with WP All Import. It didn’t read the data and didn’t assigned the courses to users.

        Now I am looking for some plugin with more expanded features to manage users and woocommerce customers. If you know some helpful plugins, that would be great.

        I just want something with which I can search users by their orders and bulk edit their meta or something that include their Learndash data.

        I think their is a some kind of solution for this managing problem, but so far I can’t find one.

        Appreciate your time for reading my comments!

        Liked by 1 person

  4. HI!

    Im using LearnDash and Woocommece.

    Everything was fine when I only sold one course.

    But now that I have two courses, when a user buys the second, autoenroll doesnt work and I have to give him access manually.

    This is very annoying for me, I receive many emails everyday, and its annoying for the user, who doesnt have direct access when the purchase ends.

    Do you know where the problem is?

    I would appreciate a little help.

    Like

  5. Hi Zac, I have had many issues with LearnDash and now I am trying to integrate it with WooCommerce, and it is impossible to redirect to the users to the courses when they buy them. WooCommerce says that this issue is coming from LearnDash. I am not agree with you when you say that LearnDash has a good support, they always say that the issue is coming from another plugin and Justin (the owner) never answer the questions. Now, reading the other comments I am afraid about new possible problems that I do not have yet. Some idea how resolve this issue. I have checked and tested many videos from LearnDash, but nothing works. I would appreciate any idea. Thanks!

    Like

    1. Hi! What you are trying to do should be possible but I don’t think this happens automatically. It would require working with a developer to do that I would suggest reaching out to Codeable, it should be a quick fix https://codeable.io/partners/zac-gordon/?ref=LXT09

      But again, I do not think LD or Woo are the problem here since I have tried this too. It is not built in functionality and needs to be custom built I believe.

      Good luck!!!

      Like

  6. Hi Zac,

    I am setting up a new LearDash/WooCommerce site.

    I have courses that will be sold to corporations, with groups of people at the corporation needing access.

    I want to sell the courses with a number of seats – e.g., 10 seats, 25 seats.

    Are you aware of a way to set limits like these?

    Thanks in advance for your comments.

    Like

      1. Hi Zac,

        Thanks for your quick reply and checking this out.
        The link is the same idea, with the wrinkle in my case that these are virtual products, with no download, so there is “infinite” inventory and no deduction on sale. The trick is to limit the number of seats used to the number sold.

        I am evaluating some options for Group Registration (from Uncanny Owl and WISDM), and it looks at the moment like the best solution is to set up the courses in LearnDash to always be quantity 1, then handle the actual quantity purchased in WooCommerce (which the Group Registration products would use to limit the number of “seats” that can be used based on this purchase), and with the price being adjusted in another plugin based on quantity purchased.

        Still testing/investigating but these look promising.

        Thanks again for your help.

        Like

Leave a comment