PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How can I get the euro sign to be left to the price?

  1. HelmaP
    Member

    Hi,

    I'm trying to get the euro sign to appear before the price (which is common in Europe). But with no success so far. I tried the code following snippet in different variations but it makes the price disappear altogether...

    add_filter("gform_currencies", "update_currency");
    function update_currency($currencies) {
    $currencies['EUR'] = array(
    "name" => __("Euro", "gravityforms"),
    "symbol_left" => '',
    "symbol_right" => "€",
    "symbol_padding" => " ",
    "thousand_separator" => ',',
    "decimal_separator" => '.',
    "decimals" => 2);

    return $currencies;
    }

    Can you please help?
    I published the unfinished form so you can see how it looks (I have removed code above in functions.php)
    http://www.kikkermuziek.nl/bestelpagina/

    Regards,
    Helma

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink