Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wants to set different pricing policies for the same product based on the customer's location, using the same currency (Euro) but with different prices in different countries (e.g., France 100 EUR, Netherlands 80 EUR).
Solution:
From WooCommerce Multilingual version 4.10 onwards, it is possible to set currencies based on the user's location using the MaxMind Geolocation API. For more details on setting this up, please refer to the MaxMind Geolocation Integration documentation.

Currently, WooCommerce Multilingual does not support different prices for the same currency based solely on location without changing the currency. However, we are considering adding this feature in future versions. In the meantime, we recommend trying the WooCommerce Product Price Based on Countries plugin, though it has not been tested by our team. Please ensure to back up your site fully before using this plugin.

If this solution does not apply to your situation, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 6 replies, has 2 voices.

Last updated by pakK 4 years, 5 months ago.

Assisted by: Bigul.

Author Posts
August 10, 2020 at 2:55 am #6765611

pakK

https://wpml.org/announcements/2020/08/wcml-4-10-currencies-and-payment-options-based-on-location/
-> This new feature will be helpful for you if you would like to:
-> Implement a pricing policy based on location.

How I can set a different price policy for different countries or zones?
E.g. French Visitors see EUR with 100,- and Dutch Visitors see same product with a price of 80,- EUR

https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/ says "Configure distinct prices for different currencies" which is different to "pricing policy based on location"

Is there a hook available we can leverage for this? https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/

Or any other solution you recommend?

Please advise.

Thank you!

August 10, 2020 at 10:28 am #6768457

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

From WooCommerce Multilingual version 4.10 onwards we can also set the Currencies based on the user location. Now we can set the currencies based on Location or Language. Please check the attached images for more details.

The user location will be tracked with the help of the MaxMind Geolocation API. Please refer to the following documentation for more details.

https://docs.woocommerce.com/document/maxmind-geolocation-integration/

Just to make sure, you have a single currency on the site(Euro) but the price will be different in the same currency based on the location of the customer, am I correct? If so, does all the product has the same conversion rate for a location(example France)?

To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/

--
Thanks!

Bigul

2020-08-10_15-44-31.png
2020-08-10_15-44-12.png
August 11, 2020 at 1:29 am #6772989

pakK

Hi and thank you for your reply.

>Just to make sure, you have a single currency on the site(Euro) but the price will be different in the same currency based on the location of the customer, am I correct? If so, does all the product has the same conversion rate for a location(example France)?

What I understood from WPML promotional email is I can set price policies per country.

E.g.
France -> Euro -> Product price 100,-
Dutch -> Euro -> Product price 80,-

How to archive this?

Or can I set different rate conversion for same currency for different countries?

THIS IS NOT A SITE SPECIFIC QUESTION. ITS A GENERELL QUESTION.

August 11, 2020 at 4:39 pm #6779547

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the feedback. As of now, we can only set a single price or conversion rate for a currency. Please check the attached images for more details.

This may be possible by adding custom codes. Therefore I am consulting about this with our team now. Will get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

2020-08-11_22-07-54.png
2020-08-11_22-07-19.png
August 14, 2020 at 4:11 am #6800137

pakK

Thanks for your feedback and pls let me know what your team will advise.

Thank you!

August 14, 2020 at 7:48 am #6801069

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

I have shared the details with our Developers and we will include this feature in the future version of WooCommerce Multilingual. But as of now, it will take more time because of the complex workarounds.

Therefore for time being, you can try with the following plugin after a full site backup. Please note, we haven't tested it yet. But this plugin has features to support your requirements.

https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/

We will get back to you soon when we have an update from our developers on this. Please wait.

--
Thanks!

Bigul

September 3, 2020 at 4:42 am #6931035

pakK

Hi, is this scheduled for version 4.2 or 4.12? 🙂