How to Apply Discount in WooCommerce Based on Shipping Address

How to Apply Discount in WooCommerce Based on Shipping Address

Imagine your WooCommerce store’s sales are awfully low in a specific country, say “the United States” due to tight competition. How would you tackle this situation? One effective way to improve the situation is by giving special discounts and incentives exclusively to customers from the United States. But unfortunately, the default WooCommerce system doesn’t provide you with an option to restrict applying discounts to one particular country. Instead, every coupon you create will be applied to all countries when the specific coupon conditions are met.

Hence you are left with the option to add a plugin that supports this feature. Smart coupons plugin for WooCommerce is a great choice as it allows you to restrict the availability of coupons to countries of your preference based on customers’ shipping/billing address.

To apply discounts based on the shipping address of your customer, you first need to install Smart Coupons for WooCommmerce plugin in your WooCommerce store. You may follow the below guidelines to get done with it.


After purchasing the Smart Coupon Plugin For WooCommerce, the plugin will be available as a zip file in the API Downloads section of your My Account page.

  1. Download the zip file from API Downloads by logging into your Webtoffee MY ACCOUNTS page.
  2. Log in as the WordPress Admin of your online store.
  3. Navigate to Plugins > Click Add New to Upload the downloaded plugin.
  4. Choose the plugin file to upload.
  5. Finally, activate the plugin.

Now let’s create a coupon that applies a 15% discount for customers whose shipping address belong to that of the United States.

From your WordPress dashboard, go to WooCommerce > Coupons as shown below.

plugin naviagtion path

The following is a screenshot of the opening window.

add new coupon

Click the Add Coupon button as highlighted above to create a new coupon for your store. Now a new window opens up.

test coupon

Here you can add all the general details regarding the coupon such as; its name, discount type, coupon amount, its validity and visibility, etc. Once you finish filling up these fields, there are four more tabs you need to complete before publishing the coupon. Guidance on filling up these fields can be made available from this plugin’s set up article.

As this article solely focuses on how to apply a discount based on shipping methods, let’s move to the Checkout options tab. Once you click on it a new window opens up as shown below.

shipping address

Here you can see multiple options for restricting the availability of coupons. Among them Restrict by country(es) option allows you to apply discounts based on the billing/shipping address of a customer.

Once you select a shipping address, you can select the countries you want to apply the coupon to. You are allowed to select as many countries as you want from the drop-down containing country list.

Here is a screenshot of the cart when a customer having united states as the shipping address makes a purchase from your store.

cartThe total cost of the product has been discounted from $21.98 to $18.68 on applying the coupon.


These small features are part of smart marketing techniques that you can employ in your WooCommerce store. They might be capable of bringing a huge difference to your store’s sales and profit. I am quite certain that implementing this feature would be one of the best decisions you will make for improving the growth of your store.

Got any query? Please leave a comment or reach out to our support

Your email address will not be published. Required fields are marked *