Coupon
Coupons を使用すると、顧客がチェックアウト時にコードで利用できる割引を提供できます。Casdoor 管理画面のサイドバーにある Coupons ページで管理します。
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 |
仕組み
- Coupons ページでクーポンを作成し、その Code を共有します。
- チェックアウト時、顧客は注文でコードを入力します。
- Casdoor はクーポンを検証します — スコープ、有効期間、最低注文金額、数量、ユーザーごとの使用制限 — そして注文合計に割引を適用します。
各引き換えは記録されるため、数量とユーザーごとの使用制限が適用されます。