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 WordPress WebsiteAre you planning to sell goods or services online internationally? If so, then here’s a good idea: think about providing your potential customers with the convenience of currency conversion on your e-commerce web site.

Currency conversion tools allow your customers to have the cost of a foreign currency amount converted into their home currency at the point of sale. It also allows visitors to view the exact amount their credit card or PayPal account will be charged, expressed in their local currency.

One benefit of adding currency conversion is that it lets visitors see and understand prices in foreign countries in their own home currency, and makes it easier for purchasers to calculate their costs and expenses.

If you are a WordPress user, you can add currency conversion via a plugin to your WordPress web site, allowing your prospective customers to quickly and easily determine the cost of your goods.

WordPress Currency Converter – Currencyr

Currencyr

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

The Currencyr plugin features:

  • Inline conversion tool
  • Supports various exchange rates providers, like Yahoo! & FoxRates
  • WP-Cron task scheduler enabled
  • Widgetized currency table and converter
  • Can be integrated with various online shopping plugins like WooCommerce and Shopp.
  • Automatically detects local currency
  • Translation support

Note: This plugin requires PHP 5.3.0 or later. Do not use this plugin if you currently have an older version of PHP installed on your server. Alternatively, ask your web hosting support team to update your PHP.

***

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

WordPress Plugin - Currency Converter

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

WP Plugin - Currency Conversion

This takes you to the plugin settings area …

WordPress Plugin - Currencyr

For example, you can choose a base currency from a drop-down menu. The default base currency is (‘USD’) …

WP Plugin - Currencyr

You can choose a data provider from the drop-down menu in the Provider section. The default provider is ‘Yahoo! Finance’, but you can choose another option, like European Central Bank or Google Finance …

WordPress Plugin - Currencyr

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

WP Plugin - Currencyr

You can select how frequently you would like to update the exchange rates by specifying 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 (like WordPress plugins).

If you have no reason to change the jQuery settings, simply ignore this setting …

WordPress Plugin - Currency Conversion

Edit the remainder of the plugin settings to suit your own needs and remember to click Save Changes when done …

WordPress Plugin - Currency Converter

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

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

Currencyr Shortcodes

You can easily add currency conversion to posts, pages and widgets with no coding knowledge using shortcodes.

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

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

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

WordPress Plugin - Currency Conversion

Note: You can also display prices in dollars and cents (e.g. 165.49, 189.00, 149.00, etc …)

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

WordPress Plugin - Currency Converter

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

WP Plugin - Currency Converter

Using the same example, let’s also translate the same amount into multiple currency formats.

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

WP Plugin - Currencyr

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

WP Plugin - Currencyr

Once your content has been published, the currency conversion will then display like this …

WordPress Plugin - Currency Converter

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

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

WordPress Plugin - Currencyr

The example below shows how the above shortcode looks when added to a post …

WP Plugin - Currencyr

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

WordPress Plugin - Currencyr

Using The Widget

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

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

WP Menu: Appearance > Widgets

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

WordPress Plugin - Currency Conversion

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

WordPress Plugin - Currency Converter

Your currency converter tool will now display on your site’s sidebar with the options you have specified …

WordPress Plugin - Currency Converter

Additional Plugin Notes

This section contains additional information about using the plugin.

Currency Separator

The Currencyr plugin lets you specify a symbol of your choice to display as the currency separator when using several currencies.

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

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

WordPress Plugin - Currency Conversion

Separates all your currency values with the forward slash as shown below …

WP Plugin - Currencyr

If you modify the symbol and resave your plugin settings …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

Using The Plugin With WordPress-Compatible e-Commerce Platforms

As mentioned earlier, the Currencyr plugin can be integrated with various WordPress-compatible e-commerce plugins like WooCommerce, Shopp, and Easy Digital Downloads …

WordPress Plugin - Currency Converter

(image source: plugin website)

And there you have it! Now you know how to easily add a currency converter to your e-commerce site.

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