Override
The override parameter can be added to any of the Dynamic Converter span wrappers. The purpose for this parameter is to override the account settings for this conversion instant only.Example:
<span id="convert" amount="1200.99" override="pre: |
$1200.99 |
Example:
<span id="page_overrides" override="pre: |
The options available for this parameter are the following:
Options | Values |
base_currency | The amount given is in a different currency that the site. Value - ISO3 code for that currency |
target_currency | Force the conversion to this currency only. Value - ISO3 code for that currency |
same_display | Change the text shown when the conversion currency is the same as the base currency |
pre | Text or HTML to display before the converted amount. |
post | Text or HTML to display after the converted amount |
commify | Display the thousand separator. Values - [ 1 | 0 ] |
decimals | Display decimal values. Values - [ 1 | 0 ] |
nolink | Don't Show the currency select popup on click. Values - [ 1 | 0 ] |
print_base | Display the base price with the converted price. Values - [ 1 | 0 ] |
use_special | When converting to use the special exchange rate. Values - [ 1 | 0 ] |
display_format | Which format to display the currencies in. Values - [1-10] |
formpre | Text to display before the converted amount in dropdowns. |
formpost | Text to display after the converted amount in dropdowns. |
taxrules | To exempt/change the taxrules defined for this conversion |
Here we have set up a test zone for you. Enter in your override options comma separated and then change the currency to see it work in the above example.
Example:
Change Currency to activate the override.