How To Add Discount Code In Woocommerce

WooCommerce is a widely used e-commerce platform that enables companies to offer their merchandise on the internet. Among the functionalities of WooCommerce is the capability to incorporate promotional codes for purchasers. In this piece, we will detail the steps for integrating a promotional code in WooCommerce.

Step 1: Log in to Your WordPress Dashboard

The first step to adding a discount code in WooCommerce is to log in to your WordPress dashboard. Once you are logged in, navigate to the “WooCommerce” section and click on “Coupons.”

Step 2: Create a New Coupon

In the “Coupons” section, click on “Add New” to create a new coupon. This will take you to the coupon creation page.

General Settings

On the coupon creation page, you will see several settings that you can customize. In the “General” tab, you can enter the name of your coupon and a brief description. You can also choose whether to enable or disable the coupon and set an expiration date.

Usage Restrictions

In the “Usage Restrictions” tab, you can set restrictions on how many times the coupon can be used and which products it applies to. You can also choose whether to exclude certain products or categories from the discount.

Discount Amount

In the “Discount Amount” tab, you can choose how much of a discount to offer your customers. You can either enter a percentage or a fixed amount. You can also choose whether to apply the discount to the entire order or just specific products.

Individual Use Only

In the “Individual Use Only” tab, you can set whether the coupon is only valid for one use per customer. This can be useful if you want to limit the number of times a discount code can be used.

Step 3: Save Your Coupon

Once you have customized all the settings for your coupon, click on “Save” to save your changes. Your new coupon will now be available for customers to use at checkout.


Adding a discount code in WooCommerce is a simple process that can help you attract more customers and increase sales. By following the steps outlined in this article, you can create a new coupon with custom settings and restrictions to meet your business needs.