Order Substitution

Order Substitution provides current order in session.

{order attr="one_of_the_following"}


delivery_address The delivery address ID
delivery_module The delivery module ID
discount Discount amount
has_virtual_product true is the order contains virtual products, false otherwise
invoice_address The invoice address ID
payment_module The payment module ID
postage Shipping amount with taxes
postage_tax Shipping tax amount
untaxed_postage Shipping amount without taxes

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