Coupons are great for marketing, and you can easily and quickly create one or more coupons with this guide.

In fact, you do not need to install additional plugins, use a specific theme or anything else. The discount codes feature in WooCommerce is built in, and is easy to use.

Discount codes in WooCommerce can be used for gift cards or promoting your shop with a good offer. It is possible to make very simple discount codes. But you can also do really advanced setups, which you can see examples for later in this post.

How To Create Coupon Codes In WooCommerce

  1. Go to WooCommerce -> Coupons
  2. Click on ‘Add coupon’
  3. In the field that says ‘Coupon code’ you write what the discount code itself should be called. This could be ’20PROCENT’, ‘BLACKFRIDAY’, ‘BIRTHDAY’ or the like. Below you can add a WooCommerce coupon description, which is smart if you are making many discount codes in WooCommerce. You will be able to see the description of the discount code in the overview at ‘Coupons’.
  4. At discount type you can choose from four different options
    1. Basket discount – determine a cash amount you can save on total price of the products that are in the cart.
    2. Shopping cart % discount – determine a percentage you can save on total price of the shopping cart.
    3. Product discount – here you can determine a cash amount you can save on a particular product you have for sale.
    4. Product % discount – here you can determine a percentage you can save on a particular product you have for sale.
  5. Press ‘Publish’ and you now know how the basics work with discount codes in WooCommerce!

WooCommerce Coupons Features

Allow Free Shipping

Here you can create a WooCommerce coupon for free shipping. For example, you can make discount codes in WooCommerce as “only” giving free shipping. Thereby the user will not save on the shopping cart, but only shipping cost.

The WooCommerce coupon for free shipping can be great for smaller campaigns. Here you can provide free shipping, without any cash discount on the cart.

If you want to use a WooCommerce coupon for free shipping, if the cart is above an amount, you should use another feature instead – no need to use a coupon for that.

WooCommerce Coupon Expiry Date

If you do not set a date in this field, your discount code will work until you manually delete it. If your discount code is part of a campaign, it would be a good idea to set an expiry date.

Minimum Order Amount

If you want to make sure that the customer buys for a certain amount before the discount code is valid, the amount can be entered here. If you have products that cost less than USD 10, and at the same time have a discount code that gives a USD 10 discount, it may be a good idea to set a minimum order amount.

Maximum Spend

This feature is the opposite of ‘Minimum order amount’. If you would like to set a max for how expensive a product or the amount in the shopping cart must be before a discount code with % applies, you can enter it here.

Individual Use Only

If you want to make sure that the discount code cannot be used with multiple coupons, you should check this box. It is, of course, entirely up you, if you want to use this features, but many webshops use this feature if it is a “public discount code” that is used in the marketing, so that one can not suddenly mix several discount codes in WooCommerce together.

Exclude Sales Products

This feature allows you to make a discount code that does not apply products that are already discounted.


Should your discount code only be used for some specific products? Search for the products and select them.

Exclude Products

If you have any specific products that you do not want the discount code to work for, you can enter the products here.

Product Categories

If the discount code only applies to a specific product category, you can enter it here. If you have a webshop with clothes, and would like to have cleaned out in socks, you can, for example, make a favorable discount code and set it only to work on socks.

Exclude Categories

If you have any product categories you are not interested in having a discount on, it can be chosen here.

E-mail Restrictions

If the discount code only applies to a particular person (the person’s e-mail), it can be selected here. If one has made a discount code for one person that one is not interested in being able to work for others, this function will be smart.

Number Of Uses Per Coupon

With this feature you can set a max for how many times the discount code can be used – if it is used as a gift card, this must be set to ‘1’.

Restrict Use To X Products

If you have made a discount code that applies to the shopping cart, you can with this function choose that there must be a certain number of products in the basket before it works – This function is most made for % discount on the basket.

Usage Limit Per User

If the discount code can be used by the same user several times, you just leave the field blank, but if you want to set a max for how many times a single user can use the code, insert the number into this box.

WooCommerce Coupon Description

The WooCommerce coupon description is an internal feature. This is only for you, so it will be easier for managing several coupons at once – it will not be visible for the user.

In the WooCommerce coupon description you can add all sort of relevant information, that will make it easer to remember the cause of coupon, if you look back several months after.

Remember that the WooCommerce coupon description should not include the most important details – they should be included in the title for easier management.

Advanced Coupons For WooCommerce

Sometimes you want to make more advanced coupons in WooCommerce, and here the standard functions can sometimes be defective. Below you will find guides for more unique discount code setups.

Start Date Of Discount Code

Unfortunately, it is not possible to make a start date on a discount code. It could be ideal for larger campaigns, so you can more easily plan the process, but unfortunately this is not an option.

3 For The Price Of 2 – Cheapest Product Free

The classic supermarket offer is not a standard feature of WooCommerce. However, Lucian Florian has made a good guide for this kind of advanced coupons in WooCommerce – which you can find here.

Free Gift Is Automatically Added To The Basket

The easy way to do this is to make a discount code with a 100% discount on a particular product, but unfortunately this does not help to add the product to the basket automatically. However, there is a plugin for this.

Automatic Discount Code That Only New Customers Can Use

Netflix, Spotify and Amazon all have free trial periods – it’s an easy way to get people to try their products. In the same style, it might be a good idea to offer an advanced coupon in WooCommerce in the same style, to the potential customers who have not dealt with you before.

This is not a standard feature of the WooCommerce coupon, but fortunately there is a good plugin that can address this challenge – unfortunately it costs a little.

WooCommerce Coupon For Free Product

The easiest way to provide a WooCommerce coupon for a free product is to create a 100 % coupon, but limit it to only the single product you want to give away for free.

This WooCommerce Coupon for a free product will not add the product to the cart automatically, but will just make it possible for the user to get a free product.

However if you want the product to be free for everyone, you should not use a WooCommerce Coupon for a free product, but instead just set the price to 0.

If you have more questions for discount codes in WooCommerce, please feel free to write a comment below and I will help as soon as possible.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Published by Tobias Hyldeborg

Tobias is the owner of Hyldeborg Media and a Senior SEO Specialist at GroupM. He have been working with digital marketing since 2010 and has been both agency- and client side.

Join the Conversation

1 Comment

Leave a comment

Leave a Reply