How To Set Up and Extend WooCommerce Coupons

- written by

WooCommerce Coupons offers a great way to set up discounts on products and/or services. In this post, I show you how to create a coupon with the flexibility of expiration dates and usage-per-coupon.

In addition, I will share other posts that show you how to extend the basic coupon functionality in WooCommerce.

What is a WooCommerce Coupon?

Coupons are useful for way thanking existing customers, as well as enticing new customers. It also allows you to create custom codes that you can easily share online, in newsletters, or in personal emails to clients as a thank-you.

To add a coupon, go to WooCommerce > Coupons

Coupon Data General

You will be sharing the coupon code with customers, so make it simple and not some complicated mix of numbers and characters.

You have three options for discounts: a flat percentage,  a fixed cart discount for the customer’s cart total, or a fixed product discount for a specific product.  Free shipping can be activated, as long as you have shipping enabled and of course, an expiration date for the coupon.

WooCommerce coupons general data

Coupon Data Usage Restriction

Here is a breakdown of all the options:

Minimum spend – You may choose to have a minimum amount that customers add to the cart before they can use the coupon

Maximum spend – This is good for large discounts. You may want to limit up to a certain amount.

Individual use – Restricts the customer to using just this one coupon. Especially useful on cart discounts.

Exclude sale items – Lets you exclude any products or services you have on sale. Make note on the coupon that it cannot be applied to sales items so they aren’t surprised or confused.

Products – Here you can choose any product you have created to apply the discount to.

Exclude products – Exclude any specific items from the discount. This is good if you have created a cart discount, but have some disclaimers on just a few items.

Product categories – Same as products except you can use a category. You may have created a category just for these instances.

Exclude product categories – You may have created a category just for these instances.

Allowed Emails – A list of emails to check against the customer’s billing email when an order is placed.

woo coupons updated screenshots

Coupon Data Usage Limits

The limits on usage can be set in two ways. You can set a restricted amount that the same coupon can be used over and over with all customers. Or you can set a restricted number of times a single customer can use the coupon.

Applied Coupon

Once they enter the coupon in the field and click on apply, a message appears and the final total reflects the discount.

WooCommerce Blocks for Coupons

Although there are not specific blocks for coupons, I would suggest that you use the Hand-pick Products block that would allow you to choose specific products that have coupons available.

This would be great way to send a customer to a landing page with a special coupon for a group of products where they could use their personal coupons code.

hand-pick products block

Using a Block to Offer Coupon Deals on Posts and Pages

You might be writing a post about something to do with an online store and it’s products. Whether they are physical products or even services. Here is a simple way to use one of the WooCommerce blocks to display those coupon-related products.

Use a Category

You could do this a couple of ways.

Create it with an existing category. When creating your coupon you would simply add that category.

On the other hand, if they are specific products you would need to:

  • Add them to the coupon as individual products
  • Create a category just for the usage and assign them to it

Adding it to your post or page

You simply create the post, for example I might be writing about the three microphones I have for sale. Then I would use the WooCommerce block for categories to add the products. Since there are three products, I have set my column for 3.

Adding the text in the post before this, I now have a post with the three products at the end with an option to purchase them using the coupon code.

Need More Options for Coupons?

WooCommerce has several extensions that can fill just about any need that goes beyond the choices WooCommerce allows. Here is a list of posts (and a link) that we have on our site that will allow to you extend the WooCommerce coupon feature.

Redirect a Customer to a Special Coupon Page

After making a purchase, you may want to redirect the customer to a landing page with a special thank you. This could be a coupon for a specific product, or just on the next purchase. Here is where I’ll show you how to do that easily.

Automatically send a Coupon When a Customer Cancels an Order

There are a lot of reasons someone might cancel an order. Some of them are out of our hands, but other times there might be a way to give an incentive to reconsider. One example of this could be that they found the price a bit higher on the store. A possible solution. Send them a coupon for some savings if they order again. This post shows you how.

Auto-Applying Coupons to the Cart Using a Custom URL

There is nothing better than making it easy for WooCommerce store customers. And small things, like giving them a URL to a product that automatically applies the discount to their cart, is one of those ways.

Restrict Coupons by Role or Location

The ability to control coupons comes up often . You may want to set up coupons based on new customers vs. existing customers, or other roles. Or optionally, restrict coupons to a geographical areas based on several factors that would benefit the customer. I wrote a post to show you how here.

A Full Set of Coupon Options

WooCommerce advanced coupons gives you dynamic control of your coupons. It will let you easily set up a buy one, get one, and long-term coupons that will work using for your specific needs using conditional logic. There’s a lot more you can do with it and you can read my post here.

Specifically Create a Buy One, Get One Offer

Using coupons to give someone a deal on a discount when purchasing, or even a get one for the price of two, is a great way to increase your clients conversions. This post shows you how this plugin does that plus a lot more.

Give Store Credits to Customers

Sometimes you end up using a coupon for a store credit you need to give, but the Store Credit extension makes it easier and is more specific to that need. Here is a post showing you more of what you can do with it.

Add a Custom Message with a Coupon Code at the Top of Your WooCommerce Pages

With the WooCommerce Conditional Content extension you can add a custom message to the top of any WooCommerce page or products. It’s easy to add a coupon code and link in the message using this plugin. I show you how it works here.

Extend Coupon Restrictions

Learn how you can restrict coupons in WooCommerce for new customers, existing customers and based on their location in my post here.

Give a Free Gift Coupon

You can reward customers by using the Free Gift Coupons. It lets you easily create a code that will give customers access to a free gift. It’s a perfect solution for loyal customers. Check out my post here.

How to Reward Your Customers Who Leave a Review on Your WooCommerce Store

Reviews are so important to the success of an online store. And when people take the time to review a product, why not reward them with a discount by using this extension. You can use it as an incentive to push people to leave reviews.  But to send them a surprise credit after leaving a review?  Now that’s cool. Learn more about it here on my site.

Giving a Free Product Without a Coupon

You may be thinking that you want to specifically give a free product to certain customers without the hassle of a coupon or going through the checkout process. If that’s the case, see my post on the WooCommerce Give Products extension.

Create Specific Customer Discounts and Pricing

If you build sites with WooCommerce, likely, a project will come along where you will need to implement the ability for your client to create custom price products for a specific customer or group of customers. It might be long-time buyers that they want to give a discount on a certain product to. This plugin lets you do this based on user roles.


Only the posts on the builder blog here may include affiliate links. If you click on them and make a purchase, I'll get a commission, at no cost to you.