Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » eCommerce Problem

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: 1623 Views
  • iculshaw
    Avatar
    Community Member
    13 Posts

    eCommerce Problem Link to this post

    Hi,

    I am trying to implement a new payment gateway into the SVN version of the eCommerce module; that is going fine, the problem I have however is; if i set my default country to for example the UK my currency is still displayed in dollars e.g. $15.00 GBP.

    I've scoured the code looking for where the dollar sign could be assigned as it isn't statically placed in the templates e.g. $Total.Nice (n.b. I'm not sure if the .Nice adds the dollar sign as i'm fairly new to this).

    I hope someone can help me out

    Heres to my first post!

    |Foobar1

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: eCommerce Problem Link to this post

    checkout the sapphire/fieldtypes/Currency.php file - I believe that adds a $ to the values. Or it might be one of the places..

  • bones
    Avatar
    Community Member
    103 Posts
    1623 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.