Ahosting Logo
Knowledge Base

How to Set Up WooCommerce Coupons and Discounts

Coupons and discounts are powerful tools to attract customers and boost sales. WooCommerce includes a built-in coupon system.

Enable Coupons

  1. Go to WooCommerce > Settings > General
  2. Check Enable the use of coupon codes
  3. Click Save changes

Create a Coupon

  1. Go to Marketing > Coupons
  2. Click Add coupon
  3. Enter a coupon code (e.g., SAVE20, FREESHIP, SUMMER2026)
  4. Add a description (for internal reference)

Coupon Types

Type Description Example
Percentage discount Percentage off cart total 20% off entire order
Fixed cart discount Fixed amount off cart total $10 off order
Fixed product discount Fixed amount off specific products $5 off each selected item

Configure Coupon Settings

General Tab

  • Discount type: Choose from the types above
  • Coupon amount: Value of the discount
  • Allow free shipping: Enable free shipping with this coupon
  • Coupon expiry date: When the coupon expires

Usage Restriction Tab

  • Minimum spend: Order must exceed this amount
  • Maximum spend: Order cannot exceed this amount
  • Individual use only: Cannot be combined with other coupons
  • Exclude sale items: Do not apply to items already on sale
  • Products: Apply only to specific products
  • Exclude products: Do not apply to specific products
  • Product categories: Apply only to specific categories
  • Allowed emails: Restrict to specific customer emails

Usage Limits Tab

  • Usage limit per coupon: Total times coupon can be used
  • Limit usage to X items: Max items discount applies to
  • Usage limit per user: Times each customer can use it

Example: 10% Off First Order

  • Code: WELCOME10
  • Type: Percentage discount
  • Amount: 10
  • Usage limit per user: 1
  • Allowed emails: Leave blank (new customers)

Example: Free Shipping Over $50

  • Code: FREESHIP50
  • Type: Fixed cart discount
  • Amount: 0
  • Allow free shipping: Checked
  • Minimum spend: 50

Bulk Generate Coupons

For large promotions, use plugins like Smart Coupons or Coupon Generator to create unique codes in bulk.

Tip: Track coupon performance in WooCommerce > Reports > Coupons