This guide will show you how to restrict WooCommerce coupons by country. You will also learn how to restrict your WooCommerce coupons by continent, so you don’t need to worry about which countries belong to which continent 🙂
Imagine you want to sell your products in a country where the economic situation is not good at the moment, and you want to create a coupon especially for that country. That’s great, but how do you make sure only users from the target country will use the coupon?
Here’s where the Country Catalogs for WooCommerce plugin comes in as a great solution to help you restrict your coupons by country or continent. It only requires some simple steps, and your coupons will be restricted on the selected countries.
This is great because you can create great coupon marketing campaigns for different countries and thus improve your sales.
Follow the steps below to restrict WooCommerce coupons by country:
1- Install the Country Catalogs for WooCommerce plugin
With Country Catalogs for WooCommerce, you can hide products, variations and category pages by country or continent. You can also, of course, restrict discount coupons by country or continent.
You can create different catalogs and marketing campaigns based on the geolocation of the customer, namely, the country or continent.
In this case, we’ll restrict coupons by country.
2- Open the WooCommerce coupon you want to restrict by country
Go to Marketing > Coupons and open the coupon you want to restrict by country.
After opening your coupon, head to the Usage Restrictions section.
3- Restrict your coupon by country
In the Usage Restrictions section, you need to select these values to restrict your coupon by country:
- Selected countries: Select all the countries where you want to restrict your coupons.
- Available in selected countries: Select No to restrict your coupon in the selected countries.
- Optional – You can Redirect to a URL when the country is restricted.
- Click on Update to save the changes and restrict your coupon by country.
How to restrict coupons by continent?
In this case, instead of selecting countries, you can select the continent where you want to restrict your coupon. For example, if you want to restrict your coupons for Europe, just select Continent: Europa.
4- Optional – Set up the geolocation method settings
Important. The plugin will automatically detect the country of the customer based on the IP address. However, you can change that on the plugin’s general settings.
Go to WooCommerce > Settings > Country Restrictions.
Under General, you can select the following values:
- Geolocation method: Here are the options you have:
- IP (automatic)
- Show country/state selector in the header
- Shipping country/state on checkout
- Billing country/state on checkout
- Fallback geolocation method: This is a secondary geolocation method for when the system doesn’t find the user country with the primary method.
- Restrict by: Country and continents.
5- What happens when my coupon is restricted by country
Under Restriction reinforcement, you can configure the plugin to show customers a popup asking them to select their country when they visit the store.
You can also configure a dropdown selector on the site’s header to allow customers to select their country.
When the customers select a restricted country on the dropdown, and they apply the coupon on checkout, they will read a message saying, “Coupon is not valid”. However, when the selected country doesn’t have any restriction, the coupon will be applied successfully.
Restricting WooCommerce coupons by country is really simple with the Country Catalogs for WooCommerce plugin.