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%)
Jan
Question regarding changing global currency default
- Jan
- Phoca Hero
- Posts: 48299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Question regarding changing global currency default
If you find Phoca extensions useful, please support the project
Tags:
-
- Phoca Enthusiast
- Posts: 78
- Joined: 15 Jan 2020, 17:36
Re: Question regarding changing global currency default
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
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
- Jan
- Phoca Hero
- Posts: 48299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Question regarding changing global currency default
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
Jan
If you find Phoca extensions useful, please support the project
- Nidzo
- Phoca Professional
- Posts: 369
- Joined: 07 Nov 2018, 14:55
Re: Question regarding changing global currency default
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
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
- Jan
- Phoca Hero
- Posts: 48299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Question regarding changing global currency default
If you find Phoca extensions useful, please support the project