Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Changing the $ to a £

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

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

Page: 1
Go to End
Author Topic: 1956 Views
  • bones
    Avatar
    Community Member
    104 Posts

    Changing the $ to a £ Link to this post

    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

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Changing the $ to a £ Link to this post

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

  • zyko
    Avatar
    Community Member
    66 Posts

    Re: Changing the $ to a £ Link to this post

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

  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

    Re: Changing the $ to a £ Link to this post

    Hi Guys, this thread here may help:

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

    1956 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.