How to create a coupon in Woocommerce? Discount, flat amount, free shipping, etc.

Before being able to use coupons, please make sure this feature has been setup for your website. You can enable the default coupons under WooCommerce > Settings > General and then ticking the checkbox for Enable the use of coupons. Then Save Changes.

You can find the coupons section in the backend, under WooCommerce / Coupons area.

Add a new coupon

  1. Go to WooCommerce > Coupons.
  2. To create a new coupon press the “Add Coupon” button or to edit an existing one hover it and press the “Edit” link.
  3. Coupon code – this is the code communicated to the customers, the code that they will need to input at checkout.
  4. Description – this is used internally and provides you information regarding the coupon.

Under Coupon Data, there are three sections you can use to add restrictions and limits for the coupon: General, Usage Restriction, and Usage Limits.


  • Discount type gives you 3 default options:
    • Percentage discount – if the cart contains three (3) t-shirts @ $20 each = $60, a coupon for 10% off applies a discount of $6.
    • Fixed cart discount – A fixed total discount for the entire cart. For example, if the cart contains three (3)  t-shirts @ $20 each = $60, a coupon for $10 off gives a discount of $10.
    • Fixed product discount – A fixed total discount for selected products only. Customer receives a set amount of discount per item. For example, three (3) t-shirts @ $20 each with a coupon for $10 off for one of the 3 t-shirts, applies a discount of $10.
  • Coupon amount – The fixed value or percentage (depending on discount type you choose) that should be entered without a currency unit or a percent sign.
  • Allow free shipping – Check if you also want to offer free shipping with the coupon. Requires Free Shipping to be enabled.
  • Coupon expiry date – Date the coupon should expire and can no longer be used. Expiry happens at 12:00 am or 00:00 on the date chosen. (If you want a coupon to be valid through Christmas Day but invalid the moment Christmas is over, set the expiration date to YYYY-12-26 as it will expire on YYYY-12-26 00:00. It uses your site’s time zone setting at Settings > General > Timezone in WordPress)

Usage Restriction

  • Minimum spend – Allows you to set the minimum subtotal needed to use the coupon.  Note: The sum of the cart subtotal + tax is used to determine the minimum amount.
  • Maximum spend – Allows you to set the maximum subtotal allowed when using the coupon.
  • Individual use only – Tick the box if you don’t want this coupon to be used in combination with other coupons.
  • Exclude sale items – Tick the box if you don’t want this coupon to apply to products on sale. Per-cart coupons do not work if a sale item is added afterward.
  • Products – Products that the coupon will be applied to, or that need to be in the cart in order for the “Fixed cart discount” to be applied.
  • Exclude products – Products that the coupon will not be applied to, or that cannot be in the cart in order for the “Fixed cart discount” to be applied.
  • Product categories – Product categories that the coupon will be applied to, or that need to be in the cart in order for the “Fixed cart discount” to be applied.
  • Exclude categories – Product categories that the coupon will not be applied to, or that cannot be in the cart in order for the “Fixed cart discount” to be applied.
  • Allowed Emails/Email restrictions – Email address or addresses that can use a coupon. Verified against customer’s billing email. WooCommerce 3.4+ also allows you to include a wildcard character (*) to match multiple email addresses, for example, `*` would make any gmail address.


Leave a Reply

Your email address will not be published. Required fields are marked *

0.6460.646', '46