How To Add Currency Conversion In WordPress

Learn how to easily add currency conversion to your WordPress website or blog using a free WordPress plugin called Currencyr.

Adding Currency Conversion To Your WordPress SiteAre you thinking about setting up an e-commerce web site or selling products internationally? If so, you should probably consider providing your web visitors with a currency conversion service.

Currency conversion lets your prospects have the price of a foreign currency transaction translated to their local currency when purchasing or checking out products on e-commerce sites. It also allows your customers to see the exact amount their card or PayPal account will be charged, displayed in their home currency.

The obvious benefit of adding currency conversion to your site is that it lets your customers view and understand prices in foreign countries in their own home currency, making it it easier for purchasers to calculate their costs and expenses.

If you are a WordPress user, it’s really simple to add currency conversion via a plugin to currency conversion to your WordPress site via a plugin, allowing your visitors to quickly and easily determine the cost of your goods.

Currencyr – WordPress Currency Conversion Plugin

WordPress Currency Converter - Currencyr

Currencyr is a simple, easy-to-use and complete currency converter plugin with a unique converter tooltip. It’s also free to install and use on your site.

The Currencyr useful plugin includes many features such as:

  • Inline converter
  • Supports various exchange rates providers, like Yahoo!, Google & FoxRates
  • WP-Cron task scheduler enabled
  • Currency table and converter widget
  • Can be integrated with a number of online store plugins like WooCommerce, Shop & Easy Digital Downloads.
  • Can detect local currency automatically
  • Supports full translations

Important: This plugin requires PHP 5.3.0 or later. Do not use this plugin if you are running an older version of PHP. Alternatively, ask your web host to update your PHP.

***

You can install the Currencyr plugin from your WP dashboard by searching for “currencyr” in the Plugins section and clicking the ”Install Now” button …

WP Plugin - Currency Conversion

After installing and activating the plugin, you can configure the plugin’s settings by selecting Currencyr from your admin menu …

WP Plugin - Currencyr

The plugin settings area provides various configuration options …

WP Plugin - Currency Conversion

For example, you can select your base currency from the ‘Base Currency’ drop-down menu if you prefer to use something other than the default option ’US Dollar’ …

WordPress Plugin - Currencyr

You can also select any supported data provider from a dropdown menu. The default provider is Yahoo Finance, but you can select another option, like FoxRate or Open Exchange Rates …

WP Plugin - Currencyr

Note: If you choose ‘Open Exchange Rates’ as your provider, you will need an API (Application Programming Interface) ID …

WordPress Plugin - Currency Conversion

You can choose how often you want to update the exchange rates by selecting an option from the ‘Update Rates’ dropdown menu …

WordPress Plugin - Currency Converter

The plugin uses jQuery, which is an open-source library of Javascript code that lets web developers add things like animation effects to web applications (such as WP plugins).

If you have no reason to modify the jQuery settings, just ignore this section …

WordPress Plugin - Currencyr

Configure the remainder of the plugin settings and click the Save Changes button when done …

WordPress Plugin - Currency Conversion

After you have configured your plugin settings, you can easily add currency conversion to your WP posts or pages using a shortcode.

See the ‘Additional Plugin Notes’ section further below to learn how to use currency codes (e.g. USD, NZD, JPY, etc …) with the Currencyr plugin.

Currencyr Shortcodes

You can easily insert currency conversion into WP pages, posts and widgets with no technical knowledge or skills using shortcodes.

Below are some examples of currency shortcodes that you can add to your WP posts and pages:

Let’s say that you retail a product for a fixed price (e.g. $175) in US Dollars (USD), and you would like to display the conversion amount in British pounds (GBP) on your product sales page.

All you need to do is insert the following shortcode to your page content …

WordPress Plugin - Currency Converter

Note: You can also display pricing in dollars and cents (for example, 188.35, 37.95, 2499.99, etc …)

The example below shows how your shortcode should look once you have added it to the post …

WP Plugin - Currencyr

Once the post has been published, your currency conversion will display like this …

WordPress Plugin - Currency Conversion

Using the same example, let’s also display the same amount into different currency formats.

To do this, use the shortcode shown below (you can add as many currency symbols as you want separated by vertical pipes) …

WP Plugin - Currency Converter

The screenshot below shows how the above shortcode looks when you add it to a page …

WP Plugin - Currencyr

After publishing the page or post, your currency conversion will then appear as you can see below …

WP Plugin - Currency Conversion

See the ‘Additional Plugin Notes’ section below to learn more about changing the currency separator symbol in the Currencyr plugin.

Now, suppose you want to select a different base currency than the one selected as your default.

For example, if you have specified your default base currency as EUR and you have a section on your e-commerce pages targeted to non-European customers (like Australia or Canada), you can change the base currency using the following shortcode …

WordPress Plugin - Currency Converter

The example below now shows how the shortcode looks when added to a post …

WordPress Plugin - Currencyr

After publishing your post, the currency conversion will then appear like this …

WordPress Plugin - Currency Converter

Widget

You can also insert a currency converter into your website’s sidebar section using the plugin’s widget.

To add the currency converter to your sidebar, choose Appearance > Widgets from the WP dashboard menu …

WP Menu: Appearance > Widgets

In the Widgets > Available Widgets area find the ‘Currencyr’ widget and add it to the Active Widgets location …

WP Plugin - Currency Conversion

Configure the widget settings as shown below (add any currency codes you want displaying on your widget separated by commas), and click ‘Save’ to update your settings …

WP Plugin - Currency Conversion

The currency converter will now appear on your site’s sidebar with the options you have specified …

WordPress Plugin - Currency Converter

Additional Plugin Notes

This section contains additional information about using the Currencyr plugin.

Currency Separator

The Currencyr plugin allows you to specify the symbol to display as the currency separator when using several currencies.

You can select a different symbol in the ‘Multiple Separator’ settings section.

So, for example, using the default symbol “/” (forward slash) …

WP Plugin - Currency Converter

Separates all your prices with a forward slash as shown below …

WordPress Plugin - Currency Converter

If you modify this symbol and resave your settings …

WordPress Plugin - Currency Conversion

Your site visitors will see the new symbol used as the currency separator …

WordPress Plugin - Currency Conversion

e-Commerce Platform Integration

As described earlier, the Currencyr plugin can be integrated with a number of WP-compatible e-commerce plugins such as WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads …

WP Plugin - Currencyr

(above image sourced from plugin site)

And there you have it! Now you can go and easily add a currency converter to your WordPress site.

To learn more about WordPress e-commerce plugins, see the tutorial below:

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

Disclaimer: WordPress and its related trademarks are registered trademarks of Automattic, Inc. This site and the services and products offered on this site are not associated, affiliated, sponsored, or endorsed by WordPress, nor have they been reviewed, certified, or tested by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items linked to, advertised, or reviewed on this site.

***

Have you found this tutorial useful? If so, please consider sharing this article with others using the links below.

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE detailed step-by-step tutorials that will teach you how to use WordPress to grow your business online at minimal cost with no coding skills required!

Originally published as How To Add Currency Conversion In WordPress.