Customize Woocommerce Currency Symbol

Recently one of my clients wanted to change Woocommerce US Dollar sysbol “$”   to “USA$” .

woocommerce currency dollar

I found it to be very easy.  Just insert the following code block to functions.php file under theme folder.

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

Woocommerce currency symbol

This entry was posted in WordPress. Bookmark the permalink.

6 Responses to Customize Woocommerce Currency Symbol

  1. bhavesh says:

    thank you so much, this article help me great

  2. fnue says:

    Thank you so much!!

  3. orlando says:

    worked great !!

  4. Sofia says:

    Perfect!! thank youuuuu!! Save my day

  5. Jorge Rivero says:

    Perfect! It worked like a charm!

  6. reyn says:

    Thank You!

Leave a Reply

Your email address will not be published. Required fields are marked *