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 WP Web SiteAre you planning to sell any products online internationally? If so, then you should consider providing users with the convenience of currency conversion on your web site.

Currency conversion tools allow your prospects to convert international currency prices to their local currency at the buying or checkout phase. It also lets customers view the exact amount their card or PayPal account will be charged, displayed in their own home currency.

One benefit of adding currency conversion to your website is that it allows visitors to view and understand prices in foreign countries in their own local currency, making it it easier for visitors to calculate their costs and expenses.

Fortunately, if you are a WordPress user, you can add a currency conversion plugin to WordPress, allowing your prospective customers to easily determine the cost of your products.

Currencyr – Currency Converter For WordPress

WordPress Currency Conversion Plugin - Currencyr

Currencyr is a simple yet advanced, intuitive, easy-to-use and complete currency converter plugin with a unique converter tooltip. Best of all, it’s free!

This plugin features:

  • In-line converter
  • Supports a number of exchange rates providers, like Yahoo!, Google & European Central Bank
  • Supports Shortcodes
  • Currency table and converter widget
  • Can be integrated with various online shopping plugins like WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads.
  • Can detect local currency automatically
  • Full language translation support

Important: This plugin needs PHP 5.3.0 or later. Do not install this plugin if you currently have an older version of PHP installed. Ask your web host to update your PHP.

***

You can install the currency conversion plugin from your WordPress admin area by typing in “currencyr” into the Plugins search field and clicking the “Install Now” button …

WordPress Plugin - Currency Conversion

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

WordPress Plugin - Currency Converter

This takes you to the plugin settings area …

WordPress Plugin - Currencyr

For example, you can select your base currency from a dropdown menu if you prefer to use something other than the default option ‘United States Dollar – (USD)’ …

WP Plugin - Currency Conversion

You can specify a data provider from the drop-down menu in the ‘Provider’ section. The default selection is ‘Yahoo! Finance’, but you can choose one of the other options, like FoxRate or Open Exchange Rates …

WP Plugin - Currency Converter

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

WP Plugin - Currency Conversion

You can choose how often you would like the currency exchange rates to be updated by selecting an option from the ‘Update Rates’ drop-down menu …

WordPress Plugin - Currency Converter

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 (like WordPress plugins).

Unless you have a reason to edit the jQuery settings, you can just ignore this section …

WordPress Plugin - Currencyr

Edit the rest of the plugin settings to suit your needs and click ‘Save Changes’ when you have configured this page …

WordPress Plugin - Currencyr

When you have configured your settings, you can add currency conversion to your WordPress pages or posts using a shortcode.

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

Plugin Shortcodes

You can easily add currency conversion to pages, posts and widgets with no coding skills using shortcodes.

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

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

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

WP Plugin - Currency Conversion

Note: You can also add pricing in dollars and cents (for example, 19.95, 22.00, 400.00, etc …)

The example below shows how your shortcode looks after being added to a post or page …

WP Plugin - Currency Converter

When your page or post has been published, the currency conversion will display as you can see in the example below …

WP Plugin - Currency Converter

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

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

WordPress Plugin - Currencyr

You can see how the shortcode looks when inserted into a post …

WP Plugin - Currencyr

After publishing the page or post, your converted currency amounts will then appear like this …

WordPress Plugin - Currency Converter

refer to the ‘Additional Plugin Notes’ section at the end of this tutorial to learn how to change the currency separator symbol in the Currencyr plugin.

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

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

WordPress Plugin - Currency Converter

The example below shows how the shortcode looks when added to your content …

WordPress Plugin - Currency Conversion

Once your information has been published, your currency conversion will then display as you can see below …

WordPress Plugin - Currency Converter

How To Use The Plugin Widget

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

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

WP Menu: Appearance > Widgets

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

WP Plugin - Currency Conversion

Configure the widget settings as shown below (add currency codes separated by a comma), and click ‘Save’ to update your settings …

WP Plugin - Currencyr

Your currency converter tool will now display on your website’s sidebar with the options you have specified …

WordPress Plugin - Currencyr

Additional Plugin Notes

This section contains additional information about using the plugin.

Currency Separator

The Currencyr plugin allows you to specify a symbol of your choice to display as the currency separator when using multiple currencies.

You can change the 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 a forward slash as you can see in the example below …

WordPress Plugin - Currency Converter

If you modify this symbol and update your plugin settings …

WordPress Plugin - Currencyr

Your web visitors will see the new symbol display as the currency separator …

WP Plugin - Currency Conversion

WP E-Commerce

As stated earlier, the Currencyr plugin integrates with a number of WordPress-compatible e-commerce plugins such as WP-eCommerce and Easy Digital Downloads …

WordPress Plugin - Currencyr

(image source: plugin website)

And there you have it! Now you know how to easily add a currency converter to your WordPress website.

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

***

"I was absolutely amazed at the scope and breadth of these tutorials! The most in-depth training I have ever received on any subject!" - Myke O'Neill, DailyGreenPost.com