Home / WooCommerce

WooCommerce Integration

Classerna uses WooCommerce for payment processing. Products are automatically created and managed when you create courses - no manual product setup required.

Integration Overview

Classerna integrates seamlessly with WooCommerce to handle:

Requirement: WooCommerce must be installed, activated, and configured with at least one payment gateway before creating courses.

Initial WooCommerce Setup

Before creating courses, ensure WooCommerce is properly configured:

1. Install and Activate WooCommerce

  1. Go to Plugins > Add New.
  2. Search for "WooCommerce".
  3. Click Install Now, then Activate.
  4. Complete the WooCommerce setup wizard.

2. Configure Payment Gateways

  1. Go to WooCommerce > Settings > Payments.
  2. Enable at least one payment method (Stripe, PayPal, etc.).
  3. Configure the payment method settings.
  4. Test with a small transaction if possible.
📸
Payment Gateway Settings
Screenshot of WooCommerce > Settings > Payments showing available payment methods with at least one enabled (like Stripe or PayPal).
images/woo-payment-settings.png

3. Configure General Settings

  1. Go to WooCommerce > Settings > General.
  2. Set your currency.
  3. Configure store address for tax calculations.

4. Account Settings (Recommended)

  1. Go to WooCommerce > Settings > Accounts & Privacy.
  2. Enable "Allow customers to create an account during checkout".
  3. This ensures students have accounts to access their courses.
Tip: Complete all WooCommerce setup before creating your first course. This ensures the automatic product creation works correctly.

Automatic Product Creation

Classerna automatically handles WooCommerce products for you:

How It Works

📸
Course with Auto-Created Product
Screenshot of the Course Details tab showing the pricing fields. Note that the product is managed automatically.
images/course-auto-product.png

What Gets Synced

Course Setting WooCommerce Product
Course Title Product Name
Course Price Product Price
Pricing Structure Simple or Variable Product
Free Course $0 Price
Note: You don't need to manually create or edit WooCommerce products. Everything is managed through the course editor.

Pricing Structures

Set pricing in the Course Details tab. The appropriate WooCommerce product type is created automatically.

Simple Pricing

A single price for all registrations. Creates a simple WooCommerce product.

📸
Simple Pricing Setup
Screenshot of Course Details pricing section with "Simple" selected and a price entered.
images/pricing-setup-simple.png

Variable Pricing (In-Person/Online)

Different prices for different delivery methods. Creates a variable WooCommerce product with variations.

📸
Variable Pricing Setup
Screenshot of Course Details with "Variable" pricing selected, showing In-Person and Online price fields.
images/pricing-setup-variable.png

Tiered Pricing

Multiple attendance options (Full Course, Weekend Only, Single Session, etc.). Creates a variable product with tiers as variations.

📸
Tiered Pricing Setup
Screenshot of Course Details with "Tiered" pricing selected, showing multiple tier configuration fields.
images/pricing-setup-tiered.png

Free Courses

Check "Free Course" to allow registration without payment. A $0 product is created for the registration flow.

Checkout Flow

When a student registers for a course:

  1. Click Register - Course product is added to cart.
  2. Registration Questions - If configured, modal appears for questions/waivers.
  3. Cart - Student can review and proceed to checkout.
  4. Checkout - Standard WooCommerce checkout with your configured payment methods.
  5. Order Complete - Student is enrolled, email sent, materials become accessible.
📸
Course Checkout
Screenshot of WooCommerce checkout page with a course in the order summary.
images/woo-checkout.png

Order Management

Course registrations appear as standard WooCommerce orders.

Viewing Orders

  1. Go to WooCommerce > Orders.
  2. Find orders containing course products.
  3. Click an order to see details including registration question responses.
📸
Order Details
Screenshot of a WooCommerce order showing the course product, customer info, and registration question responses in the order notes or meta section.
images/woo-order-details.png

Order Information Includes

Supported Payment Gateways

Classerna works with any WooCommerce-compatible payment gateway:

Coupons and Discounts

WooCommerce coupons work with course products:

Tip: Create early bird discounts using coupons with expiration dates that match your registration cutoff.

Processing Refunds

Handle refunds through WooCommerce:

  1. Go to WooCommerce > Orders.
  2. Find and open the order.
  3. Click "Refund".
  4. Enter the refund amount.
  5. Process the refund (automatic with supported gateways).
Note: Refunding an order does not automatically remove the student's access to course materials. You may need to manually manage enrollment status for refunded orders.