Set WooCommerce Prices Based on Location: Easy Guide

WooCommerce powers more than 4.4 million eCommerce stores worldwide and is one of the most used eCommerce platforms. 

It works excellently even if you sell to multiple locations/countries. But sometimes, you may want to change the product prices based on the user’s location. 

The product price specified for one location may not be suitable for another location or country. It is because of the currency difference and cost of living. 

For example, the cost of living in New York is higher than the other locations in the USA. It is important to change the prices in WooCommerce based on location. 

But unfortunately, this feature doesn’t come with WooCommerce. You need to use a third-party plugin for this. 

In today’s article, I’ll explain the step-by-step process to change the WooCommerce price based on location using a free WordPress plugin. In the end, I’ll also introduce you to a plugin to increase sales and create dynamic discounts. 

So without any further ado, let’s jump into the tutorial. 

Why Do You Need to Change WooCommerce Price Based on Location?

There can be several reasons to change the WooCommerce product prices based on the user’s location. Following are a few of them. 

1. Due to Currency Exchange Rates

Due to the currency exchange rate, you may want to change the WooCommerce price based on location. If you sell to different countries/locations, you should set your products by considering the currency exchange rates. 

For example, If a user from the Philippines sees your product in USD, they may feel it is too expensive because of the exchange rate. 

You should set your price based on location. 

2. Display Prices in the Customer’s Currency

The other reason to change WooCommerce prices based on location may be to show the product prices in the user’s currency to get their trust. 

Sometimes it takes work for users to do the price conversion calculation, and they may leave the page or site without buying anything. You can make it easy for them by displaying the price based on location/country. 

Now that we know a few reasons to change the product prices based on locations, let’s dive in and see how you can do it. 

How to Change the WooCommerce Product Price Based on Location?

Several different plugins are available in the market, but I’ll use the WooCommerce Wholesale Pricing plugin to set the price based on location. 

1. Install and Activate the Wholesale Pricing for WooCommerce Plugin


Note: You can skip this step if you have installed and activated the Wholesale Pricing for WooCommerce plugin. 

To install the Wholesale Pricing for WooCommerce plugin, you will need to install the Woosuite Core plugin and activate it with the help of a license key. We have created a Quick Start Guide for you to figure out how to install and activate the Wholesale Pricing for WooCommerce plugin. 

2. Create MaxMind Account

Once you have installed and activated the plugin, we need to use the MaxMind geolocation services to get the user’s country name to set the location-based pricing. 

First, we need to create a MaxMind account and then integrate it with WooCommerce to look for the country. 

Click the Maxmind sign-up page link and complete the form to create an account. 

2.1. Log in to Your Account

Once you complete the form, you’ll receive an email with a link to set the password. Once you have set the password, log in to your account and click the ‘Manage License Keys’ from the left option bar. 

2.2. Generate New License Key

After that, click the ‘Generate New License Key’ button to create a new key. 

Once you click it, you’ll need to confirm whether you want to create it. You can also change the description. It will help you to identify the license key in case you are working with multiple keys. 

2.3. Copy the License Key

Once you confirm it, you’ll get the account ID and the license key. You can also download the details. 

Click the copy icon in front of the license key to copy it. 

3. Integrate MaxMind and WooCommerce

Once you get the license key, head back to your WordPress dashboard, navigate to WooCommerce > Settings > Integration, and paste the license key in the ‘MaxMind License Key’ field. 

Finally, don’t forget to click the ‘Save Changes’ button at the bottom of the page to save the settings. 

4. Add the Product Pricing Group

After that, we need to create a pricing group for the country where we want to show a different price for a specific product. 

To do so, navigate to Woosuite > Wholesale Pricing from your WordPress dashboard. 

Once in the plugin’s general settings, click the ‘Add Product Pricing Button’ under the product pricing section. 

5. Configure the Product Pricing

Once you have added the pricing group, we need to configure it to match our expectations. The following are the steps to configure it. 

5.1. Add a Group Name

Add a name for the pricing group in the ‘Group Name’ field. You can add anything you want, but It is a good idea to name it after the country for which you are creating the pricing group. It will help you to identify the group in case you have created multiple groups. 

5.2. Select the Apply Condition

Next, you need to select the condition to apply this pricing group. You will get three options from the ‘Applies to’ dropdown:

  • Everyone: Selecting it will apply the pricing group to all the users from the selected country. 
  • Specific Roles: Selecting a specific user role will apply this pricing group to only the selected user role from the set or specified country. 
  • Specific Users: Selecting it will allow you to select the particular users from a specific country to which this pricing group will be applied. 

I have selected ‘Specific Roles’ from the dropdown. Once selected, a new field will appear below it, from which you can choose the user roles available in your store. 

5.3. Select the Country

Next, select the country from the ‘Countries’ dropdown. You can choose the country for which you are creating this price group. You can also select multiple countries to show the same price in selected countries. 

I have selected ‘USA’ from the dropdown to show different prices to my wholesale customers from the USA. 

5.4. Show the Wholesale Price Only

After that, you should also enable the ‘Show the Wholesale price only’ option to display only the location-based pricing (not the regular price) to the selected group of customers from a specific country. 

Finally, don’t forget to click the ‘Add Group’ button at the bottom of the popup. 

You can repeat the steps to show different prices to different countries. Make sure to change the country in each group. 

6. Add Location-Based Pricing to a Product

Once you have added the pricing group, we need to set the product price for customers from the selected country. To do so, we need to edit the product. 

Navigate to Product > All Products from your WordPress dashboard and hover your mouse over the product you want to edit. Now click the ‘Edit’ button to edit the product. 

6.1. Set the Location-Based Pricing

Once you are on the product edit page, scroll to the product data section. Here, you’ll see the pricing group under the general product settings. 

I added only one pricing group in the previous steps so I could only see one group on the product edit page. In the ‘Wholesale Price’ field, add the price you want to show to the customers of the selected country. 

Note: Customers not in the pricing group will see the regular product price. 

6.2. Update the Product

Finally, scroll to the top of the page, click the blue ‘Update’ button to update the product, and set the location-based pricing in WooCommerce. 

7. Final Results

Let’s test the final results. 

To test it, I first visited the product page from my original location and as you can see in the screenshot below, the product price is set to the regular price. 

After that, I enabled the USA VPN and revisited the product page. This time, as you can see in the screenshot below, I could see a different price that I set for the USA region.

How to Create Dynamic Discounts in WooCommerce?

The dynamic Pricing & Discounts plugin is one of the best plugins for creating dynamic discounts in WooCommerce. It will help you to create any type of discount you want. 

Using this robust plugin, you can create product- and category-level discounts, order total discounts, and more. 

Moreover, the team works at the backend, regularly pushing updates with a new in-demand feature. 

Following are a few recommended tutorials. 

Conclusion

Displaying prices based on customer location is an excellent idea and helps significantly if you want to scale your business globally or in more than one country. 

Besides creating dynamic product prices, you can also create dynamic discounts using the Dynamic Pricing & Discounts plugin. Almost 96% of users are looking for discounts and deals while shopping. 

It shows a massive potential audience that can be converted into regular customers with a few dos and don’ts. You can create different types of discounts like flash sales, category discounts, first-order discounts, bulk discounts, multiple prices per product, quantity-based pricing, and much more. 

It is always a great time to start creating discounts besides the product prices based on location as it will not only help you attract more users, but if your product and packaging are good and on point, you’ll also start getting a taste of free marketing by word of mouth. 

Implementing both these strategies side-by-side is a win-win situation. 

Ready to attract more customers by creating dynamic discounts? Download the Dynamic Pricing & Discounts plugin now!

Brian
Brian

Welcome to the AovUp blog, where we discuss all things WooCommerce. I hope we can help you achieve something today...

Leave a Reply

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

We – and our partners – use cookies to deliver our services and to show you ads. By using our website, you agree to the use of cookies as described in our Cookie Policy