Skip Navigation

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

Problem:
The client is looking to hide certain products for specific languages or countries, such as not shipping a range of products from the UK to the EU. Additionally, the client is seeking a method for auto-detection of language and currency based on the visitor's location, like automatically switching to Italian and EUR when someone visits the site from Italy.
Solution:
For hiding products based on language or country, we recommend checking out a similar support ticket that provides guidance on product country restriction. You can find the information here:

Regarding the auto-detection of language and currency, WPML does offer such options. You can set up WPML to automatically change the language and currency based on the visitor's location. For more details on how to configure this, please refer to our documentation:

If this solution doesn't seem relevant to your situation, please don't hesitate to open a new support ticket with us for further assistance. You can do so here:
WPML Support Forum

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 1 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year, 4 months ago.

Assisted by: Mihai Apetrei.

Author Posts
October 26, 2023 at 9:28 am #14668639

marcE-12

Tell us what you are trying to do?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

Hello,

We are wondering if there is an option to hide to products for specific language or country?

For example we are not going to ship all products range from UK to EU and would like to hide these products after switching the language / currency

Also, can you suggest best practice for auto-detection language - is WPML offering such option based on location?

For example if someone will open the website in Italy, the language should change to IT along with currency to EUR

October 30, 2023 at 1:28 pm #14692131

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Please take a look at this existing ticket:
https://wpml.org/forums/topic/product-country-restriction/

I think the information shared there will be helpful for your question.

I hope that you will find this information helpful. 🙂

Mihai Apetrei