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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   2356 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