v1.2.7 Updated WooCommerce Coupons by Location

Subscribe to updates

Get notified by email if this item is updated

WooCommerce Coupons by Location

36 284 4
5 out of 5 based on 3 customer ratings

22$ Free Trial Version Coming Soon

WooCommerce Coupons by Location restricts coupons by customer’s billing or shipping country, state, city, zip, pin code or postal code. According to research, customers convert more when offered a discount. Additionally, offering location aware, contextual offers significantly boosts conversion rates.


Buy item ApiTrade

Version: v1.2.7
Created: 11 July 2014
Last Update: 1 November 2018
Author: storeapps
SKU: 8205028

WooCommerce Coupons by Location

Offer coupons valid for locations of your choice.

WooCommerce Coupons by Location restricts coupons by customer’s billing or shipping country, state, city, zip, pin code or postal code.

According to research, customers convert more when offered a discount. Additionally, offering location aware, contextual offers significantly boosts conversion rates.

In short, you can get double increase in conversion rates with this unique plugin – WooCommerce Coupons by Location.


  • Restrict Coupons by Country, State, City, Zip/Pin/Postal code
  • Great for Local Marketing
  • Delight Customers With Offers They’d Love
  • Allows Entering Custom Locations
  • Compatible With Other Coupon Rules & Plugins

Example Uses

  • Offer an “independence day special” coupon to customers from United States on 4th July.
  • Offer a “best football players” discount to customers from FIFA 2014 semi-finalist countries.
  • Cut a deal with “local love” discounts for customers in the same city as you.

How to Use

Here’s how you can create a new coupon and restrict it to be used by customers from locations of your choice.

  1. Go WordPress Admin – WooCommerce – Coupons
  2. Click on Add Coupon (or edit an existing coupon)
  3. Go to the Usage Restrictions tab in this coupon’s settings.
  4. Locate the Billing Locations option.
  5. You can start typing a country name in the text box. Coupons by Location will auto complete country names. Press enter to select that country.
  6. You can type in state or city names in this box too. Press enter after typing to add that location. This will work even if the name is not auto completed. As long as customers location exactly matches the location you enter, coupon will be applied.
  7. Custom locations you enter (e.g. city, state etc) will be saved for later usage. So you will get them in auto complete next time.
  8. Complete adding all locations you want to restrict this coupon too.
  9. Also setup discount parameters and other conditions you want on this coupon.
  10. Save the coupon.

Here’s a screenshot that explains this process.

What happens when customers use this coupon?

  1. When someone uses this coupon, the coupon will be applied only if all the rules match.
  2. Coupons by Location will check customer’s billing country, city and state values for a match. If any of the locations you’ve entered in coupon setup match customer’s billing country, city or state, the coupon will be applied.
  3. If customer is logged in, their registered billing location is used to check fo the coupon.
  4. On checkout page, whatever billing address customer has entered, is used to check location restrictions.
  5. This means non-logged-in users can not use a location restricted coupon on “Cart” page. But can use it on “Checkout” page.

Here are two screenshots explaining cases when a coupon is applied and when it’s not.

Coupon applied because location matches…


Coupon does not applied because location dot not match


1.3.2 (30-October-2018)

  • New: Tested upto WooCommerce 3.5.0
  • Update: Text domain

1.3.1 (05-March-2018)

  • New: Tested upto WooCommerce 3.3.3
  • New: Added WooCommerce version check meta
  • Fix: Fatal error: Can’t use method return value in write context
  • Update: POT file

Version 1.3.0 (26-June-2017)

  • Fix: Versioning for correct updates
  • Update: Use of WordPress functions to get plugin URL
  • Update: POT file

Version 1.2.7 (20-April-2017)

  • New: Compatibility with WooCommerce 3.0+
  • Update: Support for adding multiple values at once, in Billing/Shipping Location fields
  • Update: Will now support only WooCommmerce 2.5+
  • Update: POT file

Version 1.2.6 (Jun 16, 2016)

  • New: Compatibility with WooCommerce 2.6
  • Update: POT file

Version 1.2.5 (May 30, 2016)

  • Fix: Illegal string offset ‘address’

Version 1.2.4 (Feb 3, 2016)

  • New: Tested up to WooCommerce 2.5
  • Update: Text Domain & Language Loader
  • Update: POT file

Version 1.2.3 (Aug 13, 2015)

  • New: POT file
  • Update: Changes in Language loader

Version 1.2.2 (Mar 5, 2015)

  • Now compatible with wooCommerce 2.3 and above
  • WordPress Multisite compatible now

Version 1.2.1 (Dec 16, 2014)

  • Fix: Invalid coupons were turning valid if location conditions matched

Version 1.2 (Dec 11, 2014)

  • New: Apply coupons based on Shipping address
  • New: Apply coupons based on Zip / Postal code

Version 1.1 (Sep 25, 2014)

  • WooCommerce 2.2 and WordPress 4 Compatibility

Version 1.0 (July 10, 2014)

  • First release.

Need Help?

If you need any help or have a question, feel free to contact us.

Compatible Browsers

Chrome, Firefox, Safari, Opera, Edge, IE11, IE10, IE9, IE8, IE7

Compatible With

WooCommerce 2.1.x, WooCommerce 2.2.x, WooCommerce 2.3.x, WooCommerce 2.4.x, WooCommerce 2.5

Files Included

JavaScript JS, CSS, HTML, PHP

Software Version

WordPress 4.1, WordPress 4.2, WordPress 4.3, WordPress 4.3.1, WordPress 4.4, WordPress 4.4.1, WordPress 4.4.2, WordPress 4.5, WordPress 4.5.1, WordPress 4.5.2

3 reviews for WooCommerce Coupons by Location

  1. WooCommerce Coupons by Location
    5 out of 5


    We had purchased this plugin because we were offering discounted tickets to 3 counties in NY. That was about 120 different zip codes. We started entering them in individually, only to realize how long that’d truly take. Not only that, but it was for 3 products, so 300+ entries!! YIKES! I couldn’t find a solution in the comments section, so I left a new comment and also emailed them through their form. They replied back within a day, first saying that they planned on integrating that feature into the plugin but the feature didn’t currently exist. They then replied about a half day later saying that they worked on the solution and provided me with patch files. AWESOME! I’ve never had such a request taken care of so promptly. Thank you guys so very much!!!

  2. WooCommerce Coupons by Location
    5 out of 5


  3. WooCommerce Coupons by Location
    5 out of 5


    perfect – helped with a immidiate code update

Add a review

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


Coming Soon

Dear users, an information about trial version is unavaible. We are working on solving this problem and soon information will be provided.

Please visiut us after a few days.