WooCommerce knows that coupon codes are an important conversion strategy in ecommerce, so it makes it easy and straightforward to create coupon codes. Let’s check how to do it.
Before we start, we can set a goal.
Imagine that your online store’s first anniversary is next week. You plan to run a flash sale campaign as part of the anniversary and run social media ads to attract customers. In the ad, you offer a discount code that gives 10% off on all orders above $100.
Coupon code: ANNIVERSARY10
Discount type: Percentage
Discount value: 10% of the order value
Minimum order value: $100
Maximum discount amount: $50
Now let’s check how to set up this coupon in WooCommerce and use it in the store.
Step 1: Go to Add new coupon page
Log in to the WordPress admin dashboard of your WooCommerce store where you can manage your online store.
Then click on WooCommerce > Coupons to go to the coupons page. Here you can see the list of all coupons you have created so far.
If this is the time you create a coupon code, you will not see this list. Instead, there will be a large box asking you to start creating a new coupon code.
To start creating a coupon, click on the Add coupon button to go to the Add new coupon page.
Step 2: Enter coupon code and description
In the first input field on this page, you need to enter your coupon code. Our coupon code name for the imaginary anniversary flash sale is ANNIVERSARY10. So, I will type in ANNIVERSARY10 in the field.
The second field is a description of the coupon code. It’s optional, so you don’t need to fill. However, it’s a good idea to have a description and I always fill in a short description.
Step 3: Fill coupon data: General
The next thing we need to do is configuring the coupon code settings. Scroll down to the Coupon data tab data choose the General tab. By default, the General tab will be open.
Here you have 4 settings to configure. Let’s go through each one.
The Discount type setting helps you to choose how you want to calculate the coupon code. It gives you three options to choose from.
Percentage discount: This can be used when you want to give a certain percentage of the total cart value discount.
Fixed cart discount: This can be used when you want to give a fixed amount discount to the entire cart.
Fixed product discount: This is used when you want to give a fixed amount discount to only specific items. You can choose the products you would like to give a discount on the next step
In our case, we want to give 10% off to the total cart value.
So, the option that we should choose is the Percentage discount.
The second setting in the General tab allows you to set the discount amount.
In our case, we want to give 10% off. So, we type 10.
Please note that you don’t need to specify the percentage or currency with the discount value. WooCommerce will automatically decide it based on your discount type.
Allow free shipping
This setting allows you to choose if you want to give a Free shipping offer along with the discount. You can enable this option if you want.
However, enabling this option alone won’t add the free shipping offer to the coupon. You also need to enable Free shipping for the shipping zone and enable “Require a valid free shipping coupon” in the Shipping settings.
In our case, we don’t want to enable the free shipping option. So, we keep it unchecked.
Coupon expiry date
The fourth setting in the General tab enables you to set an expiry date for the coupon code.
Most flash sales are run for a small period and after that, we want to deactivate that coupon. The expiry date setting helps you to deactivate the coupon after a particular date so you don’t need to do it manually.
In our case, we want to run the flash sale for one week and after that, we want to disable the coupon code. So, we can set the expiry date.
Step 4: Fill coupon data: Usage Restriction
Once you complete the General settings, click on Usage restrictions to go to the Usage restrictions settings page.
The Usage restrictions settings are divided into two sections. In the first section, you can define the conditions for the coupon code whereas the second section enables you to exclude and include products from the discount.
In most cases, businesses offer discounts for purchases over a particular amount. Setting this minimum amount is useful to increase order value and keep a margin.
In our case, we want to give the discount only if the order is above $100.
The Maximum spend setting lets you choose a threshold above which the coupon won’t be applied. It helps you to limit the maximum discount amount.
In our case, we don’t want to set any maximum limit.
Individual use only
This setting helps you to prevent the customers from using the coupon code in conjunction with other coupons. In our case, we don’t want the customer to use multiple coupons on one order. So, we check this checkbox.
Exclude sale items
This helps you to control if the coupon can be applied to products that are already on sale. In most cases, small businesses may not want to apply the discount coupons for products on sale because it will significantly affect the profit margin.
So, we can exclude items on sale for this coupon.
Please note that the coupon will not be applied if the cart contains at least one item that is on sale because our coupon is applied to the entire cart.
If you have chosen the Fixed product discount as the Discount type in the General settings, a 10% discount will be applied to all items in cart except the items on sale.
The second section of the Usage restriction settings allows you to exclude or include the products the coupon will be applied to.
You can add products and product categories in the respective fields to include or exclude them from the offer.
The Allowed emails field helps you to create a whitelist of emails and the coupon code will be applied to only those who use an email from this list as their billing email.
Instead of exactly specifying the emails, you can use match email notation to select emails that include particular words. Here is how to use it.
You can offer a special discount for Vodafone employees, by entering @vodafone.com in the field. This will ensure that the coupon will be applied only if the customer uses an email address that contains @vodafone.com.
In our case, we don’t want to use any kind of product filtering for the coupon. We want to apply the coupon for all products that are not already on sale, so we leave these columns blank.
Step 5: Fill coupon data: Usage Limits
Once you have defined the usage restrictions for the coupon, click on the Usage limit tab to open the Usage limits settings page.
Here you can set the total number of times the coupon can be used in your store, the maximum number of items in cart the coupon will be applied to, and the maximum number of times a user can use this coupon.
In our case, we don’t want to put any usage limits. So, the coupon can be used an infinite number of times until we deactivate the coupon or reach the expiry date.
Moreover, the same customer can use the coupon multiple times if they want 10% off on their orders.
Step 6: Publish coupon
Click on the Publish button on the right sidebar to create and the coupon code.
You can see our new coupon in the list of coupons in the Coupons page.
Now that the coupon code is successfully created, let’s go to the store and check if the coupon actually works.
I have added a product in the cart and used the ANNIVERSARY10 coupon code on the cart page. As you can see, it gives 10% off which means our coupon works.
Discount coupons are an integral part of promotions in online stores. Fortunately, WooCommerce makes it very easy and straightforward to create and configure coupon codes in the online store. In this blog, we have covered everything you should know to create coupon codes in WooCommerce. If you have any doubt, feel free to comment below.
Store Pro is a global e-Commerce technical support company. We specialize in helping individuals and businesses run successful, engaging websites. Currently, WooCommerce Support is our main focus. Other CMS systems are in the pipeline