Currency symbol in emails

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
PeteMVG
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Mon Apr 11, 2011 7:38 am

Currency symbol in emails

Post by PeteMVG » Sat Apr 30, 2011 4:23 am

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?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Currency symbol in emails

Post by mazhar » Mon May 02, 2011 4:29 am

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").

PeteMVG
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Mon Apr 11, 2011 7:38 am

Re: Currency symbol in emails

Post by PeteMVG » Thu May 05, 2011 4:17 am

Thanks, can't believe I didn't work that out myself!

Post Reply