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 WordPressDo you sell goods online to a worldwide customer base? If so, then it’s a good idea to think about providing your prospects with a currency conversion feature.

Currency conversion allows your site visitors to have the price of a foreign currency transaction converted into their local currency when purchasing products online. It also lets your visitors see the exact amount their card or PayPal account will be charged, expressed in their local currency.

One great benefit of adding currency conversion is that it allows visitors to see and understand prices in foreign countries in their own home currency, making it it easier for purchasers 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 customers to quickly calculate the cost of your products.

Currencyr – WP Currency Conversion Plugin

Currencyr - Currency Converting Tool For WordPress

Currencyr is an intuitive, easy-to-use and complete currency converter plugin with a visually attractive converter tooltip. It’s also free to install and use on your site.

The Currencyr plugin features:

  • Inline converter
  • Supports several exchange rates providers, like Google and Open Exchange Rates
  • WP-Cron task scheduler enabled
  • Widgetized currency table and converter
  • Supports integration with various e-store plugins such as WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads.
  • Automatic local currency determination
  • Full language translation support

Note: The Currencyr plugin needs PHP 5.3.0 or later. Do not use this plugin if you currently have an older version of PHP installed. Ask your web hosting support team to update your PHP server installation if necessary.

***

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

WP Plugin - Currencyr

When you have installed and activated the plugin, you can access the plugin’s settings area by choosing Currencyr from your WP administration area …

WordPress Plugin - Currency Converter

This takes you to the plugin settings area …

WordPress Plugin - Currency Converter

For example, you can select a base currency from the ‘Base Currency’ dropdown menu if you prefer a different currency than the default option ‘USD’

WP Plugin - Currencyr

You can also choose any supported data provider from the drop-down menu in the Provider section. The default option is ‘Yahoo! Finance’, but you can select one of the other options, like European Central Bank, FoxRate, Google Finance or Open Exchange Rates …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

You can specify how frequently you would like to update the currency exchange rates by specifying an option from the Update Rates drop-down menu …

WordPress Plugin - Currency Conversion

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

Unless you have a reason to edit the jQuery settings, leave this option alone …

WordPress Plugin - Currency Converter

Configure the remainder of the settings to suit your own needs and remember to click ‘Save Changes’ when finished …

WordPress Plugin - Currency Conversion

When your plugin settings have been configured, you can add currency conversion to any WordPress page or post using a shortcode.

Refer to the ‘Additional Plugin Notes’ section below to learn how to use currency codes (e.g. USD, NZD, JPY, etc …) in this plugin.

Shortcodes

You can add currency conversion to pages, posts and widgets without touching code using shortcodes.

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

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

To do this, just add the following shortcode into your page content …

WordPress Plugin - Currency Converter

Note: You can also display amounts in dollars and cents (for example, 16.95, 29.95, 295.75, etc …)

The screenshot below shows how your shortcode should look after being inserted into your product page …

WordPress Plugin - Currency Converter

After publishing the content, your currency conversion will display as shown in the screenshot below …

WP Plugin - Currency Converter

Using the above example, let’s now display the same price into different currencies.

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

WP Plugin - Currencyr

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

WP Plugin - Currency Conversion

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

WordPress Plugin - Currency Converter

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 specify a different base currency than the one set as the default.

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currency Converter

After publishing the information, the converted currency will then appear as you can see in the screenshot below …

WordPress Plugin - Currency Conversion

Widget

You can also add currency conversion to your website’s sidebar section using a widget.

To add currency conversion to your sidebar menu, choose Appearance > Widgets from the WordPress admin menu …

WordPress Menu: Appearance > Widgets

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currencyr

The currency conversion tool will now show on your website’s sidebar menu with the settings you have specified when configuring the widget …

WP 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 - Currencyr

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

WP Plugin - Currencyr

If you modify this symbol and update your settings …

WordPress Plugin - Currency Converter

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

WordPress Plugin - Currencyr

Integration With WordPress e-Commerce Software

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

WordPress Plugin - Currency Converter

(above image sourced from Currencyr plugin website)

Congratulations! Now you can go and easily add currency conversion to your WordPress website.

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)

Disclaimer: WordPress and its related trademarks are registered trademarks of Automattic, Inc. This site and the products and services offered on this site are not associated, affiliated, sponsored, or endorsed by WordPress, nor have they been reviewed, tested, or certified by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items linked to, advertised, or reviewed on this site.

***

Did you enjoy this tutorial? Feel free to use the links below and share this information with anyone thinking of starting a business online.

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE detailed step-by-step tutorials that will teach you how to use WordPress to grow your business online at minimal cost with no coding skills required!

Originally published as How To Add Currency Conversion In WordPress.