Documentation

Find documentation for our Joomla extensions on this page.

JoomCourses - Coupons and Discounts

JoomCourses includes a full coupon and discount system for running promotions, offering partner discounts, or providing special pricing.

How Coupons Work

The coupon system has two levels:

  1. Coupon Types — Templates that define the rules for a group of coupons (discount amount, validity, restrictions)
  2. Coupons — Individual coupon codes generated from a coupon type that users can redeem

Think of a coupon type as the "recipe" and individual coupons as the "instances" distributed to customers.

Coupon Types

Creating a Coupon Type

  1. Go to Components > JoomCourses > Coupon Types.
  2. Click New in the toolbar.
  3. Fill in the coupon type details:
FieldDescription
Title A name for this coupon type (e.g., "Summer 2026 Early Bird")
Discount Type How the discount is calculated (see below)
Valid From Start date when coupons of this type become active
Valid Until End date when coupons of this type expire
VAT Rate VAT rate to apply to the discounted price
Number Mask A pattern for auto-generating coupon codes (e.g., SUMMER-####)
Published Whether this coupon type is active
  1. Click Save.

Discount Types

JoomCourses supports three discount calculation methods:

TypeDescriptionExample
Percentage Reduces the price by a percentage 20% off = a $100 course costs $80
By Value Subtracts a fixed amount from the price $25 off = a $100 course costs $75
Set Value Sets the final price to a specific amount Set to $50 = the course costs $50 regardless of original price

Setting Discount Amounts

After creating a coupon type, configure the discount amount:

  • Discount Amount — The percentage or fixed value of the discount
  • Currency — The currency for fixed-amount discounts

You can set different discount amounts for different currencies if needed.

Restricting Coupons to Specific Courses

To limit a coupon type to certain courses only:

  1. Edit the coupon type.
  2. In the course restrictions section, select which courses this coupon applies to.
  3. If no courses are selected, the coupon applies to all courses.

Restricting Coupons to Specific Users

To create exclusive coupons for certain users:

  1. Edit the coupon type.
  2. In the user restrictions section, select which users can redeem this coupon.
  3. If no users are selected, anyone can use the coupon.

Coupons (Individual Codes)

Viewing Coupons

Go to Components > JoomCourses > Coupons to see all coupon codes.

The list shows:

  • Coupon code (number)
  • Title
  • Coupon type
  • Discount amount
  • Valid dates
  • Status (active, used, expired)
  • Published/applied dates

Batch Generating Coupons

The most efficient way to create coupons is to generate them in bulk:

  1. Go to Components > JoomCourses > Coupons.
  2. Click Generate in the toolbar.
  3. Select:
  • Coupon Type — Which coupon type template to use
  • Amount — How many coupon codes to generate
  1. Click Generate.
  2. The system will create the specified number of coupons with unique codes based on the coupon type's number mask.

For example, if your number mask is SUMMER-####, generated codes might be SUMMER-0001, SUMMER-0002, etc.

Creating Individual Coupons

You can also create coupons one at a time:

  1. Go to Coupons and click New.
  2. Fill in:
  • Coupon Type — Select the parent coupon type
  • Number — The unique coupon code
  • Title — Optional friendly name
  • Valid From / Until — Override the coupon type's validity dates
  • Discount Amount — Override the coupon type's discount
  1. Save the coupon.

Coupon Statuses

StatusMeaning
Published The coupon is active and can be redeemed
Unpublished The coupon is deactivated
Used/Applied The coupon has been redeemed by a user

How Users Redeem Coupons

During the checkout process:

  1. The user adds a course to their cart.
  2. In the cart, they enter the coupon code in the Coupon Code field (if the coupon field is enabled in settings).
  3. They click Apply or Submit Coupon.
  4. The system validates the coupon:
  • Is the code valid?
  • Is the coupon within its validity dates?
  • Does it apply to the courses in the cart?
  • Is it restricted to a specific user?
  1. If valid, the discount is applied and the cart total is recalculated.
  2. A confirmation message shows the coupon is active, including the discount amount.

Adding Coupons to Existing Bookings

Administrators can apply coupons to applications after they've been created:

  1. Go to Applications and open the application.
  2. Click Add Coupon in the toolbar.
  3. Enter the coupon code.
  4. The pricing is recalculated with the discount applied.

This is useful when a customer contacts support with a coupon code after completing their booking.

Tracking Coupon Usage

From the coupons list, you can see:

  • Which coupons have been used and when
  • The user who redeemed each coupon
  • The discount amount that was applied
  • The associated application/transaction

Showing or Hiding the Coupon Field

To control whether the coupon code input appears during checkout:

  1. Go to Configuration > Cart.
  2. Set Show Coupon to Yes or No.

When set to No, the coupon input field is hidden from the checkout page. Administrators can still apply coupons from the backend.

Tips

  • Set expiration dates on coupon types to create time-limited promotions.
  • Use number masks for easy identification (e.g., PARTNER-####, VIP-####, EARLY-####).
  • Restrict by course for course-specific promotions rather than site-wide discounts.
  • Restrict by user for loyalty rewards or partner-exclusive pricing.
  • Generate in bulk when distributing codes at events or through marketing campaigns.
Cron Job Starts

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok