Saltar al contenido principal

Coupon

Coupons let you offer discounts that customers redeem with a code at checkout. Manage them on the Coupons page in the Casdoor admin sidebar.

Coupon fields​

CampoDescripción
CódigoThe unique code the customer enters at checkout
Tipo de descuentoPercentage (0–100) or Fixed amount
DescuentoThe discount value (percent or fixed amount)
Descuento máximoCap for percentage coupons (0 = unlimited)
Alcanceuniversal (any order), product (specific products), or user (specific users)
Products / UsersThe products or users the coupon applies to, when the scope is product or user
CantidadTotal number that can be issued (0 = unlimited)
Uso máximo por usuarioHow many times one user may use it (0 = unlimited)
Monto mínimo del pedidoMinimum order total required to apply the coupon
MonedaCurrency the coupon applies to
Start / Expire timeThe validity window
EstadoWhether the coupon is active

Cómo funciona​

  1. Create a coupon on the Coupons page and share its Code.
  2. At checkout, the customer enters the code on their order.
  3. Casdoor validates the coupon — scope, validity window, minimum order amount, quantity, and per-user usage limit — and applies the discount to the order total.

Each redemption is recorded so that quantity and per-user usage limits are enforced.