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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Changing the $ to a £


Go to End


4 Posts   2419 Views

Avatar
bones

Community Member, 110 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, 791 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, 607 Posts

13 June 2008 at 2:20pm

Hi Guys, this thread here may help:

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