WordPress For Non-Techies: Free WordPress Tutorials – WPCompendium.org

How To Create WooCommerce Coupon Codes For Your WordPress eCommerce Store

How To Create WooCommerce Coupon Codes For Your WordPress eCommerce Store

Do you have a WordPress eCommerce store? If you have an online store or web shop that runs on WooCommerce, using coupons not only allows you to offer customers discounts on sales and promotions but also to track where your sales are coming from.

This step-by-step tutorial shows you how to create and use promotional coupons in WooCommerce to track sales and improve conversions in your WordPress eCommerce store.

WooCommerce Coupons

With the WooCommerce plugin installed, you can not only set up an ecommerce store that allows you to create manage coupons to offer discounts to your customers but you can also enhance the functionality of your coupons with a number of Woocommerce extensions created by the WooCommerce developer community.

Some of these coupon extensions include:

How To Create A Coupon

To create a new coupon, log into the Dashboard and go to WooCommerce > Coupons

(WooCommerce > Coupons)

Click on ‘Add Coupon’ …

(Add coupon)

In the Coupon data > General section, add the following details:

  1. Coupon Code – (see ‘Tracking Coupon Performance’ section below for guidelines on creating coupon codes that will help you track sales)
  2. Coupon Description – This description is for internal admin use only. Add a descriptive sentence (e.g. where will the coupon be used) and the coupon discount value.
  3. Discount type – Enter the correct discount type (Percentage Discount/Fixed Cart Discount/Fixed Product Discount)
  4. Coupon amount – Enter only the value of the coupon here (no percentage or dollar amount symbol)
  5. Coupon expiry date – If the coupon is meant to expire, enter its expiry date here, otherwise leave as is.

(Add new coupon > Coupon data > General tab)

If you want to prevent customers from applying multiple coupon codes to their purchases, go to Coupon data > Usage restriction and tick the ‘Individual use only‘ checkbox . Otherwise, leave things as they are if you’re ok about customers using the coupon in conjunction with other coupons  …

(Usage restriction tab)

Select whether to publish the coupon immediately or schedule it for activation at a future date, then click Publish

(Coupons can be activated immediately or scheduled for a later date)

Your coupon should now be saved (or updated if you’re editing an existing coupon).

To view your new coupon, select WooCommerce > Coupons

(Click WooCommerce > Coupons to view all coupons)

Your new coupon will display in the Coupons table …

(WooCommerce Table of Coupons)

Coupon codes are not case sensitive …

(Coupon codes are not case sensitive)

WooCommerce will recognize the coupon whether it gets entered in all caps, lowercase, sentence case, etc., so you can display your coupons however you prefer and customers will get their discounts …

(Display your coupons using all caps, lowercase, sentence case, etc.)

Tracking Coupon Performance

You can track how your coupons perform inside the WordPress dashboard by going to WooCommerce > Reports and clicking on ‘Coupons by date’ tab …

(WooCommerce reports – Coupons)

You can also track how your coupons perform in Google Analytics (Conversions > Ecommerce >Marketing > Order Coupon) using a WooCommerce extension like WooCommerce Google Analytics Pro

(Track coupon performance in Google Analytics)

The above methods show you how your coupons perform in terms of sales. With a little bit of planning, however, you can also use discount coupons to improve your marketing campaigns.

Coupon Planning

If you plan to use coupons in sales promotions and events or run print ads in magazinesand publictions where you offer discounts, consider using a different coupon code for each campaign. This way, you will not only be able to measure your sales but also track where sales came from.

Coupon Specifications

Developing guidelines and specifications for creating and implementing coupons help keep your marketing strategies consistent.

Here, for example, are some things to consider when creating a coupon:

Coupon Code Format

Part of your guidelines and specifications for creating coupons should include how you ‘format’ coupons for different events.  This way, everyone in your organization will be able to understand what the coupon means and which marketing campaign the coupon is associated with.

For example, if you promote at regular industry or trade events and offer a 15% coupon at these events, a simple format you can use is:

Event (or City) Name + Discount Code

For example:

Here is a format you can use to make coupon codes easier to track for special or annual sale events (e.g. Mother’s Day, Christmas, etc.):


Let me show you an example of using this format to create a coupon for a special event (e.g. Boxing Day sale) …


The above coupon code stands for:

The above format lets you see at a glance that sales made using this coupon came from a MailChimp email broadcast promotion during Boxing Day 2017, where customers were offered a 40% discount …

(Track marketing results using coupon codes)

Instead of using MC (MailChimp), you could also have used EM (email marketing) to differentiate it from a  similar campaign run during the same event using a different marketing method.

This is also shown in the results above, where:

Coupon Codes – Additional Information

Coupons can be scheduled to turn on for future events …

WordPress treats WooCommerce Coupons as a custom post type. To learn about scheduling posts for future events (including custom posts like coupons) , see the tutorial below:

WooCommerce Coupons Tutorial

Enhancing WooCommerce Coupons

Like most WordPress related areas, there are plugins and extensions available that let you easily add new features and enhancements to coupons.

For example, check out the extension below …


(Smart Coupons for WooCommerce)

Smart Coupons for WooCommerce by WebToffee is a WooCommerce extension that provides additional sought-after features to the default WooCommerce Coupon and improves its functionality.

The plugin adds many features and provides a wider range of possibilities to native WooCommerce coupons. This includes restricting the coupons with various checkout options. The plugin can be used to apply restrictions to coupons based on shipping methods, payment methods used by the customer, based on user roles, and based on the location of the shipping or billing address.

(Add additional features to coupons)

Using the plugin, you can create multiple giveaway products in a single coupon. On applying the giveaway coupon, customers can choose any one of the giveaway products included in the coupon on checkout. Also, the plugin allows you to bulk generate coupons that can be applied directly in your store, exported to a CSV, or mailed to the customer. The plugin also allows you to import coupons into your store from a CSV file.

(Add gift coupons, store credits and more!)

Other features of the plugin include Gift Coupons which customers get when they make a purchase at your store. The customer will have the choice to email the gift coupon to their friends/family. The plugins also allow giving users provision to purchase store credit, which they can use for themselves, or gift to friends. You can also determine the combination of coupons that can be applied in a purchase.

For more details, go here: Smart Coupons for WooCommerce

Additional Resources

Here are some additional articles and tips on using Coupons with WooCommerce:

We hope you have found this tutorial on how to create and use WooCommerce coupons in your WordPress eCommerce store useful.

Coupon image: Pixabay


"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya


Recommended Video Courses For WordPress Users

How To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

Using S2 Member

Learn how to set up and configure a WordPress membership site using the S2 Member free WordPress membership plugin.

More info: Using S2 Member

Recommended Video Courses For WordPress Users

Build An e-Commerce Store With WordPress

Learn how to set up an e-commerce store on your WordPress site using e-commerce platforms like WooCommerce and Easy Digital Downloads.

More info: Build An e-Commerce Store With WordPress