Skip Navigation

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

Problem:
You want to force WPML currencies to change on Checkout based on the shipping country. Specifically, you want Hungarians to pay in Forint when they choose Hungary as the shipping country, and others to pay in EUR when they choose the UK or any country other than Hungary.
Solution:
Currently, this functionality is not included in WPML. You will need a custom modification using our API. We recommend you get in touch with a certified WPML developer through our Go Global program. Additionally, you can use Hooks for custom modifications, which can be integrated into your WooCommerce templates. You can find these Hooks at WCML Hooks Reference.

If this solution does not apply to your case, 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 at 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 3 replies, has 3 voices.

Last updated by Marcel 3 years, 6 months ago.

Assisted by: Marcel.

Author Posts
October 28, 2021 at 4:53 pm #9885791

plants-are-friends-kftT

Hi there,

I'd like to ask, how can I force WPML currencies to change on Checkout by shipping country,
I build a 2 language site: Hungarian (currency: Forint), English (currency: EUR) - I want to force Hungarians to pay in Forint by choose Hungary as shipping country, and the others to pay in EUR by choosing UK, or something else (not Hungary)
Can I do it? Please help me with that!
Thank you!

October 30, 2021 at 5:34 am #9894397

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

With Woocommerce Multilingual you can enforce certain currencies for users based on their location or billing address. You can know more about this feature here: https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#currencies-per-location

Let me know if this helps.

Thanks

November 5, 2021 at 10:30 am #9932267

plants-are-friends-kftT

Hello there,
Thank you for the information.
Unfortunately it doesn't help us out, I tell you why:
If I change the currency settings to Client localization, we can see Hungarian prices on the English product pages too. We want the prices show as the site language, but on Checkout, When somebody choose a country what is not Hungary, change everything to EUR prices, which we manually set.
Is it possible to solve?
Thank you!

November 5, 2021 at 11:19 am #9932929

Marcel
WPML Supporter since 02/2019

Languages: English (English ) German (Deutsch )

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

Hi,

we don't have this functionality currently included. You will need custom modification based on our API to archive this.

I would recommend you to get in touch with a certified WPML developer here: https://wpml.org/documentation/support/go-global-program/. We offer Hooks for custom modifications which you can integrate into your WooCommerce templates. You can find them here: https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/

Best Regards
Marcel