How do I integrate LearnDash with WooCommerce?

Install both LearnDash and WooCommerce, then add the official LearnDash WooCommerce integration add-on. Create a WooCommerce product for each course, set the product as virtual, and link it to the matching LearnDash course in the product settings. This lets you use WooCommerce for checkout, taxes, coupons, and subscriptions while LearnDash handles course delivery and progress tracking.

How the LearnDash WooCommerce Integration Works

The free LearnDash WooCommerce integration add-on, available to LearnDash license holders, connects a WooCommerce product to one or more LearnDash courses or groups. When a customer buys the product and the order is marked as completed, LearnDash enrolls them automatically. If an order is refunded or a subscription is cancelled, access can be removed in the same way.

This means WooCommerce handles everything to do with money, while LearnDash handles everything to do with learning. You get the full WooCommerce toolkit, including coupons, tax rules, multiple payment gateways, bundles, and WooCommerce Subscriptions for recurring course access.

Steps to Connect LearnDash and WooCommerce

  • Install and activate LearnDash, WooCommerce, and the LearnDash WooCommerce add-on.
  • In LearnDash, set each course you plan to sell to a closed access mode so students can only enroll through a purchase.
  • Create a WooCommerce product for each course or bundle, choose the Course product type, and select the LearnDash courses it should unlock.
  • Mark the product as virtual so no shipping is added at checkout.
  • Set your order status handling so paid orders complete automatically, otherwise students may wait for manual approval before they get access.
  • Run a test purchase and a test refund to confirm enrollment and removal both work.

If you only sell a few courses with simple pricing, LearnDash’s built-in Stripe and PayPal checkout may be enough. WooCommerce is the better choice when you need subscriptions, bundles, coupons, or a store that also sells other products.

There are a few common problems to watch for. If orders sit in Processing instead of Completed, students will not be enrolled until someone completes the order manually. Caching plugins can also show logged-out versions of course pages to buyers, so exclude the cart, checkout, and account pages from page caching.

It is also worth deciding early whether a course will be a one-time purchase or a subscription. Changing that later means editing products and possibly moving existing students, so a little planning at the start keeps the store and course access clean as your catalogue grows.