• Resolved mahii-conception

    (@mahii-conception)


    Hi !

    I use this code in function.php to change the symbol of woocommerce currency for dirham :

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

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

    It works but seams not compatible with your plugin. Is there a way to change the symbol of the currency with your plugin ?

    Thanks a lot

    https://wordpress.org/plugins/woo-multi-currency/

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