The following article will show you how to create a Coupon in WooCommerce.

Banner for post: How do you create a coupon in WooCommerce?

Steps to Create Coupon Codes

To enable the use of coupon or discount codes with WooCommerce, follow the steps below:

  1. Go to: WooCommerce > Settings > General > Enable Coupons
  2. Tick the checkbox to Enable the use of Coupon Codes.
  3. Save Changes.

You can then proceed to Add Coupon:

  1. Go to Marketing > Coupons. If you’re using a freshly-installed WooCommerce, you’ll see an initial screen to “Create your first coupon” or “Learn More”. Existing stores will start on the Coupons screen.
  2. Click on Add Coupon to create a new coupon or Edit an existing one 
  3. Select the Coupon Code to be used by your customers. It should be unique since it’s used as an identifier. There’s an option to:
    • Use Your Code – Enter an alphanumeric code of your choice
    • Use Any Code – select the Generate Coupon Code button, and WooCommerce will auto-generate a unique code for you.
  4. Enter a Description (optional) – You can enter details such as the name of the promotion, customer name/details, promotion start, end dates, etc. 

Under the Coupon Data, there are three sections where you can further customize the discount settings: General, Usage Restriction, and Usage Limits.

Screenshot of the Add or Edit Coupon Code in WooCommerce

General Settings:

This is where you’ll make some necessary customization to your Coupon. It has four fields:

  1. Discount Type:
    • Percentage discount – gives a percentage discount for selected products only.
    • Fixed cart discount – gives a fixed total discount for the entire cart 
    • Fixed Product discount – offers a fixed total discount for selected products only.
  2. Coupon Amount: This is a fixed value (currency) or percentage depending on the discount you choose. 
  3. Allow Free Shipping: Removes the shipping cost when the Coupon is used. You need to enable free shipping for this option to work.
  4. Coupon Expiry Date: Uses your site’s time zone setting Settings > General > Timezone in WordPress to set the coupon expiry date.

Check this WooCommerce documentation for Usage Restriction and Usage Limits settings.

Note: If you are using Paid Memberships Pro, see our documentation on “How Do You Create a Discount Code in Paid Memberships Pro?“.