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
| フィールド | 説明 |
|---|---|
| コード | The unique code the customer enters at checkout |
| 割引タイプ | Percentage (0–100) or Fixed amount |
| 割引 | The discount value (percent or fixed amount) |
| 最大割引 | Cap for percentage coupons (0 = unlimited) |
| スコープ | universal (any order), product (specific products), or user (specific users) |
| Products / Users | The products or users the coupon applies to, when the scope is product or user |
| 数量 | Total number that can be issued (0 = unlimited) |
| ユーザーあたりの最大使用回数 | How many times one user may use it (0 = unlimited) |
| 最小注文金額 | Minimum order total required to apply the coupon |
| 通貨 | Currency the coupon applies to |
| Start / Expire time | The validity window |
| 都道府県 | Whether the coupon is active |
仕組み
- Create a coupon on the Coupons page and share its Code.
- At checkout, the customer enters the code on their order.
- 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.