Languages: English (English )Spanish (Español )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hi there, welcome to the WPML support Forum!
While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.
Could you please elaborate a little more on this issue, so we can better understand? E.g. The link of the page, steps you've tried, etc.
Sometimes screenshots illustrating what you mean may go a long way to clarify what words fail to transmit, so if you like, make use of “upload an image” below the comment area.
I need to switch the currency of the user based on what country they select on the Checkout page. I have written the code for that but Don't know the right hook to use. Can you help with that?
By default, WooCommerce Multilingual (WCML) supports switching currency based on the client's location. It is set up in admin area > WooCommerce > WooCommerce Multilingual > Multicurrency.
On the checkout page, if the customer changes the billing address, the currency is changed also.
If you select to change the currency based on site language, I'm afraid that there isn't an option to change the currency when changing the billing address.
If you want to use a custom code, you can take a look at the filter https://wpml.org/wcml-hook/wcml_client_currency/
But I would like to inform you that helping you with custom code, is out of the scope of WPML.
If you are not able to accomplish this, I would recommend you contact one of our certified partners who will be more than happy to help you with this. In this link, you will find a list of our certified partners: https://wpml.org/contractors/
Thanks.
The topic ‘[Closed] Switcher’ is closed to new replies.