March 2nd, 2017 LearnDash Tips

You have likely heard of WooCommerce, and with good reason. It is one of the most popular shopping carts available today.

Simply install on your WordPress site, configure a payment gateway, and you are ready to begin selling products – both physical and digital.

It’s also a great way to sell your LearnDash courses!

First, you get the benefit of a top-class shopping cart so that your learners have an enjoyable check-out experience.

Not only this, but you can take advantage of one of their many add-ons. Connect your shopping cart to popular email platforms like MailChimp or ActiveCampaign, use subscriptions, and use virtually any payment gateway (not just PayPal or Stripe).

Using LearnDash with WooCommerce is easy and for many people is the perfect way to sell their LearnDash courses. With our integration you can do things like:

  • Enable coupons
  • Offer course bundles
  • Sell course access on a subscription plan
  • Automatically enroll users into courses after purchase
  • Automatically remove course access on a refund or cancelled subscription

Another neat trick when using LearnDash with WooCommerce is setting up a post-purchase redirect.

This means that as soon as someone purchases the courses and payment is successfully made you can automatically route them to the page of your choice. You can send them to a custom “thank you” page, or perhaps to the course they just purchased so they can get right into the material!

This video explains how you can set this up!

As you can see, with WooCommerce you have a lot of possibilities for how you want to offer your courses. You can leverage both the LearnDash and WooCommerce add-on ecosystem to create professional and pleasant purchase experiences for your customers.

So what are you waiting for?ย Download the integration today and get started!

Justin Ferriman photo

About Justin Ferriman

Justin Ferriman started LearnDash, the WordPress LMS trusted by Fortune 500 companies, major universities, training organizations, and entrepreneurs worldwide for creating (and selling) their online courses. Justin's Homepage | Twitter

Posted in


25 responses

Leave a Comment

Hey Justin, I have been using this plugin:
and I like it because it allows me to use a different Custom Thank You page per Product or Course. I thought I would like doing the video above to eliminate the plugin but it looks like it just does one custom thank you page.So I wanted to share this plugin! ๐Ÿ™‚

Is there a way to connect the course “Take this Course” button to woocommerce instead of registering through woocommerce products page? We like the flow of learndash with the grid view, course details then purchase but would like to use woocommerce from that point on. I haven’t found any settings or hooks to achieve this. Is there a way to do this?

Avatar julie

I’m interested in this as well.

Avatar jwindham

Did anything come of this? It’s very confusing for some of our older users that they click “Take This Course” and then have to “Add to Cart” subsequently. We get a lot of folks who are having issues with the process.

Just set course price to closed and then don’t put anything for the custom button URL, instead use the WooCommerce shortcode for the add-to-cart button.

Me too I would prefer this workflow too

Avatar Marcel Felix

Woocommerce is not completing my learndash product orders…. already tried 2 plugins that automatically make orders complete after payment, but the orders keep going to processing status… any help?

I have the same issue, looking for some solution. How did you fix this?

P.S. LearDash, please help!

Avatar Bohdan

Please open a ticket with support and we’ll gladly assist.

Did you ever find a good solution for this? The only way we have found to make it work is to select “Simple Product,” make sure the “downloadable” checkbox is checked, then set it back to Course and make sure it’s set up for your course. We have had issues though when people forget it needs to stay “downloadable” and uncheck that box which makes the status stay as “Processing” and doesn’t give them access to the course.

Avatar Lorie

Can you set up affiliates for your course website using WooCommerce (and their premium affiliates plugin) with LearnDash?

When I switch Product Data to Course there is no option for taxes. Am I missing something?

Avatar Lawrence

WooCommerce support will be your primary contact. You don’t need to select ‘course’ for LD, can stay as ‘virtual’.

I have a written a small tutorial on how to integrate WooCommerce with LearnDash here

I have tried several, several, several times, but it is not working ๐Ÿ™

Avatar Ximena Thurman

I am sorry to hear that – please open a support ticket so we can assist.

Is there documentation? I need to do some custom integrations and I’m looking for documentation about hooks and filters – specifically changing a users group once they complete a specific course, and also activate/emulate or manually create items/purchases in learndash once a woocommerce purchase has been made.

Avatar Eric

Hi there! Taxes in WooCommerce isn’t working. How do I solve this?

You should contact WooCommerce support in this case as it’s not related to LearnDash.

Hey Justin!

we were needing to add shipping to our course as a hard copy course booklet is shipped to the customer upon signing up for the course. The shipping varies depending upon country so we need to use the shipping option in WooCommerce. Are you able to advise the best way to go about this?

Thanks for your help.


This code snippet is great when you have just one course. But many LD users have several courses.

Is there a thank you redirect code snippet for users with more than 1 course? I know I can add another plugin, but I’d prefer to add some code to functions.php in my child theme.


I am using WooCommerce, but after adding the product to cart it won’t go to the checkout page.. it says “You must be logged in to checkout.” even though I have checked the correct boxes in WooCommerce > Settings… I have deactivated all plugins and changed theme, same result.

Comments are closed.

Your course could already be online!

We offer a 15 day money-back guaranteeย and have a world class community to help you get your course online today!

See LearnDash in action. Online Demo


๐Ÿ‘‹ Meet LearnDash Webinar

Are you trying to decide if LearnDash is the right learning management system to build your online courses? Join us for our next live walkthrough.

Join Our Next Webinar!

LearnDash webinars are designed to teach you how to build, grow, and scale your course-building business. Join our team in one of our next live webinars.