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 SiteDo you sell goods or services online globally? If so, then it’s a good idea to think about providing your prospects with currency conversion.

Currency conversion allows your prospects to have the price of an international currency transaction translated into their home currency when purchasing or checking out products online. It also lets your customers see the exact amount their credit card or PayPal account will be charged, displayed in their local currency.

One benefit of adding currency conversion to your site is that it allows your customers to see and understand prices in foreign countries in their own local 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 converter to your WordPress site, allowing your customers to quickly and easily perform currency conversions to determine the cost of your products.

Currencyr – WordPress Currency Converter

Currencyr - Free Currency Converting Tool For WP Websites & Blogs

Currencyr is an intuitive, easy-to-use and complete currency converter plugin with a unique converter tooltip. And, it’s also free!

Plugin features include the following:

  • In-line conversion tool
  • Supports several exchange rates providers, like Yahoo!, Google, Open Exchange Rates, European Central Bank and FoxRates
  • Supports Shortcodes
  • Widgetized currency table and converter
  • Supports integration with various e-commerce plugins such as WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads.
  • Automatic local currency detection
  • Full language translation support

Important: The Currencyr plugin requires your server to be running PHP 5.3.0 or later. Do not install this plugin if you are running an older version of PHP. Alternatively, ask your webhosting support team to upgrade your PHP server installation if required.

***

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

WP Plugin - Currency Conversion

Once the plugin has been installed and activated, you can get to the plugin’s settings page by choosing Currencyr from your WP admin navigation menu …

WP Plugin - Currency Conversion

This takes you to the plugin settings page …

WordPress Plugin - Currency Conversion

For example, you can select your base currency from a dropdown menu if you want something other than the default option ’USD’ …

WordPress Plugin - Currency Conversion

Similarly, you can specify which data provider you want to use from the dropdown menu in the ‘Provider’ section. The default provider is ‘Yahoo! Finance’, but you can also choose another option, like European Central Bank, FoxRate, Google Finance or Open Exchange Rates …

WordPress Plugin - Currency Converter

Note: If you select Open Exchange Rates as your provider, you will need to obtain an API (Application Programming Interface) ID …

WordPress Plugin - Currency Conversion

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

WP Plugin - Currencyr

The Currencyr plugin uses jQuery, which allows web developers to add things like animation effects to web applications (e.g. WP plugins).

If you have no reason to edit the jQuery settings, just ignore this setting …

WordPress Plugin - Currency Conversion

Configure the rest of the plugin settings and remember to click ‘Save Changes’ when done …

WP Plugin - Currency Converter

Once you have configured your plugin settings, you can easily add currency conversion to any WordPress page or post using widgets.

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

Using Currencyr Shortcodes

You can easily insert currency conversion into pages, posts and widgets with no web coding skills or knowledge using shortcodes.

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

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

All you need to do is insert the following shortcode into your post or page …

WP Plugin - Currency Converter

Note: You can also insert amounts in dollars and cents (e.g. 19.95, 197.00, 295.75, etc …)

The screenshot below shows how your shortcode will look when inserting it into your page …

WP Plugin - Currencyr

After publishing your page, the currency conversion will appear like this …

WordPress Plugin - Currencyr

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

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

WordPress Plugin - Currency Conversion

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

WP Plugin - Currency Conversion

After publishing the post, your currency conversion will then appear like this …

WordPress Plugin - Currency Converter

See the ‘Additional Plugin Notes’ section at the bottom of this tutorial to learn more about changing the currency separator symbol in the Currencyr plugin.

Now, suppose you want to use a different base currency than the one selected 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 (like Australia or Canada), you can change the base currency using the following shortcode …

WP Plugin - Currencyr

The example below shows how the above shortcode appears when inserted into your content …

WP Plugin - Currency Conversion

Once your information has been published, your converted currency amounts will then appear as shown in the screenshot below …

WordPress Plugin - Currency Converter

How To Use The Plugin Widget

You can also insert a currency converter into your website or blog’s sidebar menu using a widget.

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

WP Menu: Appearance > Widgets

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

WordPress Plugin - Currency Conversion

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

WordPress Plugin - Currencyr

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

WP Plugin - Currency Converter

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 multiple currencies.

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

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

WordPress Plugin - Currency Converter

Separates all your currency values with the forward slash as you can see in the screenshot below …

WP Plugin - Currencyr

If you select another symbol and update your settings …

WordPress Plugin - Currencyr

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

WP Plugin - Currency Conversion

Integration With e-Commerce Software

As mentioned earlier, the Currencyr plugin can be integrated with a number of WordPress-compatible e-commerce plugins like WooCommerce, WP-eCommerce and Easy Digital Downloads …

WP Plugin - Currency Conversion

(image sourced from Currencyr plugin website)

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

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

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)

Originally published as How To Add Currency Conversion In WordPress.