Customer Substitution

Customer Substitutions provide logged-in customer data.

{customer attr="one_of_the_following"}

Attributes

createdAt *
discount the customer % discount
email
firstname
id
lang the customer lang ID
lastname
ref
reseller 1 if the customer is a reseller else 0
sponsor the customer sponsor ID
title_id the customer title ID
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'}