This module lets you add a variety of additional customer information into your emails so that each customer will receive personalized emails that provide the impression that the mailings you send them are customized just for them, vs. an impersonal bulk mailing that goes out to a massive mailing list.
For example, in addition to displaying the customer's name in your emails, you can also display or use their date of birth, age, phone number, company name, address, fax number, newsletter subscription status, and more!
{$data.customer.firstname} // firstname
{$data.customer.lastname} // lastname
{$data.customer.dob} // date of birth
{$data.customer.age} // age
{$data.customer.telephone} // phone
{$data.customer.fax} // fax
{$data.customer.newsletter} // newsletter 0/1
{$data.customer.company} // company
{$data.customer.postcode} // postcode
{$data.customer.city} // city
{$data.customer.state} // state
{$data.customer.country_id} // country id
{$data.customer.zone_id} // zone id
{$data.customer.raw} // array with all data
Example: Age-dependent salutation
check the smarty documentation for more examples of if else statements
smarty syntax
{if $data.customer.age gt 30}
above 30: hello sir, your age is {$data.customer.age} - dob: {$data.customer.dob}
{else}
below 31: hi there, your age is {$data.customer.age} - dob {$data.customer.dob}
{/if}
or in the visual editor use these tags protected from editing:
[[if $data.customer.age gt 30]]
above 30: hello sir, your age is [[$data.customer.age]] - dob: [[$data.customer.dob]]
[[else]]
below 31: hi there, your age is [[$data.customer.age]] - dob [[$data.customer.dob]]
[[/if]]
Gambio GX2/GX3/GX4
Modified-Shop 1.x/2.x/3.x
ZenCart 1.3.x/1.5.x/2.x
osCommerce 2.x
MailBeez.io API V2
Found errors? Think you can improve this documentation?
edit this page