
p.pratchya@gmail.com(@p-pratchya-gmail-com)
1 Post
Customers
Quote from p.pratchya@gmail.com on September 12, 2022, 08:58
I just got a WOOCS - WooCommerce Currency Switcher Professional
my site is using Polylang Pro plugin and have 2 languages (TH and US) + 3 currencies (THB/USD/CNY) by WOOCS
I would like to set default currency to each language while still have other currency as optional after click.
For Sample
I would like to set default currency-THB to language-TH when user click change the language and still have currency USD and CNY as options as normal for user who just click the language button.
Right now the code PHP i found here.
https://currency-switcher.com/switch-currency-with-language-change
will do the matching 1 currency to 1 language only. user can not have any other option currencies once choose language or currency.
I just got a WOOCS - WooCommerce Currency Switcher Professional
my site is using Polylang Pro plugin and have 2 languages (TH and US) + 3 currencies (THB/USD/CNY) by WOOCS
I would like to set default currency to each language while still have other currency as optional after click.
For Sample
I would like to set default currency-THB to language-TH when user click change the language and still have currency USD and CNY as options as normal for user who just click the language button.
Right now the code PHP i found here.
https://currency-switcher.com/switch-currency-with-language-change
will do the matching 1 currency to 1 language only. user can not have any other option currencies once choose language or currency.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 12, 2022, 10:24
Hello
This custom code only switches currency depending on the current language. Unfortunately for the functionality you wrote you need custom code
Hello
This custom code only switches currency depending on the current language. Unfortunately for the functionality you wrote you need custom code