Order Substitution

Order Substitution provides current order in session.

{order attr="one_of_the_following"}

Attributes

delivery_address The delivery address ID
delivery_module The delivery module ID
discount Discount amount
invoice_address The invoice address ID
payment_module The payment module ID
postage Shipping amount

* : 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'}