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 …

Add Currency Conversion To Your Web SiteAre you thinking about setting up an e-commerce web site or selling products online? If so, then here’s a great idea: think about providing users with a currency conversion service.

Currency conversion software lets your customers convert international currency pricing into their home currency at the purchase or checkout stage. It also lets your visitors and customers see the exact amount their credit card or PayPal account will be charged, displayed in their own local currency.

The obvious benefit of adding currency conversion to your site is that it lets customers view and understand pricing in foreign countries in their own home currency, and makes it easier for visitors to work out their costs and expenses.

If you are a WordPress user, it’s quite easy to add a currency conversion plugin to currency conversion to your web site via a plugin, allowing your site visitors to quickly understand the cost of your goods.

Currencyr

Currencyr

Currencyr is a simple yet advanced, intuitive, easy-to-use and complete currency converter WP plugin with a beautiful and unique converter tooltip. Best of all, it’s free to install and use on your website or blog.

The Currencyr currency conversion plugin features:

  • In-line conversion tool
  • Supports various exchange rates providers, such as Yahoo!, Open Exchange Rates & European Central Bank
  • Support database cache driven for fast response
  • Widgetized currency table and converter
  • Can be integrated with a number of online store plugins like WP-eCommerce and Easy Digital Downloads.
  • Can detect local currency automatically
  • Full support for language translations

Important: This 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 upgrade your PHP.

***

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

WP Plugin - Currency Converter

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

WP Plugin - Currency Conversion

This takes you to the plugin settings area …

WP Plugin - Currency Converter

For example, you can select your base currency from a drop-down menu if you want something other than the default option ‘United States Dollar – (USD)’ …

WordPress Plugin - Currencyr

You can also specify any supported data provider from the drop-down menu in the ‘Provider’ section. The default provider is Yahoo Finance, but you can also select another option, such as European Central Bank or Open Exchange Rates …

WP Plugin - Currency Conversion

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

WordPress Plugin - Currency Conversion

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

WP Plugin - Currency Conversion

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

Unless there is a reason to modify the jQuery settings, simply ignore this setting …

WordPress Plugin - Currency Converter

Edit the remainder of the settings and remember to click ‘Save Changes’ when you have configured this page …

WP Plugin - Currency Conversion

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

See the ‘Additional Plugin Notes’ section further below to learn how to use currency codes (e.g. USD, NZD, ZAR, etc …) with this plugin.

Currencyr Shortcodes

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

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

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

To display this information, you will need to insert the following shortcode into your page content …

WP Plugin - Currency Converter

Note: You can also add pricing in dollars and cents (for example, 165.49, 37.95, 399.99, etc …)

The screenshot below shows how the above shortcode looks when inserting it into a page …

WP Plugin - Currencyr

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

WordPress Plugin - Currency Converter

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

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

WP Plugin - Currencyr

The screenshot below now shows how the shortcode looks when inserted into a page …

WordPress Plugin - Currencyr

After publishing your page, the converted currency amounts will then display like this …

WP 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 within this plugin.

Now, let’s say that you want to use a different base currency than the one set as the default.

For example, say you have specified 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 …

WordPress Plugin - Currencyr

The screenshot below shows how the above shortcode appears when inserted into a post …

WP Plugin - Currency Converter

Once your page has been published, the converted currency will then appear as shown below …

WP Plugin - Currencyr

Plugin Widget

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

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

WP Menu: Appearance > Widgets

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currency Conversion

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

WordPress Plugin - Currency Conversion

Additional Plugin Notes

Here are some additional notes and useful information about using the plugin.

Currency Separator

The Currencyr plugin allows you to 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, entering the default symbol “/” (forward slash) …

WordPress Plugin - Currencyr

Separates all your prices using a forward slash as you can see in the screenshot below …

WordPress Plugin - Currency Converter

If you modify this symbol and update your plugin settings …

WordPress Plugin - Currency Conversion

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

WP Plugin - Currencyr

E-Commerce Platform Integration

As stated earlier, the Currencyr plugin can be integrated with various WP-compatible e-commerce plugins like WP-eCommerce, Shopp, and Easy Digital Downloads …

WP Plugin - Currencyr

(above image sourced from plugin site)

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)