Kborg Posted May 27, 2016 Share Posted May 27, 2016 Hey all, I have a serious problem with currency. I added the currency GBP in Localization -> Currencies. After that I added default currency for United Kingdom to GBP. Then in de front office I created an account with country United Kingdom. All the store products still show the default currency (which is EUR). How or where can I change Prestashop to add/configure this functionality? Link to comment Share on other sites More sharing options...
El Patron Posted May 27, 2016 Share Posted May 27, 2016 try this: clear cookie or use chrome incognito as PS will remember the currency in cookie and not change to default currency when cookie currency is arleady set. Link to comment Share on other sites More sharing options...
Kborg Posted May 27, 2016 Author Share Posted May 27, 2016 try this: clear cookie or use chrome incognito as PS will remember the currency in cookie and not change to default currency when cookie currency is arleady set. Nope no results, tried different browsers but still same issue. PS. thnx for the quick reply Link to comment Share on other sites More sharing options...
El Patron Posted May 27, 2016 Share Posted May 27, 2016 (edited) you said "After that I added default currency for United Kingdom to GBP" without using native geo location where detect is done on visitor IP, then assigning localization->country->edit a country (UK) -->setting default currency will not have any affect because the default shop currency is set first. So it will not 'change' to gbp automatically now. I've done a 'lot' of work in localization, here is idea you can review that sets currency based on advanced language detect, i.e. en-gb would set currency to gbp. https://www.prestashop.com/forums/topic/349727-module-advanced-visitor-language-currency-localization-detection-ietf/ TIP: It is paramount that your shop is localized upon visitor landing, where they do not have to select currency/language....it's done for them. Edited May 27, 2016 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
Kborg Posted May 27, 2016 Author Share Posted May 27, 2016 I think I get it now, you need to have the turn on the GEO location in order to use the default currency (by Country). Still, after I enabled Geo Location en cleared cache. It still is not working I think I need to build a dependency for address country. If that is set, I need to set the $this->context->currency to the right value Link to comment Share on other sites More sharing options...
El Patron Posted May 28, 2016 Share Posted May 28, 2016 I think I get it now, you need to have the turn on the GEO location in order to use the default currency (by Country). Still, after I enabled Geo Location en cleared cache. It still is not working I think I need to build a dependency for address country. If that is set, I need to set the $this->context->currency to the right value did you use a UK proxy? you need to be able to enter with IP that geo localization will resolve to uk. My feeling is you will not be able to outsmart the existing sfw better than it already works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now