In this tutorial, we’ll show you how to add WooCommerce product prices per country or continent.
This will be really useful if you want to sell products at different prices for different countries. Maybe taxes are higher in Canada than they are in the United States. Maybe one country is richer, and we want to maximize profits.
Maybe intercontinental shipping is more expensive that it is when you sell products in your own continent only.
Whatever the case, we know that adding prices per country or continent is IMPOSSIBLE with WooCommerce.
That’s why we’ll show you how to do it with the Country Catalogs for WooCommerce plugin.
It allows you to hide products, variations, categories, etc., in different countries. You can create different catalogs to show them in different countries. It’s just great.
You can download the plugin here: Download Country Catalogs for WooCommerce Plugin - or - Read more
Once you install and activate the Country Catalogs for WooCommerce plugin, follow these simple steps to set WooCommerce prices per country or continent.
Step 1. Select the geolocation method
For this tutorial, we will display a country selector in the header so that the customers can select their countries and see a different price.
However, you can use any geolocation method available in the general settings of the plugin; for instance, you can detect the country based on the shipping/billing information, IP address (automatic), or using the country selector as we will do here.
First, go to WooCommerce > Advanced Country Restrictions and click on Open global settings.
Another alternative is going to WooCommerce > Settings > Country Restrictions.
Once there, you need to configure the global settings that will allow you to show different prices per country or continent. You need to select the following values in the plugin’s general settings:
- Geolocation method: Show country/state selector in the header.
- Fallback geolocation method: This method will be used when the primary method doesn’t work. In this case, we’ll select IP (Automatic).
- What happens when the user location is unknown: You can show or hide all the products.
- Restriction method: Hide product from the catalog.
- Restrict by: Country and continents
Step 2. Create a “Country” attribute
Go to WooCommerce > Attributes and create an attribute called Country.
Now just create a term for that new Country attribute for each country where you will show different price.
Note. If you’re restricting your products by continent, you should create an attribute called Continent instead of Country.
In this example, we’ll create a country attribute called Canada and another called United States.
Once you’re done creating the attribute, go to Products and open or create a product that will display different price for different countries or continents.
Step 3. Create a variable product or convert your simple product into variable
Once you open the product, you need to do these three things:
1- Make it variable and select the attributes
- Go to Product Data and select Variable Product.
- Go to Attributes and select the Country attribute.
- Don’t forget to mark Used for variations.
- Finally, hit Save attributes.
2- Create one variation of this product for each country or continent
In this case, we’ll create each variation from the two product country attributes we created: Canada and United States.
3- Select the variations’ country restrictions to show prices per country or continent
Once you create the variations, open each of them, set the prices and select the country restrictions.
For example, here we will select the Price and the country restriction for the “Canada” variation:
- To set the variation price, go to Regular Price and enter the new price.
- Now go to Selected countries and select United States.
- Select No in Available in selected countries.
Now it’s time to select the Price and the country restriction for the “United States” variation.
- To set the variation price, go to Regular Price and enter the new price.
- Now go to Selected countries and select the United States.
- Select No in Available in selected countries.
- Finally, hit Save changes.
Step 4. Check the results
To check the results, you need to visit your store as a normal customer.
You’ll see the country selector with the two countries we selected: Canada and the United States.
If you select Canada, you’ll see the product with one price.
If you select United States, you’ll see the product with another price.
That was really simple!
You don’t need to use any codes to create different country or continent catalogs for your WooCommerce store. With the Country Catalogs for WooCommerce plugin, it’s really simple and fast.
You can download the plugin here: Download Country Catalogs for WooCommerce Plugin - or - Read more