How To Change WooCommerce Currency Symbol


How To Change WooCommerce Currency Symbol

In this tutorial you learn how to change your WooCommerce Currency Symbol very easily.

Video Tutorial

Add code to your theme via “functions.php” and save changes. It’s works well. But there is an easier way to do this!

You can easily add this code through plugin called “Code Snippets”.

First of all, you need to activate the plugin called “Code Snippets”. Then go to the snippets page on the dashboard and click on “add new”. Then, enter the title you want to call.

Now, simply add this snippet code mention in below and click “Save changes and activate”.

/**
 * Change a currency symbol
 */
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);

function change_existing_currency_symbol( $currency_symbol, $currency ) {
     switch( $currency ) {
          case 'AUD': $currency_symbol = 'AUD$'; break;
     }
     return $currency_symbol;
}

That’s It! Now it works fine as you needed. 🙂

Related post: Hide WooCommerce Product Categories on Shop Page or other Page

Well, I hope this article must have helped you. If you have any problem regarding this post just drop your comment here or you can also say “Thanks” simply.