Currency displaying wrong


https://forum.kartris.com/Topic2316.aspx
Print Topic | Close Window

By andersleet - Sun 25 Aug 2013
Hi there. I am new to the system so it is completely possible that I have missed a setting or two and this will be an easy fix.

However, I have gone through everything I can find regarding currency in the configuration panel and cannot figure out why on my product displays the british pound symbol in front of the price on the product page, yet in the back end product management it shows US dollar (which is the desired symbol).


Looking through some of the code, it looks like "CUR_ID" inside the session variable is responsible for storing and/or determining the symbol.

Does anyone have any idea what is causing this and how to fix it? Thanks.
By andersleet - Sun 25 Aug 2013
I should note that when I changed (well, updated) the currency rate (1 USD ~ .6 Pounds, at this writing) in the backend, the prices on the frontend dropped to reflect this. This means that somewhere in the settings I must have missed or put in the incorrect setting to make the store think it is still in the UK rather than the US.

Hopefully this helps narrow down my problem and help to find a solution.
By Medz - Sun 25 Aug 2013
Hi, do you see a currency dropdown in the front end? It might be that it just stored GBP as the currency in your user session prior to the point when your changed the default currency in the backend. Can you try to clear your cache and see if it does the same?
By Paul - Sun 25 Aug 2013
Yes, also worth noting a code change made recently which is in source control but not in a new zip build yet. In Global.asax, we were still assuming the default currency is ID=1. But this is not necessarily the case now you can change default currency.

In codeplex, go to source code and find the global.asax file (root of kartris), then copy this to your web. It should ensure the default currency is correctly set as the one you specify, and not just the one with ID=1.
By andersleet - Sun 25 Aug 2013
Hey Paul,

Thanks that seems to have been the problem!