Coupons

Company-Level Toggle

Coupons can be enabled or disabled at the company level. If disabled, the coupon code field won't appear at checkout.

Creating a Coupon

  1. Go to Coupons in the dashboard sidebar.
  2. Click Add Coupon.
  3. Fill in:
FieldDescription
CodeUnique coupon code (per company). This is what customers enter at checkout.
Typeonce (single use per customer) or multiple (reusable).
ValueDiscount amount (dollar value).
Min orderMinimum order subtotal required to use this coupon.
Usage limitMaximum number of times this coupon can be used in total.
Expiry dateWhen the coupon expires.
ValidToggle to activate/deactivate the coupon.

How Coupons Work at Checkout

  1. Customer enters a coupon code at checkout.
  2. The system validates the code server-side:
    • Coupon exists and belongs to the company.
    • Coupon is marked as valid (active).
    • Not expired.
    • Minimum order amount met.
    • Usage limit not reached.
  3. If valid, the discount is applied to the order total.
  4. On successful order, usage count is atomically incremented.

Managing Coupons

From the coupons dashboard you can:

  • Edit existing coupons (change value, limits, expiry).
  • Activate/deactivate coupons.
  • Delete coupons no longer needed.
  • View usage — See how many times each coupon has been used vs. its limit.