Categories
Programming

Magento – Inserting the Customer’s Email Address into the Email Templates

If you wish to see your customer’s email address in the order confirmation emails sent out by Magento, you will have to edit (or create a new template and assign it to new order emails) the new order confirmation email template and add this shortcode to it.

[php]
{{htmlescape var=$order.getCustomerEmail()}}
[/php]

This will display the email address of the customer in the order emails.

5 replies on “Magento – Inserting the Customer’s Email Address into the Email Templates”

Is this also working for guest customers who don’t have an account but only order once?

Comments are closed.