Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Changing the $ to a £


Reply


4 Posts   2084 Views

Avatar
bones

Community Member, 104 Posts

11 June 2008 at 10:48pm

Hi,

Would somebody tell me how to change the $ symbol to a £ symbol throughout the eCommerce system.

I've added the following to _config.php, but can't find where the dollar symbol is being picked up from.

// Set the currency of the site to be in GBP (Pounds Sterling).
Order::set_site_currency("GBP");

Thanks

Avatar
Fuzz10

Community Member, 787 Posts

13 June 2008 at 12:35am

I'm affraid that in the current version , you are going to have to hack some code ( look for example in sapphire\core\model\fieldtypes\Currency.php)...

I don't know what the status on the commerce module is @ the moment. I'm anxiously awaiting the new version as well .... ;)

Avatar
zyko

Community Member, 66 Posts

13 June 2008 at 3:53am

i did this, to exchange it with an Euro Symbol.
But that didn't help in a Currency Field...
there must be some more settings elsewhere...

Avatar
Double-A-Ron

Community Member, 604 Posts

13 June 2008 at 2:20pm

Hi Guys, this thread here may help:

[url]http://silverstripe.com/site-builders-forum/flat/87440[/url]