How to add custom currency symbol in WooCommerce

How To Add Custom Currency Symbol In Woocommerce 300x169

Sometimes you need your own currency symbol in your store. For example, if your currency is Singapore Dollar, the WooCommerce shows it as “$”. Your site visitors will be confused about whether it is a US Dollar or which currency. In this article, we will see how to add a custom currency symbol in WooCommerce for products, carts, and checkout using the filter hook method.

To make your currency symbol precise and more informative you can introduce your own symbol which helps users to understand the currency.

You need to add the following snippet in functions.php of your child theme:

This snippet will add a custom currency symbol in WooCommerce.

Please note that you can add your own currency symbol here. I have added a new currency with the name “Singaporian Dollar” and the symbol I like is “SG$”.

The “SG” is a country code of Singapore so instead of showing “$” it is more informative to show “SG$”.

How to select the currency in WooCommerce

Navigate to WooCommerce > Settings > General and scroll down till “Currency Options”.

Under currency, you will see your currency name (Singaporian Dollar in my case)

custom-currency-symbol-in-woocommerce-settings
WooCommerce – currency settings

Click “Save Changes” and open the products page of your store and your new currency symbol will be reflected.

Examples

Once the snippet is added, this is how the currency will look like:

Products

The products grid:

How to add custom currency symbol in WooCommerce
WooCommerce – products list
Cart Table

The cart table with totals:

custom-currency-in-cart
WooCommerce – cart table and cart total

Comment
Name
Email