[Resolved] Hide currencies in woocommerce multilingual
This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed a way to ensure that European customers only see prices in Euros and UK customers only see prices in GBP, without the ability to manually change the currency. Additionally, they inquired about hiding the currency switcher on the product template. Solution: We advised setting the currency based on the client's location using WooCommerce Multilingual's Multi-Currency settings. For more details, see the documentation here: https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#currencies-per-location To prevent users from changing the currency manually, we suggested hiding the currency switcher on the frontend. This can be done from the WooCommerce Multilingual settings under the MultiCurrency tab, specifically in the Product page Currency Switcher section.
If this solution does not fully address your issue, or if it seems outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum at https://wpml.org/forums/forum/english-support/.
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.
Background of the issue:
Hi there, we are using WPML along with WooCommerce multilingual. We have two currencies setup, GBP and Euro's. Currently if you switch between languages the currency will also change. Our client has asked if is is possible to make it so that European customers can only see the euro price and UK based customers can only see the GBP price. Do you know if this is possible? So they can switch language but the currency will stay the same for them. I was thinking something along the lines of maybe it can set the currency based on the country set in the users profile?
Symptoms:
Currently if you switch between languages the currency will also change.
Questions:
Is it possible to make it so that European customers can only see the euro price and UK based customers can only see the GBP price?
Can the currency be set based on the country set in the user's profile?
Hi Bigul thank you. With location based currency can the user still change the currency manually. As we don't want them to be able to. Is it possible for WPML to set the currency based on the language set in the users profile?
Thank you Bigul. How do I hide the currency switcher on the frontend that shows on the single product template? I could do it with CSS but is there a checkbox somewhere?
Thank you for the updates. Happy to know you are getting the expected results now.
Normally we have an option to hide the Multicurrency switcher from the Product Template page ( WooCommerce>>WooCommerce Multilingual>>Multicurrency>>Product page Currency Switcher). Please check the attached image for more details.