woocommerce add custom currency

WooCommerce: Add Your Own Custom Currency

Not all currencies are supported by WooCommerce. Here’s how to add your own currency label, description and symbol.

Add custom currency to WooCommerce
Do you sell in bananas? 😛

You can set your default currency at WooCommerce > Settings, then scroll down to “Currency Options”.

There are a huge list of the main currencies being traded but if you are looking to support cryptocurrencies other than Bitcoin, you will have to register them using the code below.

Please note, “Bananas” are not legal tender in any country I know of 😛 ????????????

https://gist.github.com/DeveloperWil/7439b126a46442d840e394e195acbc58

Where To Put The Code Snippet?

This code snippet should go in your active theme’s functions.php file.

Add it to the bottom of the file, before any closing ?> characters.

It’s always a good idea to take a backup of your functions.php file in case anything goes wrong – you can just copy the old code back in again.

Was this article helpful?
YesNo