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 SiteAre you thinking about setting up an e-commerce site or selling products globally? If so, then here’s a great idea: consider providing your prospects with a currency conversion feature.

Currency converting tools allow your visitors to translate international currency prices into their home currency at the purchase or checkout phase. It also lets visitors see the exact amount their card or PayPal account will be charged, displayed in their home currency.

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

Fortunately, if you are a WordPress user, you can add a currency conversion plugin to your WordPress site, allowing your visitors to quickly perform currency conversions to determine the cost of your goods.

Currencyr

WP Currency Converter - Currencyr

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

Some of the features of this plugin include the following:

  • In-line converter
  • Supports various exchange rates providers, like Yahoo!, Open Exchange Rates & FoxRates
  • WP-Cron task scheduler enabled
  • Widgetized currency table and converter
  • Supports integration with a number of online store plugins such as WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads.
  • Automatic local currency detection
  • Translation support

Note: The Currencyr plugin requires PHP 5.3.0 or later. Do not install this plugin if you are running an older version of PHP. Alternatively, ask your web hosting provider to update your PHP.

***

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

WP Plugin - Currencyr

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

WP Plugin - Currency Converter

The plugin settings section offers you a number of configuration options …

WordPress Plugin - Currencyr

For example, you can choose a base currency from the ‘Base Currency’ drop-down menu. The default option is ‘United States Dollar – (USD)’ …

WordPress Plugin - Currencyr

You can select which data provider you want to use from a dropdown menu. The default selection is ‘Yahoo! Finance’, but you can also choose another provider, such as FoxRate or Google Finance …

WordPress Plugin - Currency Converter

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

WP Plugin - Currencyr

You can specify how often you want to update the currency exchange rates by choosing 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 allows web developers to add things like animation effects to web applications (e.g. WP plugins).

If you have no reason to modify the jQuery settings, leave this option alone …

WP Plugin - Currency Converter

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

WP Plugin - Currency Conversion

Once your plugin settings have been configured, you can add currency conversion to any WP page using widgets.

See the ‘Additional Plugin Notes’ section further below to learn more about using currency codes (e.g. USD, AUD, JPY, etc …) in this plugin.

Using Shortcodes

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

Here are some examples of currency shortcodes that you can add to posts and pages:

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

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

WordPress Plugin - Currency Converter

Note: You can also display pricing in dollars and cents (e.g. 165.49, 22.00, 400.00, etc …)

The example below shows how the shortcode should look after being inserted into a page …

WordPress Plugin - Currency Converter

When your post has been published, the currency conversion will display as shown below …

WordPress Plugin - Currency Converter

Using the above example, let’s now translate the same price into multiple currencies.

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

WP Plugin - Currency Converter

You can see how the shortcode appears when inserted into a page …

WP Plugin - Currencyr

After publishing your content, your currency conversion will then appear as you can see below …

WordPress Plugin - Currency Conversion

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

Now, let’s suppose that you would like to select a different base currency than the one selected as the default.

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

WP Plugin - Currency Converter

The screenshot below shows how the shortcode looks when inserted into your content …

WordPress Plugin - Currency Converter

After publishing your page or post, your converted currency will then appear as seen in the example below …

WordPress Plugin - Currency Converter

Widget

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

To add currency conversion to your sidebar, select Appearance > Widgets from your WordPress dashboard menu …

WP Menu: Appearance > Widgets

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currency Conversion

The currency converter will now appear on your site’s sidebar menu with the settings you have selected …

WP Plugin - Currencyr

Additional Plugin Notes

This section contains additional information about using the plugin.

Currency Separator

The Currencyr plugin lets you specify the symbol to display as the currency separator when using several 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 Conversion

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

WP Plugin - Currencyr

If you change this symbol and resave your settings …

WP Plugin - Currency Conversion

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

WP Plugin - Currency Converter

Integration With WordPress e-Commerce Platforms

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

WP Plugin - Currency Conversion

(image source: plugin website)

Congratulations! Now you know how to easily add a currency converter to your e-commerce web site.

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

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum