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 WordPressDo you plan to set up an e-commerce web site using WordPress, or sell goods and services worldwide? If so, then here’s a great idea: think about providing users with the convenience of currency conversion on your website.

Currency conversion software tools allow your prospective customers to translate international currency amounts to their local currency at the point of sale. It also allows your customers to view the exact amount their card or PayPal account will be charged, expressed in their local currency.

The obvious advantage of putting currency conversion is that it lets your customers see and understand prices in foreign countries in their own local currency, making it it easier for visitors to calculate their costs and expenses.

If your site is powered by WordPress, you can add a currency converter to WordPress, allowing your customers to quickly and easily understand the cost of your products.

Currencyr – Free Currency Converter For WP Websites

Currencyr - Free Currency Converter For WordPress

Currencyr is a simple, easy-to-use and complete currency converter plugin with a unique and attractive converter tooltip. It’s also free!

Some of the many useful features of this useful plugin include the following:

  • Inline conversion tool
  • Supports various exchange rates providers, such as Google, Open Exchange Rates & FoxRates
  • Support database cache driven for fast response
  • Currency table and converter widget
  • Supports integration with a number of online shopping plugins such as WP-eCommerce and Shopp.
  • Automatic local currency determination
  • Full language translation support

Note: This plugin needs your server to be running PHP 5.3.0 or later. Do not use this plugin if you currently have an older version of PHP installed. Alternatively, ask your webhosting provider 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 …

WordPress Plugin - Currencyr

After installing and activating the plugin, you can configure the plugin’s settings by choosing Currencyr from your admin area …

WordPress Plugin - Currency Converter

This takes you to the plugin settings page …

WP Plugin - Currency Converter

For example, you can select your base currency from the Base Currency drop-down menu if you want something other than the default option ‘USD’

WordPress Plugin - Currency Converter

You can select which data provider you want to use from the dropdown menu in the Provider section. The default option is ‘Yahoo! Finance’, but you can also choose one of the other options, like European Central Bank or Open Exchange Rates …

WP Plugin - Currency Conversion

Note: If you choose ‘Open Exchange Rates’ as your provider, an API (Application Programming Interface) is required …

WordPress Plugin - Currencyr

You can specify how often you want the currency exchange rates to be updated by choosing an option from the Update Rates dropdown menu …

WP Plugin - Currencyr

The Currencyr plugin uses jQuery, which is an open-source library of Javascript code that allows web developers to add things like animation effects to web applications (e.g. WordPress plugins).

If you have no reason to edit the jQuery settings, simply ignore this section …

WordPress Plugin - Currency Converter

Edit the remainder of the settings to suit your own preferences and don’t forget to click Save Changes when you have finished configuring all of your settings …

WP Plugin - Currencyr

Once you have finished configuring your plugin settings, you can add currency conversion to WP website’s pages using widgets.

See the ‘Additional Plugin Notes’ section below to learn how to use currency codes (e.g. USD, AUD, CAD, etc …) in the Currencyr plugin.

Using Plugin Shortcodes

You can easily insert currency conversion into posts, pages and widgets without editing code using shortcodes.

Let’s take a look at some examples of currency shortcodes that you can add to your WP pages and posts:

Let’s say that you retail goods online for a set amount (e.g. $175) in US Dollars (USD), and you want to display your conversion amount in British pounds (GBP) on your sales page.

All you need to do is insert the shortcode below into your page content …

WP Plugin - Currency Converter

Note: You can also display prices in dollars and cents (for example, 175.00, 22.00, 149.00, etc …)

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

WP Plugin - Currencyr

Once the post or page has been published, the converted currency amount will appear as you can see in the example below …

WP Plugin - Currency Conversion

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

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currency Conversion

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

WP Plugin - Currency Conversion

refer to the ‘Additional Plugin Notes’ section at the end of this tutorial to learn more about changing the currency separator symbol with the Currencyr plugin.

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

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

WP Plugin - Currency Conversion

The screenshot below now shows how the above shortcode appears when added to a page …

WordPress Plugin - Currencyr

After publishing the page, your currency conversion will then display as you can see below …

WordPress Plugin - Currency Conversion

How To Use The Plugin Widget

You can also insert a currency converter into your site’s sidebar using the plugin’s widget.

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

WordPress Menu: Appearance > Widgets

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

WP Plugin - Currencyr

Configure the widget options as shown below (add any currency codes you want to display on your widget separated by commas), and click Save to update your settings …

WP Plugin - Currencyr

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

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 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 amounts with the forward slash as shown below …

WP Plugin - Currencyr

If you modify the symbol and update your plugin settings …

WP Plugin - Currencyr

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

WP Plugin - Currency Conversion

E-Commerce Integration

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

WP Plugin - Currency Conversion

(image source: Currencyr plugin site)

Congratulations! Now you know how to easily add a currency converter to your e-commerce website.

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

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie