WordPress.org

Ready to get started?Download WordPress

Plugin Directory

LocalMoney

A cache-compatible plugin which converts all prices in a post or page into the viewer's local currency.

What do I have to do to tell LocalMoney where the prices are on my page?

Nothing!

How does LocalMoney decide which currency to convert to?

In order to make the lookup process more robust the LocalMoney plugin uses a main and a fallback mechanism to lookup a visitor's location.

The main system is the IP2C (IP to country) lookup service which is included with the plugin. If the user is accessing your site via a proxy the 'Forwarded-for' header will be used, allowing users from AOL to benefit from this plugin.

The fallback system looks at the visitor's language preference. If it is in the form 'en-GB' it will use the appropriate currency for GB which is Pound Sterling. If the language preference is in the form 'en' it will check the timezone offset of the user and guess the appropriate country from that, i.e. in the case of 'en' the following data will be used:

0 - 24->

gb gb gb gb gb in in ch au au au au nz nz us us us us us us gb gb gb gb

Under the fallback system, because the currency is determined by the settings on the user's machine, a visitor who happens to be in a foreign country still gets their own currency not the local one (unless they have changed their timezone settings).

Requires: 2.7 or higher
Compatible up to: 3.6.1
Last Updated: 2013-10-15
Downloads: 607

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1