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 and services globally? If so, then you should probably consider providing your potential customers with a currency conversion tool.

Currency conversion lets your web visitors convert foreign currency amounts to their local currency at the purchase or checkout phase. It also allows your visitors and customers to view the exact amount their credit card or PayPal account will be charged, expressed in their local currency.

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

If you are a WordPress user, you can add currency conversion using a plugin to your site, allowing your customers to easily perform currency conversions to determine the cost of your products.

Currencyr – Free Currency Converting Tool For WP Websites

WordPress Currency Converter - Currencyr

Currencyr is a simple, easy-to-use and complete currency converter WP plugin with a visually attractive converter tooltip. Best of all, it’s free!

This useful plugin includes practical features such as:

  • In-line converter
  • Supports various exchange rates providers, such as Yahoo! and Open Exchange Rates
  • Supports Shortcodes
  • Currency table and converter widget
  • Supports integration with various e-store plugins like WP-eCommerce and Shopp.
  • Automatic local currency detection
  • Support for language translations

Note: This plugin needs 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. Ask your web host to check and upgrade your PHP.

***

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

WP Plugin - Currency Converter

After you have installed and activated the plugin, you can configure the plugin’s settings by selecting Currencyr from your WordPress dashboard navigation menu …

WordPress Plugin - Currencyr

This takes you to the plugin settings section …

WP Plugin - Currency Converter

For example, you can choose a base currency from a dropdown menu if you prefer a different currency than the default option ‘United States Dollar – (USD)’ …

WP Plugin - Currency Conversion

Similarly, you can choose a data provider from a drop-down menu. The default provider is Yahoo Finance, but you can choose another option, 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 - Currency Converter

You can select how frequently you want the currency exchange rates to update by choosing an option from the ‘Update Rates’ drop-down menu …

WP Plugin - Currencyr

The plugin uses jQuery, which allows web developers to add things like animation effects to web applications (such as WordPress plugins).

If you have no reason to edit the jQuery settings, leave these as they are …

WordPress Plugin - Currency Conversion

Configure the rest of the settings and don’t forget to click the ‘Save Changes’ button when you have configured all the options in this screen …

WordPress Plugin - Currency Conversion

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

Refer to the ‘Additional Plugin Notes’ section below to learn more about using currency codes (e.g. USD, GBP, JPY, etc …) with this plugin.

Using Plugin Shortcodes

You can add currency conversion to WP pages, posts and widgets without touching your web templates using shortcodes.

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

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

To display this information, simply insert the shortcode below into your post or page …

WP Plugin - Currency Conversion

Note: You can also insert pricing in dollars and cents (for example, 19.95, 197.00, 2499.99, etc …)

The screenshot below shows how your shortcode looks when inserting it into your product page …

WordPress Plugin - Currencyr

After publishing the content, your converted currency will appear as shown below …

WordPress Plugin - Currency Conversion

Using the above example, let’s now convert the same price into different currency formats.

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

WordPress Plugin - Currency Converter

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

WP Plugin - Currency Converter

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

WordPress Plugin - Currency Converter

See the ‘Additional Plugin Notes’ section further below to learn how to change the currency separator symbol with the Currencyr plugin.

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

For example, if you have set your default base currency as EUR and you have a section on your website targeted to visitors from countries like Australia or Canada, you can change the base currency using the following shortcode …

WP Plugin - Currency Converter

The screenshot below now shows how the above shortcode appears when you add it to your content …

WordPress Plugin - Currencyr

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

WP Plugin - Currency Conversion

Plugin Widget

You can also insert a currency converter into your website’s sidebar using a 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 add it to an ‘Active Widgets’ area …

WordPress Plugin - Currencyr

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

WP Plugin - Currency Converter

The currency converter will now appear on your website’s sidebar with the settings you have specified when configuring the widget …

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 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 section.

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

WP Plugin - Currency Converter

Separates all your currency amounts using the forward slash as you can see in the example below …

WordPress Plugin - Currency Converter

If you change the symbol and resave your plugin settings …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

Integration With e-Commerce Platforms

As mentioned earlier, the Currencyr plugin integrates with various WP-compatible e-commerce plugins like WooCommerce and Shopp …

WordPress Plugin - Currencyr

(image sourced from plugin website)

Congratulations! 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:

***

"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

Originally published as How To Add Currency Conversion In WordPress.