I would like to add customer email to order confirmation email, but can't figure out how to do that. Is there any predefined variable that i can use in Transactional email templates or what does it take in order get customer email in each order confirmation email?
0
Juste use {{var}}
or {{trans}}
:
<h2>{{trans "Dear, %name" name=$customer.name}}</h2>
or
<h2>{{trans "Dear,"}} {{var $customer.name}}</h2>