Prints the current exchange rate of one currency against the shop base currency, as plain text, anywhere in your content.
Attributes:
sign - the currency code whose rate you want to show
Example: [woocs_get_sign_rate sign=UAH]
The output is the rate on its own, with no label and no formatting, so it drops into a sentence: Today 1 USD = [woocs_get_sign_rate sign=UAH] UAH.
The rate is the one FOX is currently holding — the same number the catalogue is converted with. It cannot drift away from your prices, because both read the same value.
For a table of every rate rather than a single one, use [woocs_rates]. For a calculator the visitor can type into, use [woocs_converter].
🌸
Shortcodes, functions, actions and filters reference for FOX WooCommerce Currency Switcher
Codex — FOX Currency Switcher
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.