Google Currency Converter

Developer

Percipio

3rd Party (Commercial)


EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Perfect for eCommerce environments selling items globally, this plugin allows you to instantly convert numeric values to alternate currencies, with parameters to round results to specific decimal places.

This lightweight plugin uses CURL to connect to google finance to allow you to convert any value to an alternate currency on the fly.

Base Tag

{exp:currency_converter:convert_currency 
    amount="100" 
    from="USD" 
    to="EUR" 
    round="down" 
    round_to="99" 
    decimal="2"}

Parameters

     
  • amount="100"
  • from="USD" (over 50 currencies supported)
  • to="EUR"
  • round="up|down"  Facility to round result up or down to next full value.
  • round_to="00"  useful for forcing the decimal place rounding to exact cents / pence, example - if result is $12.46 you can force result up to $12.99 for price consistency.
  • decimal="2"  - Number of decimal places to use.

Examples

{exp:currency_converter:convert_currency amount="12.99" 
    from="USD" 
    to="GBP"} 

Result = 8.4305 (at exchange rate on 18th Jan)

{exp:currency_converter:convert_currency amount="12.99" 
    from="USD" 
    to="GBP" 
    round_to="00" }

Result = 8.00

{exp:currency_converter:convert_currency amount="12.99" 
    from="USD"
    to="GBP" 
    round="up" 
    round_to="00"}

Result = 9.00

{exp:currency_converter:convert_currency amount="12.99" 
    from="USD" 
    to="GBP" 
    round="up" 
    round_to="99"}

Result = 8.99

{exp:currency_converter:convert_currency amount="12.99" 
    from="USD" 
    to="GBP" 
    round="down" 
    round_to="99"}

Result = 7.99

{exp:currency_converter:convert_currency amount="12.99"
    from="USD" 
    to="GBP" 
    round="down" 
    round_to="00"}

Result = 8.00

Coming Soon

AUTO currency recognition based on IP, will allow you to auto convert currency to local user currency.

Change Log

V 1.0.1 - Improved rounding efficiency.
V 1.0.0 - Initial Release

This entry was created January 19, 2012, 10:31 am.
This entry was last updated October 20, 2014, 5:12 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!