Jump to content

Default currency does not change


Recommended Posts

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 by GS VISION (see edit history)
Link to comment
Share on other sites

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

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

ave maria pues indeed :D

 

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 by GS VISION (see edit history)
Link to comment
Share on other sites

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

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 by GS VISION (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...