Currency Substitution
Currency Substitution provides current currency in session.
{currency attr="one_of_the_following"}Attributes
| by_default | |
| code | ISO 4217 Code. eg.: EUR |
| createdAt * | |
| id | |
| name | |
| position | |
| rate | The rate relative to euro. |
| symbol | The currency symbol: €, $, ... |
| updatedAt * |
* : this is a DateTime information.
You can therefore specify 2 optional specific parameters :
- `output` which takes 'date', 'datetime' or 'time' as value
- `format` which take a PHP date format. The locale format for the current language will be used if this parameter is empty or missing
ie : {product attr='createdAt' output='date' format='Y-m-d'}