GS VISION Posted February 13, 2014 Share Posted February 13, 2014 (edited) I made a fresh installation of 1.5.6.2 then downloaded Bulgarian localization pack and set default currency to BGN after which I disabled USD (as I don`t need it), but in front end I still see the prices in USD and smarty console says: $currencies Smarty_Variable Object (3)->value = Array (1) 0 => Array (12) id_currency => "2" name => "Lev" iso_code => "BGN" iso_code_num => "975" sign => "лв" blank => "1" format => "2" decimals => "1" conversion_rate => "1.000000" deleted => "0" active => "1" id_shop => "1"->nocache = false->scope = "Smarty root" $currency Smarty_Variable Object (3)->value = Currency Object (14) ->id = 1 ->name = "Dollar" ->iso_code = "USD" ->iso_code_num = "840" ->sign = "$" ->blank = "0" ->conversion_rate = "0.697306" ->deleted = "1" ->format = "1" ->decimals = "1" ->active = "0" ->prefix = "$ " ->suffix = "" ->id_shop_list = null->nocache = false->scope = "Smarty root" I just installed another copy of Prestashop with the same version and the same problem occured, so either I am making a mistake or it is some bug, but as I didn`t find any info it seems my fault. Show me where I`m wrong, please Edited February 13, 2014 by GS VISION (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 13, 2014 Share Posted February 13, 2014 excuse for simple idea, but did you clear smarty cache after making change to bgn? Link to comment Share on other sites More sharing options...
GS VISION Posted February 13, 2014 Author Share Posted February 13, 2014 I did and it is set to recompile everytime as it is a development shop. Link to comment Share on other sites More sharing options...
El Patron Posted February 13, 2014 Share Posted February 13, 2014 sorry, short on time now, please follow this link of 'similar' posts please let us know if you learn resolution. https://www.google.com/search?q=prestashop+Default+currency+does+not+change+site:www.prestashop.com&client=firefox-a&hs=thN&rls=org.mozilla:en-US:official Link to comment Share on other sites More sharing options...
GS VISION Posted February 13, 2014 Author Share Posted February 13, 2014 I`ve checked them all as I struggle with this for a day or two. I found out it is some localization issue (geolocation is off) as with other browsers it shows various results (changes to correct currency) . Is there any check for say browser language dependency? I`ve been browsing the code for some method that may do the trick, but no luck so far. Link to comment Share on other sites More sharing options...
El Patron Posted February 13, 2014 Share Posted February 13, 2014 ave maria pues (omg in Colombia) I know a little about the browser detection, it is for language only, read more here: http://www.prestashop.com/forums/topic/288754-tip-localization-use-ietf-code-to-set-language-of-shop-not-iso/ look at back office-->localizatioin-->countries-->edit country(s) you have enabled, is the default currency bkn or usd? Link to comment Share on other sites More sharing options...
GS VISION Posted February 13, 2014 Author Share Posted February 13, 2014 (edited) ave maria pues indeed I changed the default currency from default currency to Lev (BGN). No change in the front office. What bothers me are the values of $currencies (BGN) and $currency (USD, which is disabled) I cleaned browser, I`m guest so I shouldn`t any coockies or session stored, but in incognito mode(chrome) it is correct (BGN), so my browser must say english somewhere and the system decides to use USD, otherwise it uses default (BGN) Edited February 13, 2014 by GS VISION (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 13, 2014 Share Posted February 13, 2014 try it with 1.5.6.1...just to see if new problem.. did the search (obviously no joy) have any central theme like your issue? Link to comment Share on other sites More sharing options...
GS VISION Posted February 13, 2014 Author Share Posted February 13, 2014 I will, but I did another thing. Had 1.5.5 for testing purposes, did the localization the very same way as I usually do and then upgraded to 1.5.6.2. No dollars in both versions. Now proceeding with 1.5.6.1 to see what`s going on. Link to comment Share on other sites More sharing options...
El Patron Posted February 13, 2014 Share Posted February 13, 2014 I will, but I did another thing. Had 1.5.5 for testing purposes, did the localization the very same way as I usually do and then upgraded to 1.5.6.2. No dollars in both versions. Now proceeding with 1.5.6.1 to see what`s going on. look forward to hearing results from 1.5.6.1 Link to comment Share on other sites More sharing options...
GS VISION Posted February 13, 2014 Author Share Posted February 13, 2014 (edited) Installed 1.5.6.1 and it is OK , but i noticed I there is no USD by default here, because I put Bulgarian as shop local during installation, but it is still worrying and should not happen Another thing I just remembered is that I didn`t intsall manually but used Sofalicious cPanel installer. Edited February 13, 2014 by GS VISION (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 13, 2014 Share Posted February 13, 2014 re Sofalicious cPanel installer. ave maria pues... it is very difficult to trouble shoot when not installed using ftp...as we never really know how/what got installed when using 3rd party... can you install 1.5.6.2 with native installation (unzipped) from offical download and install with ftp? Link to comment Share on other sites More sharing options...
GS VISION Posted February 14, 2014 Author Share Posted February 14, 2014 Sure, probably this is a solution. No more lazy installations for me. 1 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