Prints the currency selected in the theme as a string.
Kuvaus
The default currency in all MyCashflow online stores is euro, but prices can be converted and displayed in different currencies in the online store's theme by using the Currency Converter extension.
The {Currency} tag always prints the currency that has been selected in the theme.
Syntaksi
{Currency( exchanged: boolean )}Näkyvyys
Toimii näkyvyydessä: globaali
It is possible to use global visibility tags in any page template and within any tag.
Attribuutit
before/after:With the
beforeandafterattributes, you can define content that is output before or after the content produced by the tag.Allowed values: text that may contain HTML and Interface markup.
E.g.
before:'<p>This markup appears before the tag's own content.</p>'.after:'<p>This appears after the tag's own content.</p>'
If the tag does not produce any content, the content of the
beforeandafterattributes will also not be displayed.or:Defines alternative content that is displayed if the tag itself does not produce any content.
Allowed values: text that may contain HTML and Interface markup.
E.g.
or:'Content not found.'exchanged:Determines whether the tag uses currency conversion if the customer has placed an order in a currency other than the euro.
The
exchangedattribute only works when the Currency Converter extension is in use.This attribute works only after the customer has placed an order. So, you can use the attribute in order templates and e.g. inside the order products' tags.
Allowed values: true/false. The default value is false.
With the value false, the content is always printed as euros.
