How to add a custom currency and symbol in WooCommerce

by Owais Alam  May 2, 2017

WooCommerce is a popular WordPress eCommerce plugin that offers great options for customization of the store. In this tutorial,  I will highlight how to add custom currency symbol in a WooCommerce store.

By default, WooCommerce comes with many currency options. However, if you wish to add another currency (and its symbol), the process is very straightforward.

custom currency

For the purpose of this tutorial, I will add a dummy currency with the name CLOUDWAYS CURRENCY and will use the symbol, ‘CW$’ for it.

Open the functions.php, located in the theme folder.

Now, add the following lines of code at the end of the file and save the file.

Now, go to backend of the WordPress website, navigate to the WooCommerce tab and then Settings.

currency options

Click the Currency drop down under Currency Options, you will see the newly added custom currency at the end of the dropdown.


Select the newly added currency from here and save the settings.

Code Explanation

The following function adds a custom currency:

Since I created a custom currency, CLOUDWAYS CURRENCY that appears on the backend:

currency position

The above function adds the currency symbol. I have use CW$ as the currency symbol.


Go to the front end, and refresh the page. You will see the newly added custom currency being displayed at product pages.

product default sorting


In this tutorial, I discussed how to add custom currency and symbol in WooCommerce. The code is pretty simple and involves adding a custom filter to the functions.php. If you need further help with the topic, Do leave a comment below and I will get back to you.

Start Creating Web Apps on Managed Cloud Servers Now!

Easy Web App Deployment for Agencies, Developers and E-Commerce Industry

About Owais Alam

is the WordPress Community Manager at Cloudways – A Managed WooCommerce Hosting Platform and a seasoned PHP developer. He loves to develop all sorts of websites on WordPress and is in love with WooCommerce in particular. You can email him at

Stay Connected:

You Might Also Like...