Skip to content

Coupons

Discount codes for promotions, launches, and customer retention.

Creating a Coupon

Go to Components → LicenseDock → Coupons → New.

FieldNotes
CodeWhat the customer types in (e.g. LAUNCH20). Case-sensitive
DescriptionInternal note. Not shown to customers
Discount Typepercentage or fixed
Discount ValueThe percent (0–100) or fixed amount
Applies Toall, one_time, or recurring – restrict by billing type
ProductsEmpty = all products. Otherwise restrict to specific products
Min Order AmountSubtotal must be at least this much
New Customers OnlyReject if the customer already has a completed order
Max UsesTotal uses across all customers. 0 = unlimited
Max Uses per UserPer-customer cap, counting completed orders only
Valid From / Valid ToOptional date range
StatusPublished, Unpublished

How Customers Apply Coupons

The coupon form sits on the checkout page. The customer enters their code, clicks Apply, and the discount appears on the order summary.

Initial Order Only

Coupons apply once – to the initial order. They never recur on subscription renewals. If you want to give returning customers a deal, use the per-product Renewal Discount field on the product instead (see Products).

Trial vs Coupon

A coupon can't be combined with a trial. If a customer has a trial selected and applies a coupon, the trial flag is cleared.

Usage Tracking

Coupon usage is counted only after successful payment, not when the code is entered. Per-customer checks count only completed orders.

Validation Reasons

If a coupon is rejected, the customer sees one of these messages:

ReasonCause
Invalid codeNo published coupon matches
Maximum uses reachedtimes_used ≥ max_uses
You've already used this couponPer-user limit hit
Not yet validCurrent time is before valid_from
ExpiredCurrent time is after valid_to
Minimum order amount not metSubtotal below min_order_amount
For new customers onlyCustomer has prior completed orders
Not valid for this billing typeapplies_to restricts to one-time or recurring
Not valid for this productproduct_ids doesn't include the chosen product

Joomla Extensions by Contona