• Resolved shakxyz

    (@shakxyz)


    hello
    iam using this snippet to change my currency symbol
    /**
    * change currency symbol to AED
    */

    add_filter( ‘woocommerce_currency_symbol’, ‘wc_change_uae_currency_symbol’, 10, 2 );

    function wc_change_uae_currency_symbol( $currency_symbol, $currency ) {
    switch ( $currency ) {
    case ‘AED’:
    $currency_symbol = ‘AED’;
    break;
    }
    return $currency_symbol;
    }

    my shop in UAE. my old symbol is (?.?) and the new symbol is (AED).
    but when I installed woolenter the symbol back to the old one again. any idea?

    • This topic was modified 4 years, 3 months ago by shakxyz.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Tarek Aziz

    (@tarekht)

    Hello @shakxyz

    We have checked the plugin in our local server by adding the snippet you provided above and it is working perfectly.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘woocommerce_currency_symbol’ is closed to new replies.