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 WordPressDo you plan to set up a WordPress-based e-commerce site, or sell goods to an overseas audience? If so, you should think about providing users with currency conversion.

Currency conversion tools allow your customers to convert foreign currency amounts to their home currency at the buying or checkout stage. It also lets your visitors see the exact amount their card or PayPal account will be charged, displayed in their local currency.

One benefit of showing currency conversion on your site is that it lets your customers see and understand pricing in foreign countries in their own home currency, and makes it easier for customers to work out their costs and expenses.

If your site is built with WordPress, it’s quite easy and simple to add a currency converter to your WordPress web site, allowing your site visitors to easily work out the cost of your goods.

Currencyr – Free Currency Converter For WordPress

Currencyr - Currency Converting Tool For WordPress

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

Some of the many features of this plugin include the following:

  • Inline converter
  • Supports several exchange rates providers, like Yahoo!, Google & European Central Bank
  • Supports Shortcodes
  • Widgetized currency table and converter
  • Supports integration with various e-store plugins such as WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads.
  • Can detect local currency automatically
  • Full language translation support

Note: The Currencyr plugin requires your server to be running PHP 5.3.0 or later. Do not use this plugin if you are running an older version of PHP on your server. Alternatively, ask your web hosting support team to check and upgrade your PHP.

***

You can install the plugin from your WordPress dashboard by typing in “currencyr” into the Plugins search field and clicking the “Install” button …

WP Plugin - Currencyr

Once the plugin has been installed and activated, you can configure the plugin’s settings by selecting Currencyr from your WP dashboard menu …

WordPress Plugin - Currency Conversion

This takes you to the plugin settings area …

WordPress Plugin - Currency Conversion

For example, you can choose your base currency from a dropdown menu if you prefer to use something other than the default option ’US Dollar’ …

WordPress Plugin - Currency Conversion

You can choose any supported data provider from the dropdown menu in the Provider section. The default selection is Yahoo Finance, but you can select another provider, such as European Central Bank or Open Exchange Rates …

WordPress Plugin - Currency Conversion

Note: If you select Open Exchange Rates as your provider, an API (Application Programming Interface) is required …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

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

Unless there is a reason to change the jQuery settings, simply ignore this section …

WP Plugin - Currencyr

Edit the rest of the plugin settings and remember to click Save Changes when done …

WordPress Plugin - Currency Converter

After your plugin settings have been configured, you can easily start adding currency conversion to any WordPress page or post using widgets.

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

How To Use Currencyr Shortcodes

You can add currency conversion to posts, pages and widgets without touching code using shortcodes.

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

Let’s say that you are selling an item on your site for a set price (e.g. $175) in US Dollars (USD), and you want to display your conversion amount in British pounds (GBP) on your product information page.

To display this information, simply add the following shortcode into your page content …

WP Plugin - Currencyr

Note: You can also add pricing in dollars and cents (for example, 89.95, 37.95, 295.75, etc …)

The screenshot below shows how your shortcode will look when added to the product page …

WordPress Plugin - Currency Conversion

Once the post has been published, your currency conversion will appear as shown below …

WordPress Plugin - Currency Conversion

Using the above example, let’s also convert the same amount into multiple currencies.

To do this, use the shortcode below (add as many currency symbols as you like by using vertical pipes) …

WordPress Plugin - Currencyr

You can see how the shortcode looks when you add it to your content …

WordPress Plugin - Currencyr

Once your page or post has been published, your converted currency amounts will then appear as shown below …

WP Plugin - Currency Conversion

refer to the ‘Additional Plugin Notes’ section at the end of this tutorial to learn more about changing the currency separator symbol with the Currencyr plugin.

Now, suppose you want to use a different base currency than the one you have set as the default.

For example, if you have set your default base currency as EUR and you have a section on your website targeted to non-European visitors (for example, Australia or Canada), you can change the base currency using the following shortcode …

WP Plugin - Currency Converter

The example below shows how the above shortcode looks when added to a page …

WP Plugin - Currencyr

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

WP Plugin - Currency Converter

Using The Widget

You can also add currency conversion to your website’s sidebar using the plugin’s widget.

To add the currency converter to your sidebar area, select Appearance > Widgets from your WordPress admin menu …

WordPress Menu: Appearance > Widgets

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

WP Plugin - Currencyr

Configure the widget options as shown below (add the currency codes you would like to display on your widget separated by a comma), and click Save to save your settings …

WordPress Plugin - Currencyr

Your currency converter will now show on the sidebar menu with the settings you have specified …

WordPress Plugin - Currency Converter

Additional Plugin Notes

Here are some additional notes and useful information about using the Currencyr plugin.

Currency Separator

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

You can change the symbol in the Multiple Separator settings section.

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

WP Plugin - Currencyr

Displays your currency values separated by the forward slash as shown below …

WordPress Plugin - Currency Conversion

If you specify another symbol and update your settings …

WordPress Plugin - Currencyr

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

WordPress Plugin - Currency Conversion

WP E-Commerce

As stated earlier, the plugin can be integrated with various WP-compatible e-commerce plugins like WooCommerce, WP-eCommerce and Easy Digital Downloads …

WordPress Plugin - Currency Converter

(image source: Currencyr plugin site)

Congratulations! Now you can go and easily add a currency converter to your e-commerce website.

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

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum