Page 1 of 1

Currency symbol in emails

Posted: Sat Apr 30, 2011 4:23 am
by PeteMVG
Hi,

The currency symbol in the confirmation emails is always showing as $, even though our only currency used is £ (this is the base (and only) currency of the store).

We've had to make some changes to the checkout process and this has meant we're firing off the confirmation emails manually (different emails needed in different situations). I'm not sure if this has anything to do with it, but how do we get the correct currency to show in the emails?

thanks

Edit: having just checked back on emails fired automatically, they had $ symbols too.

Edit: I guess this is something to do with the culture of the application, since the prices are being formatted with .ToString("C") in the emails. Why would this be different to the main application though?

Re: Currency symbol in emails

Posted: Mon May 02, 2011 4:29 am
by mazhar
Well you can change the culture from US to UK in your web.config file, locate globalization element in web.config. Secondly in Email template when formatting the price then instead of using .ToString("C") give a try to .ToString("lc").

Re: Currency symbol in emails

Posted: Thu May 05, 2011 4:17 am
by PeteMVG
Thanks, can't believe I didn't work that out myself!