Currency symbol position

Discussion in 'Payments processing' started by botor, Feb 11, 2013.

  1. botor

    botor New Member

    Joined:
    Feb 10, 2013
    Messages:
    5
    Hello Guys,
    It is possible to change the currency symbol position?
    For example the $10 USD is correct, but the Hungarian Forint symbol is a "Ft" the system use HUF.
    The correct is a 10 Ft., not the 10HUF
    And the Hungarian symbol is on the right side not a left.

    Thanks
    Botor
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Yes possible but you need to change core file.
    Edit /amember/library/Am/Currency.php and Add it to this array:

    protected $formats = array(
    'USD' => '$%.2f',
    'GBP' => '£%.2f',
    'EUR' => '€%.2f',
    'JPY' => '¥%.2f',
    'HUF' => '%.2f Ft.',
    );
  3. botor

    botor New Member

    Joined:
    Feb 10, 2013
    Messages:
    5
    Big big thanks:)

Share This Page