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 WordPressAre you thinking about setting up an e-commerce web site or selling goods to a foreign market? If so, you may want to think about providing your prospects with the convenience of currency conversion on your website.

Currency conversion software tools let your prospective customers have the cost of a foreign currency amount converted to their local currency at the purchase or checkout phase. It also lets visitors view the exact amount their credit card or PayPal account will be charged, expressed in their local currency.

One advantage of displaying currency conversion is that it allows customers to view and understand pricing in foreign countries in their own local currency, making it it easier for customers to work out their costs and expenses.

If your site is powered by WordPress, it’s really simple to add currency conversion via a plugin to currency conversion to your website or blog via a plugin, allowing your customers to easily perform currency conversions to determine the cost of your goods.

WordPress Free Currency Converter – Currencyr

Currencyr

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

Great plugin features include the following:

  • Inline converter
  • Supports several exchange rates providers, such as Yahoo!, Google, Open Exchange Rates, European Central Bank and FoxRates
  • WP-Cron task scheduler enabled
  • Currency table and converter widget
  • Can be integrated with various e-commerce plugins like WP-eCommerce & Shopp.
  • Can determine local currency automatically
  • Supports full translations

Note: The Currencyr plugin needs your server to be running PHP 5.3.0 or later. Do not install this plugin if you currently have an older version of PHP installed. Alternatively, ask your web host to upgrade your PHP.

***

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

WP Plugin - Currency Conversion

When you have installed and activated the plugin, you can configure the plugin’s settings by choosing Currencyr from your dashboard menu …

WordPress Plugin - Currency Conversion

This takes you to the plugin settings area …

WP Plugin - Currency Conversion

For example, you can select a base currency from a drop-down menu if you want a different currency than the default option (USD) …

WordPress Plugin - Currencyr

You can choose 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 select another option, like FoxRate or Open Exchange Rates …

WP Plugin - Currency Conversion

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

WordPress Plugin - Currencyr

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

WordPress 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 modify the jQuery settings, leave this option alone …

WP Plugin - Currency Converter

Edit the rest of the plugin settings and click Save Changes when you have finished configuring this page …

WordPress Plugin - Currencyr

When your plugin settings have been configured, you can start adding currency conversion to any WP page using shortcodes.

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

How To Use Shortcodes

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

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

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

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

WP Plugin - Currencyr

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

The screenshot below shows how the above shortcode will look when added to a post or page …

WordPress Plugin - Currency Converter

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

WP Plugin - Currency Converter

Using the above example, let’s also convert the same amount into different currency formats.

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

WP Plugin - Currency Converter

The example below now shows how the above shortcode appears when inserted into a page …

WordPress Plugin - Currency Conversion

After publishing the post or page, the currency conversion will then display like this …

WP Plugin - Currency Converter

See the ‘Additional Plugin Notes’ section below to learn more about changing the currency separator symbol with this plugin.

Now, suppose you would like to use a different base currency than the one selected as your default.

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

WordPress Plugin - Currencyr

Here’s how the shortcode looks when you add it to a post …

WordPress Plugin - Currency Converter

Once the page has been published, the converted currency will then appear like this …

WP Plugin - Currency Conversion

Widget

You can also add a currency converter to your site’s sidebar area using the Currencyr widget.

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

WordPress Menu: Appearance > Widgets

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

WP Plugin - Currency Conversion

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

WordPress Plugin - Currency Conversion

The currency converter will now display on your sidebar menu with the options you have selected …

WP Plugin - Currency Conversion

Additional Plugin Notes

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

Currency Separator

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

WP Plugin - Currencyr

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

WordPress Plugin - Currencyr

If you change the symbol and update your settings …

WP Plugin - Currency Converter

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

WP Plugin - Currency Conversion

e-Commerce Platform Integration

As described earlier, the plugin can be integrated with a number of WordPress-compatible e-commerce plugins like WP-eCommerce and Shopp …

WP Plugin - Currency Conversion

(image source: Currencyr plugin website)

And there you have it! Now you can go and easily add currency conversion to your e-commerce website.

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.