How to Customize the Currency or Symbol in WooCommerce?

To change Woocommerce currency or symbol then add the following lines of code in your theme's functions.php file.

Customize the Currency or Symbol in WooCommerce

//Change the symbol of an existing currency
add_filter('woocommerce_currency_symbol', 'magik_change_existing_currency_symbol', 10, 2);
function magik_change_existing_currency_symbol( $currency_symbol, $currency ) 
{
     switch( $currency ) 
    {
          case 'USD': $currency_symbol = 'US$'; break;
     }
     return $currency_symbol;
}

If you face any problems or need our professional services, please email us at [email protected].

Join our Newsletter

Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.