Added by vasiliy.chernomorov, last edited by Pavel Yakimovich on May 14, 2010  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

The mails of change addresses supports big amount of tokens.

Possible emails of change address are:

  1. general_address - for generic customer details
  2. shipping_address - for order shipping address details
  3. invoice_address - for order invoice address details

All of these letters contain the following tokens

1. Customer data tokens

[%$customer.mobile%] - Mobile number
[%$customer.work%] - Work phone number
[%$customer.telephone%] - Phone number
[%$customer.fax%] - Fax number
[%$customer.website%] - Web site
[%$customer.contact_method%] - Contact Method
[%$customer.company%] - Company name
[%$customer.department%] - Department
[%$customer.vat%] - VAT number
[%$customer.coc%] - COC number
[%$customer.gender%] - Gender (can be 'm' or 'f')
[%$customer.login%] - Login
[%$customer.firstname%] - First name
[%$customer.lastname%] - Last name 
[%$customer.dob%] - Date of birth
[%$customer.email_address%] - Email Address

2. Address tokens

Preformatted tokens

[%$address.formatted_old%] - Formatted old address
[%$address.formatted_new%] - Formatted new address

Information about tokens that can be used in old and new address can be found at Tokens - Country Address Format

Some examples :

Office
John  Smith
17 Ivy Lane 15
Birmingham
35201
United Kingdom

Also available not-preformatted tokens

[%$address.<address_type>.name%] - Name of the address
[%$address.<address_type>.street%] - Street
[%$address.<address_type>.house_number%] - House number
[%$address.<address_type>.postcode%] - Postal code
[%$address.<address_type>.city%] - City
[%$address.<address_type>.state%] - State
[%$address.<address_type>.country%] - Country
[%$address.<address_type>.gender%] - Gender (can be 'm' or 'f')
[%$address.<address_type>.firstname%] - First name
[%$address.<address_type>.prefix%] - Name prefix
[%$address.<address_type>.lastname%] - Last name
[%$address.<address_type>.email%] - Email address
[%$address.<address_type>.telephone%] - Phone number
[%$address.<address_type>.fax%] - Fax number
[%$address.<address_type>.mobile%] - Mobile number
[%$address.<address_type>.work%] - Work phone number
[%$address.<address_type>.company%] - Company name
[%$address.<address_type>.department%] - Department
[%$address.<address_type>.web_site%] - Web site
[%$address.<address_type>.vat%] - VAT number
[%$address.<address_type>.coc%] - COC number
[%$address.<address_type>.contact_method%] - Contact Method

Possible values of <address_type>:

  1. old - address before changes
  2. new - address after changes

3. Shop tokens

[%$shop.name%] - Shop name
[%$shop.href.link%] - Shop link