How to Sell Moodle Courses with WooCommerce (Step-by-Step)

JUSTADDWATER > CourseTransit Guides > How to Sell Moodle Courses with WooCommerce (Step-by-Step)

How to Sell Moodle Courses with WooCommerce (Step-by-Step)

To sell Moodle courses with WooCommerce, you connect your Moodle site to WordPress, turn each Moodle course into a WooCommerce product, and have buyers enrolled in Moodle automatically when they pay. Moodle keeps doing what it is good at (teaching, tracking, grading) and WordPress handles what it is good at (pages, SEO, checkout).

Key takeaways

  • Moodle handles teaching and tracking; WooCommerce handles course pages, checkout and payments.
  • CourseTransit turns each Moodle course into a WooCommerce product and enrols buyers in Moodle when they pay.
  • Decide your sync settings before the first sync, then set prices and write proper product pages.
  • Always test one real purchase end to end before you launch.

This guide walks through the whole setup with CourseTransit, our free WordPress plugin for Moodle and WooCommerce. Expect about an hour for a first setup, most of it spent on prices and course pages.

Why sell through WooCommerce instead of Moodle

Moodle can take payments on its own with its enrolment on payment method. It works, but the course catalogue lives inside Moodle, where pages are hard to design and hard to rank in search. With WooCommerce you get:

  • Course pages that look like the rest of your website and can rank in Google.
  • WooCommerce payment gateways, coupons, taxes and invoices.
  • One checkout for courses and anything else you sell.

If you only run a few internal courses with no marketing site, Moodle’s own payments may be enough. We compare the two in Moodle native payments vs WooCommerce.

What you need

  • A Moodle site where you have administrator access.
  • A WordPress site with WooCommerce installed and a payment gateway set up.
  • CourseTransit installed on WordPress, and the CourseTransit plugin installed on Moodle.

Step 1: Connect Moodle and WordPress

Open CourseTransit > Guided Setup in WordPress and follow it through. It walks you through linking the two sites so WordPress can read your courses and create enrolments in Moodle.

Until the connection is complete, CourseTransit records a “Moodle connection setup incomplete” warning under Settings > Logs. That log is the first place to look whenever something does not sync.

CourseTransit Logs tab showing a Moodle connection warning
Settings > Logs records sync events, enrolments and errors

Step 2: Choose how courses sync

Open Settings > Synchronization. These settings decide what happens to your WooCommerce products every time you sync.

CourseTransit synchronization settings
Synchronization settings decide how Moodle courses become products

The ones to decide before your first sync:

  • Default Enrollment Period: how long a buyer keeps access. Lifetime Access suits most self-paced courses. Use a fixed period for courses that need renewal.
  • Product Status: “Publish Immediately” puts products live as soon as they sync. If you want to set prices and descriptions first, choose draft.
  • Product Content Sync, Curriculum & Activities Sync, Category Sync and Course Images: whether syncing updates only new products, or existing ones too. “Update Existing & New Products” keeps WordPress in step with Moodle. If you plan to write sales copy in WordPress that differs from your Moodle summary, set Product Content Sync so it does not overwrite your edits.
  • Missing Moodle Courses: what happens to a product when its course is removed from Moodle. “Mark Product Draft” takes it off sale without deleting your order history.

Automatic Course Sync is a Pro feature. It listens for changes in Moodle and updates products without you clicking Sync.

Step 3: Sync your courses

Go to Courses and click Sync All Courses, then confirm. CourseTransit fetches your Moodle courses and creates a WooCommerce product for each one.

Sync Courses confirmation dialog
Sync All Courses fetches and updates courses from Moodle

The Courses screen then lists every course with its image, enrolment count, status and price. Pro adds Select & Sync Courses, so you can sync only the courses you want to sell.

CourseTransit Courses list after syncing
Each Moodle course becomes a WooCommerce product

Click Details on a course to check what came across from Moodle: sections, activities, the enrolment setting and a link to open the course in Moodle.

Step 4: Set prices

Synced courses arrive without prices. Set a regular price, and a sale price if you want one, from the course’s Quick Edit panel or the full WooCommerce product page. The Courses list shows both, with the regular price struck through when a sale price is set.

Write proper product descriptions while you are here. The product page is what ranks in search and what convinces buyers, so it deserves more than the Moodle course summary.

Step 5: Show courses on your site

CourseTransit adds a CT Courses block to the WordPress editor. Add it to any page to show course cards with image, category, short description, price and a View Course button.

CT Courses block settings in the WordPress editor
The CT Courses block: sort, filter by category or instructor, choose columns

You can sort by price or date, filter by category or instructor, and choose the number of courses and columns. The cards follow your theme, so they match the rest of your site.

Course cards on a live WordPress page
Course cards as buyers see them

Step 6: Set up the enrolment email

When someone buys a course, they need to know how to get in. Open Emails and pick a template, such as Enrollment Email (New User). Dynamic tags like {first_name}, {course_name}, {username} and {login_url} are filled in when the email is sent.

CourseTransit email template editor with dynamic tags
Edit the enrolment email and insert tags with one click

Keep the email short: what they bought, how to log in, who to contact. Send yourself a test before going live.

Step 7: Test a real purchase

Buy one of your own courses with a test payment or a 100% coupon. Then check three things:

  1. The order appears under Orders in CourseTransit.
  2. You are enrolled in the course in Moodle.
  3. The enrolment email arrived.
CourseTransit Orders list
Orders shows each purchase and its status

Payment methods that need manual confirmation, like bank transfer or cheque, leave WooCommerce orders “On hold” until you confirm payment. Check how enrolment behaves for those orders before you offer them to buyers.

If the enrolment does not appear, go back to Settings > Logs. Connection and permission problems show up there, and we cover the common ones in Moodle web service token errors.

After launch

The CourseTransit Dashboard shows revenue, orders over the last seven days and your latest courses at a glance.

CourseTransit dashboard
Revenue, orders and recent courses in one place

Next steps most sellers take:

  • Package related courses together with course bundles (Pro).
  • Let learners log in once for both sites with Moodle WordPress SSO (Pro).
  • Sell seats to companies with bulk and group enrolment (Pro).
  • Sell programmes or memberships as recurring access to Moodle cohorts with WooCommerce Subscriptions (Pro).

Frequently asked questions

Yes. Moodle has its own enrolment on payment method with payment gateways such as PayPal. It works for simple setups, but your course pages stay inside Moodle, which makes design, SEO and coupons harder.
The free version on WordPress.org covers connecting Moodle, syncing courses to WooCommerce products, selling them and enrolling buyers. Pro adds single sign-on, bundles, bulk seat purchase, selective sync and automatic sync.
An account is created in Moodle for each buyer, and the enrolment email tells them how to log in. With Pro single sign-on, they can move from WordPress to Moodle without logging in again.
That depends on the Missing Moodle Courses setting. With “Mark Product Draft”, the WooCommerce product is taken off sale but your past orders stay intact.
Connecting the two sites and syncing courses usually takes under an hour. Writing good product pages and setting prices takes longer, and is worth the time because those pages are what rank and sell.
Sell your Moodle courses from WordPress

CourseTransit syncs Moodle courses into WooCommerce and enrols buyers automatically. The free version covers syncing, selling and enrolment.

See CourseTransit

About the author: Himanshu Saini

Founder of JustAddWater and Moodle LMS architect. 13+ years building and supporting Moodle, IOMAD and WordPress learning platforms.

With 13+ years of web development experience, I'm a full-stack developer & LMS expert specializing in LMS, eLearning, and training platform development. I’ve architected scalable learning systems, custom plugins, integrations, and enterprise-grade automation for organizations of all sizes. My background includes delivering large, complex projects for Fortune 500 companies across automotive, global energy, and healthcare sectors.

Start with a scoping conversation

Tell us about your learner base and what your current platform can’t do. We’ll come back with a straight answer on cost, timeline, and fit.

    Useful to know: integrations you need, whether deployment must be on-premise, and any audit or accreditation date you are working toward.

    We reply within one working day. No sequence, no drip campaign, no sales development rep.

    What happens next

    We reply with questions, not a brochure. Usually two or three, aimed at working out whether this is worth your time.

    You get the licence maths. What you pay now against what an owned platform costs once, with the assumptions shown.

    Then a scoped proposal. Fixed price and fixed timeline for the base package, or a scope document for larger builds.

    1,500
    Per-seat licences removed for one client
    30 days
    Base package to go-live

    "The engagement eliminated recurring per-user LMS licensing costs and gave the client full control over the roadmap, features, and integrations. JustAddWater responded quickly and efficiently despite the time difference. Their flexibility and strong communication were commendable."

    Nathan · CareRx
    Source: Clutch.co

    Start with a scoping conversation

    Tell us about your learner base and what your current platform can’t do. We’ll come back with a straight answer on cost, timeline, and fit.

      Useful to know: integrations you need, whether deployment must be on-premise, and any audit or accreditation date you are working toward.

      We reply within one working day. No sequence, no drip campaign, no sales development rep.

      What happens next

      We reply with questions, not a brochure. Usually two or three, aimed at working out whether this is worth your time.

      You get the licence maths. What you pay now against what an owned platform costs once, with the assumptions shown.

      Then a scoped proposal. Fixed price and fixed timeline for the base package, or a scope document for larger builds.

      1,500
      Per-seat licences removed for one client
      30 days
      Base package to go-live

      "The engagement eliminated recurring per-user LMS licensing costs and gave the client full control over the roadmap, features, and integrations. JustAddWater responded quickly and efficiently despite the time difference. Their flexibility and strong communication were commendable."

      Nathan · CareRx
      Source: Clutch.co