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 …

How To Add Currency Conversion To Your Web SiteDo you plan to set up a WordPress-based e-commerce site, or sell goods or services globally? If so, then you should probably think about providing your prospects with a currency conversion feature.

Currency converting tools let your web visitors translate foreign currency pricing to their local currency when purchasing products online. It also allows visitors to see the exact amount their card or PayPal account will be charged, expressed in their home currency.

The obvious advantage of adding currency conversion to your site is that it allows visitors to view and understand prices in foreign countries in their own local currency, and makes it easier for customers to calculate their costs and expenses.

Fortunately, if you are a WordPress user, it’s really easy and simple to add currency conversion via a plugin to your website or blog, allowing your site visitors to easily calculate the cost of your goods.

WP Currency Converter – Currencyr

Currencyr - Free Currency Conversion Plugin For WordPress

Currencyr is an intuitive, easy-to-use and complete currency converter plugin with a unique converter tooltip. And, it’s 100% free to install and use on your WP website.

The Currencyr currency conversion plugin includes a number of features like the following:

  • In-line converter
  • Supports several exchange rates providers, like Yahoo!, Google, Open Exchange Rates, European Central Bank and FoxRates
  • WP-Cron task scheduler enabled
  • Widgetized currency table and converter
  • Supports integration with a number of e-store plugins such as WP-eCommerce & Easy Digital Downloads.
  • Automatically determines local currency
  • Full support for language translations

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 webhosting support team to check and upgrade your PHP.

***

You can install the currency conversion plugin from your WordPress dashboard by searching for “currencyr” in the Plugins section and clicking “Install Now” …

WP Plugin - Currencyr

After installing and activating the plugin, you can get to the plugin’s settings area by choosing Currencyr from your WP administration area …

WP Plugin - Currency Converter

This takes you to the plugin settings section …

WordPress Plugin - Currencyr

For example, you can choose your base currency from the Base Currency dropdown menu. The default base currency is ’USD’ …

WordPress Plugin - Currency Conversion

You can select any supported data provider from a dropdown menu. The default option is ‘Yahoo! Finance’, but you can select another option, such as European Central Bank or Google Finance …

WP Plugin - Currency Conversion

Note: If you select ‘Open Exchange Rates’, you will need to enter an API (Application Programming Interface) ID …

WordPress Plugin - Currencyr

You can choose how frequently you would like to update the exchange rates by choosing an option from the ‘Update Rates’ dropdown menu …

WordPress Plugin - Currency Conversion

The Currencyr 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).

Unless there is a reason to change the jQuery settings, leave these as they are …

WordPress Plugin - Currency Converter

Edit the rest of the settings to suit your needs and remember to click ‘Save Changes’ when done …

WordPress Plugin - Currency Conversion

When you have configured your settings, you can easily add currency conversion to any WordPress post using widgets.

Refer to the ‘Additional Plugin Notes’ section at the bottom of this tutorial to learn more about using currency codes (e.g. USD, NZD, CAD, etc …) in the Currencyr plugin.

Shortcodes

You can insert currency conversion into posts, pages and widgets without touching code using shortcodes.

Let’s take a look at some examples of currency shortcodes that you can add to pages and posts:

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

All you need to do is add the shortcode below to your post or page …

WordPress Plugin - Currency Conversion

Note: You can also add prices in dollars and cents (for example, 16.95, 189.00, 149.00, etc …)

The screenshot below shows how your shortcode will look once you have inserted it into the page …

WP Plugin - Currencyr

After your content has been published, the currency conversion will appear as you can see in the example below …

WordPress Plugin - Currency Conversion

Using this example, let’s now translate the same price into different currency formats.

To do this, use following shortcode (you can add as many currency symbols as you like separated by vertical pipes) …

WordPress Plugin - Currencyr

You can see how the above shortcode looks when added to a post …

WordPress Plugin - Currency Converter

After publishing the post or page, the currency conversion will then display as you can see in the example below …

WordPress Plugin - Currency Converter

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

Now, let’s say that you want to use a different base currency than the one you have selected 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 customers (for example, Australia or Canada), you can change the base currency using the following shortcode …

WP Plugin - Currency Conversion

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

WP Plugin - Currency Converter

After publishing the page, your currency conversion will then appear as seen in the screenshot below …

WordPress Plugin - Currency Converter

How To Use The Widget

You can also insert currency conversion into your website or blog’s sidebar using the plugin’s widget.

To add currency conversion to your sidebar area, choose Appearance > Widgets from the WP 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 currency codes separated by a comma), and click ‘Save’ to save your settings …

WordPress Plugin - Currency Converter

The currency converter tool will now show on your site’s sidebar with the options you have selected …

WordPress Plugin - Currency Conversion

Additional Plugin Notes

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

Currency Separator

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

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

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

WP Plugin - Currency Converter

Displays your currency values separated by the forward slash as you can see in the screenshot below …

WordPress Plugin - Currency Conversion

If you modify the symbol and update your plugin settings …

WP Plugin - Currency Conversion

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

WordPress Plugin - Currencyr

E-Commerce Integration

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

WordPress Plugin - Currency Conversion

(image sourced from Currencyr plugin website)

And there you have it! Now you can go and easily add currency conversion to your e-commerce site.

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

***

"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)