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   2000 Views

Avatar
bones

11 June 2008 at 10:48pm Community Member, 104 Posts

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

13 June 2008 at 12:35am Community Member, 787 Posts

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

13 June 2008 at 3:53am Community Member, 66 Posts

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

13 June 2008 at 2:20pm Community Member, 604 Posts

Hi Guys, this thread here may help:

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