Coupons
Coupons are discount codes that customers enter at checkout. They work best for targeted promotions like rewarding a specific player, running a limited campaign, or offering a discount on someone’s first purchase. If you want discounts that apply automatically without a code, use Sales & Promotions instead. For prepaid store credit that customers can gift to others, see Gift Cards.
Creating a Coupon
Go to Dashboard > Coupons, click Create Coupon, fill in the fields below, and click Create. If the coupon is marked active, customers can use it immediately.
Fields Reference
| Field | Description |
|---|---|
| Code | The unique code customers enter at checkout. Case insensitive. |
| Discount Type | Percentage or Fixed. Determines whether the discount is a percentage of the total or a flat currency amount. |
| Discount Value | The discount amount. For percentage, a value between 0 and 100. For fixed, a currency amount. |
| Application Scope | Basket Total applies the discount to the entire cart. Packages applies it only to matching packages. |
| Package Scope | All targets every package, Specific targets selected packages, Categories targets all packages within selected categories. |
| Override Sales | When enabled, the coupon discount applies even if packages are already on sale. When disabled, sale prices take priority. |
| Minimum Purchase Amount | Minimum cart total required before the coupon can be applied. Leave empty for no minimum. |
| Maximum Discount Amount | Caps the discount at this amount. Useful for percentage coupons to prevent excessively large discounts. |
| Max Uses | Total number of times this coupon can be redeemed across all customers. Leave empty for unlimited. |
| Max Uses Per User | Number of times a single customer can use this coupon. Leave empty for unlimited. |
| Valid From | The date and time when the coupon becomes active. |
| Valid Until | The date and time when the coupon expires. |
| Active | Whether the coupon is currently enabled. Disabled coupons cannot be redeemed. |
| Note | Internal note visible only to store admins. Use this for tracking campaign details or approval notes. |
| Player Username | When set, the coupon is personalized for a specific player. |
| Restrict to Player | When enabled alongside a player username, only that player can redeem the coupon. |
| Packages | Specific packages the coupon applies to. Used when Package Scope is set to Specific. |
| Categories | Categories the coupon applies to. Used when Package Scope is set to Categories. |
When Package Scope is set to All, you do not need to select specific packages or categories. The coupon will apply to every package in your store.
Validation at Checkout
When a customer enters a coupon code, FluxStore checks the following in order:
- The coupon exists and is active
- The current time is between the Valid From and Valid Until dates
- The coupon has not exceeded its Max Uses limit
- The customer has not exceeded the Max Uses Per User limit
- If Restrict to Player is enabled, the customer’s username matches
- The cart meets the Minimum Purchase Amount threshold
- The cart contains at least one package matching the coupon’s scope
If any check fails, the customer sees an error explaining why.
When Override Sales is disabled and a package is already on sale, the sale price takes priority and the coupon does not apply to that package. Enable Override Sales if you want the coupon to replace the sale discount.
Editing and Disabling Coupons
Go to Dashboard > Coupons, click the coupon you want to change, and update any fields. To quickly disable a coupon without deleting it, toggle Active off. This immediately prevents new redemptions while preserving the coupon’s history.
Changes take effect immediately. If a customer is mid-checkout with a coupon you just disabled, it will be rejected when they try to complete payment.
Use Cases
Seasonal promotion. Create a SUMMER25 coupon with 25% off all packages. Set the Valid From and Valid Until dates to cover the promotion window and optionally cap total redemptions with Max Uses.
First purchase discount. Set Max Uses Per User to 1 and share the code with new players so each person can only use it once.
VIP player reward. Set a Player Username and enable Restrict to Player so only that player can redeem the code. Add a Note like “Reward for reporting a critical bug” for your records.
Category sale. Set Package Scope to Categories and select the relevant categories. For example, 10% off everything in “Ranks.”
Capped percentage discount. Use 50% off with Maximum Discount Amount set to $10.00. The customer gets half off, but never more than $10 in savings.
Next Steps
- Sales & Promotions for automatic discounts that apply without a code
- Gift Cards for store credit that customers can purchase and redeem