Some things in WordPress seem so intuitive. Finding out how to add a coupon in WordPress unfortunately, is not one of those things. A coupon is a great way to get customers to try your product, promote new products, attract return customers for another purchase, or finally, order something they’ve been considering. Before sharing a discount code however, you’ll want to decide exactly what it covers and how often customers can use it. So let’s go through the process of how to add a coupon into your WordPress.
First of course, when we talk about adding coupons in WordPress, we are going to use the default e-commerce platform WooCommerce that comes stock with just about every WordPress theme.
Let’s walk through a simple coupon setup.
1. Enable coupons
In your WordPress dashboard on the left hand side where all your menu options are, open WooCommerce → Settings → General. Check Enable the use of coupon codes, then save. (If your WordPress doesn’t have WooCommerce installed, you can do so here)

2. Create your code
Go to WooCommerce → Coupons (click on it) → Add new coupon.

After clicking add new coupon, you will see a screen like this:

Here is where you will fill out all your coupons details. Let’s start at the beginning:
- 1. Coupon Code – This is the code of the coupon your users will enter in order for the coupon to take effect. Something like SAVE10 or FALL25, or anything related to your campaign that will make it easy for the user to remember.
- 2. Description – A description of the coupon. This is useful if you’ve multiple coupons, and want your developer to remember which coupon does what.
- 3. Fixed Cart Discount –
Under Coupon data, choose a discount type:
Type What it does Percentage Takes a percentage off eligible products Fixed cart Deducts a set amount from the cart Fixed product Deducts a set amount per eligible item
- 4. Coupon Amount – This is the value of the coupon.
- 5. Allow free shipping – Check this box to let the coupon grant free shipping. You’ll also need a Free Shipping method in the relevant shipping zone set to require a valid free shipping coupon.
- 6. Coupon expiry date – If your coupon is for a limited promotion, enter an expiration date here. Keep in mind that the coupon stops working at the start of that date. If you want your sale to run through Sunday, set the expiration date to Monday.
4. Set the rules
Next, click the Usage restriction tab under Coupon data. This is where you decide what your coupon can actually be used for.
You don’t have to fill out every field. For a simple storewide discount, you may only need a couple of these:
- Minimum spend – How much a customer needs to spend before they can use the coupon.
- Individual use only – Check this if you don’t want customers combining this coupon with other coupon codes.
- Exclude sale items – Useful if you’ve already discounted products and don’t want to discount them again.
- Products and product categories – Choose which products or categories qualify, or exclude the ones you don’t want included.
For example, if you’re offering 10% off purchases of $50 or more, enter 50 in the Minimum spend field. If certain products are excluded, make sure you mention that wherever you share the code.
Next, click Usage limits.
Usage limit per coupon controls how many times the code can be used in total. Usage limit per user controls how many times each customer can use it. If you want each customer to use the coupon once, enter 1 in the per-user field.
5. Publish and test your coupon
Once you’re happy with the settings, click Publish.
Now, head over to your store and try it yourself. Add a product to your cart, enter the code, and check the total. Is it taking off the amount you expected? If you included free shipping, check that too.
Try breaking your own rules as well. If you set a $50 minimum, try using the code on a $30 order. It’s much easier to catch a mistake now than after you’ve emailed the coupon to your customers.

Before you share your coupon
Make the offer easy to understand. Something like:
“Use SAVE10 for 10% off orders of $50 or more.”
If there are exclusions or an end date, include those alongside the offer. Nobody wants to get to checkout and find out the discount doesn’t apply to what they’re buying. Be specific!
That’s it! Your coupon is ready to share. Just remember to test it first, especially if you’ve added restrictions or free shipping. If you need help adding coupons or anything else, we’re here 24/7! We can even automate coupons for you for the year, so you don’t have to worry about them! Just
