WordPress For Non-Techies: Free WordPress Tutorials – WPCompendium.org

How To Add Currency Conversion In WordPress

Do you sell goods or services online globally? If so, then here’s a great idea: consider providing your prospects with currency conversion.

Currency conversion tools let your customers have the price of an international currency transaction translated to their home currency at the purchase or checkout phase. It also lets visitors view the exact amount their card or PayPal account will be charged, expressed in their home currency.

One advantage of adding currency conversion to your site is that it allows your customers to see and understand prices in foreign countries in their own home currency, making it it easier for customers to work out their costs and expenses.

If your site is powered by WordPress, you can add a currency conversion plugin to your WP web site, allowing your prospective customers to easily work out the cost of your products.

Currencyr

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

Some of the many features of this plugin include:

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

***

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

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

This takes you to the plugin settings section …

For example, you can choose a base currency from the Base Currency drop-down menu. The default option is ‘USD’

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

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

You can select how often you want to update the currency exchange rates by specifying an option from the Update Rates drop-down menu …

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

If you have no reason to modify the jQuery settings, leave this option alone …

Configure the rest of the settings according to your own preferences and don’t forget to click Save Changes when you have finished configuring all of your options …

After your plugin settings have been configured, you can easily start adding currency conversion to any WordPress page using widgets.

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

Shortcodes

You can insert currency conversion into pages, posts and widgets with no coding knowledge or skills using shortcodes.

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

Let’s say that you are selling goods for a fixed price (e.g. $175) in US Dollars (USD), and you would also like to show the price converted into British pounds (GBP) on your page.

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

Note: You can also insert prices in dollars and cents (for example, 188.35, 37.95, 544.97, etc …)

The example below shows how the shortcode should look after you have added it to your post or page …

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

Using the same example, let’s also translate the same price into multiple currencies.

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

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

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

refer to the ‘Additional Plugin Notes’ section further below to learn more about changing the currency separator symbol in the Currencyr plugin.

Now, suppose you want to specify a different base currency than the one set as the default.

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

The screenshot below now shows how the shortcode appears when you add it to a page …

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

Using The Currencyr Widget

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

To add currency conversion to your sidebar area, select Appearance > Widgets from the WordPress dashboard menu …

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

Configure the widget options 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 …

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

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 a symbol of your choice to display as the currency separator when using several currencies.

You can select a different symbol in the ‘Multiple Separator’ settings section.

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

Separates all your currency amounts using the forward slash as shown below …

If you select another symbol and update your settings …

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

WordPress E-Commerce

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

(image source: plugin site)

Congratulations! Now you know how to easily add a currency converter to your WordPress web 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