Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Andreas W. 1 year, 11 months ago.

Assisted by: Andreas W..

Author Posts
August 2, 2023 at 4:39 pm #14143959

vyacheslavZ-2

When switching currency, "?wcmlc=" is not added to the url. Previously, when switching currencies, the link looked like this etalkschool.com/en/?wcmlc=CAD. It was possible to copy the link for each currency. At some point it stopped working, now when you switch the currency nothing changes, the url doesn't change (etalkschool.com/en/).

August 2, 2023 at 7:14 pm #14144491

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I do honestly not recall that we used to add the currency as a parameter inside the URL in the past - it might be that this was the case longer time ago, but it is not how the feature currently works.

As far as I am aware, the currency only changes by using JavaScript on the fly without needing to reload the page.

You can see the expected behavior on this test site:
hidden link

Best regards
Andreas

August 2, 2023 at 11:25 pm #14145129

vyacheslavZ-2

So it is not possible to generate a link where the URL parameter will be added? For example, a client can pay in USD, and we want to send him a link where the page will specify the currency in USD (etalkschool.com/en/?wcmlc=USD).

August 3, 2023 at 8:38 pm #14151771

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

No, sadly not - as you can see on this test site, this is not how this feature is supposed to work:

hidden link

What is it that you are trying to achieve? Would you like to set a default currency for specific languages?

Please read this guide:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/

Best regards
Andreas

The topic ‘[Closed] When switching currency, "?wcmlc=" is not added to the url’ is closed to new replies.