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

How To Add Currency Conversion In WordPress

Are you thinking about setting up an e-commerce website or making products available for sale internationally? If so, then you should probably consider providing your prospects with currency conversion.

Currency conversion tools let your visitors have the price of an international currency transaction translated into their home currency at the purchase or checkout stage. It also allows your visitors to see the exact amount their card or PayPal account will be charged, displayed in their local currency.

One benefit of providing currency conversion on your website is that it allows customers to view and understand pricing in foreign countries in their own local currency, making it it easier for purchasers to calculate their costs and expenses.

If your site is built with WordPress, it’s quite easy to add a currency converter to WordPress, allowing your visitors to quickly calculate the cost of your goods.

WP Free Currency Conversion Plugin – Currencyr

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

The Currencyr plugin features:

Note: The Currencyr plugin requires 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 on your server. Alternatively, ask your webhosting company to update your PHP server installation.

***

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

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

This takes you to the plugin settings area …

For example, you can select a base currency from the Base Currency dropdown menu. The default base currency is ’US Dollar’ …

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

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

You can choose how frequently you would like to update the exchange rates by specifying an option from the ‘Update Rates’ dropdown menu …

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

Unless there is a reason to modify the jQuery settings, just ignore this section …

Edit the rest of the plugin settings and click ‘Save Changes’ when done …

After you have finished configuring your settings, you can add currency conversion to any WP post using shortcodes.

Refer to the ‘Additional Plugin Notes’ section further below to learn more about using currency codes (e.g. USD, AUD, JPY, etc …) with this plugin.

How To Use Shortcodes

You can easily add currency conversion to WordPress pages, posts and widgets without touching code 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 sell goods online for a set amount (e.g. $175) in US Dollars (USD), and you would like to display the price converted into British pounds (GBP) on your product information page.

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

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

The example below shows how the shortcode looks after you have inserted it into your post or page …

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

Using the same example, let’s also convert the same amount into different currencies.

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

You can see how the above shortcode looks when you add it to a post …

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

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

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

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

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

Once your content has been published, your currency conversion will then appear as seen below …

Using The Widget

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

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

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

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

The currency converter will now show on your website’s sidebar with the settings you have selected …

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 select a different symbol in the ‘Multiple Separator’ settings field.

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

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

If you modify this symbol and update your settings …

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

Integration With WP e-Commerce Platforms

As described earlier, the plugin integrates with various WordPress-compatible e-commerce plugins such as WooCommerce, Shopp and Easy Digital Downloads …

(image source: plugin site)

Congratulations! Now you can go and easily add a currency converter to your e-commerce website.

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

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org