Page 2 of 2

Re: Question regarding changing global currency default

Posted: 12 Jun 2023, 14:46
by Jan
Hi, the plugin is based on Joomla language and this is all. E.g. users visits the site: www . site . com / de and not www . site . com / en. So the currency is set to EUR instead of GBP.

From technically point of view it is not difficult to add new parameter which will decide on other rule but the problem is to define such rule.

I can imagine the confusions where you are from Switzerland and your browser language is set to English and then the currency will be set for you to GBP (so maybe yes, browser language is not the good rule to change currency)

And not sure if this will be better for user IP (for this maybe some robust and complicated library needs to be uses and the outcome will be never 100%) :idea:

Jan

Re: Question regarding changing global currency default

Posted: 12 Jun 2023, 15:43
by Alexander
Hi Jan
Yes, your Plugin is very practical. Only my site setup and my country are difficult ;) My multilingual site is in hai.swiss with /de/ and /en/ for the 2 languages. But I automatically redirect hai.swiss/en to shark.swiss without language extension. Presently I check not for IP (because of the complicated Geo-Libraries) but for .swiss or .ch in the domain name of the customer. So I get about 80% of Swiss users. Better than nothing ;)
Kind regards

Alexander

Re: Question regarding changing global currency default

Posted: 13 Jun 2023, 13:13
by Jan
Hi, the plugin is very easily customizable. You can change the part which behaves based on Joomla languages and replace it with code which gets the domain name and set the currency based on domain name.

Jan

Re: Question regarding changing global currency default

Posted: 20 Jul 2024, 21:31
by Nidzo
Can currency change be triggered by Joomla language switcher module?
Plugin works when you enter direct link to desired website language but when you land on default EN home page and you change to german language, currency does not change.

Tested in Phoca Cart v5.0.0Beta64
Joomla 5.1.2

Re: Question regarding changing global currency default

Posted: 21 Jul 2024, 00:54
by Jan
Hi, no, see the possible problem which can then occur:

viewtopic.php?p=175829#p175829