Tokens
You can add tokens to text fields and labels on your pages. Tokens are NOT available in custom scripts added manually.
When you enclose a token within double curly brackets, {{token}}, it is added to the page from the available order data.
For example:
{{lastName}}
{{emailAddress}}
Example Result:
Below is a list of some the available tokens:
orderId |
shipCarrier |
shipMethod |
totalAmount |
name |
emailAddress |
phoneNumber |
firstName |
lastName |
companyName |
address1 |
address2 |
shipmentInsured |
shipmentInsurancePrice |
insuranceCharged |
city |
state |
country |
postalCode |
shipFirstName |
shipLastName |
shipCompanyName |
shipAddress1 |
shipAddress2 |
shipCity |
shipState |
shipCountry |
shipPostalCode |
custom1 |
custom2 |
custom3 |
custom4 |
custom5 |
items |
name |
qty |
compareAtPrice |
Membership Tokens:
memberId |
firstName |
lastName |
emailAddress |
phoneNumber |
address1 |
address2 |
city |
state |
postalCode |
country |
workPhone |
cellPhone |
clubUsername |
Any value in session storage orderData can be used as a token
Checkout Champ can also display the current date using a wide variety of formats
Format specifier | Description |
---|---|
yyyy | The year as a four-digit number |
yy | The year, from 00 to 99 |
MMMM | The full name of the month |
MMM | The abbreviated name of the month |
MM | The month, from 01 through 12 |
M | The month, from 1 through 12 |
dddd | The full name of the day of the week. |
ddd | The abbreviated name of the day of the week. |
dd | The day of the month, from 01 through 31 |
d | The day of the month, from 1 through 31 |
Some examples:
{{yyyy-MM-dd}} = 2020-01-05
{{MM/dd/yyyy}} = 01/05/2020
{{MMM dd yyyy}} = Jan 05 2020
{{dddd MMMM d, yyyy}} = Sunday January 5, 2020