cancel
Showing results for 
Search instead for 
Did you mean: 

Add the customer email address to new order email confirmation emails

SOLVED

Add the customer email address to new order email confirmation emails

Hi, can anyone tell me how to add the customer's email address to the new order confirmation template? I added the following but it doesn't work.

 

<td class="method-info">
<h3>{{trans "Customer Email"}}</h3>
<p>{{var order.getCustomerEmail()}}</p>
</td>

 

Thanks,

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Add the customer email address to new order email confirmation emails

Hello @specialtycases 

 

I checked the same and it's working for me,please cross-check with your template set for for new order from admin:

Store > Configuration > Sales > Sales Email > Order > New order Confirmation

(Check for both logged in and guest user and make sure you have correct value set for store view)

 

and Edit that template and check if 

{{var order.getCustomerEmail()}}

is there or not.

 

Let us know if issue still persists !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

View solution in original post

2 REPLIES 2

Re: Add the customer email address to new order email confirmation emails

Hello @specialtycases 

 

I checked the same and it's working for me,please cross-check with your template set for for new order from admin:

Store > Configuration > Sales > Sales Email > Order > New order Confirmation

(Check for both logged in and guest user and make sure you have correct value set for store view)

 

and Edit that template and check if 

{{var order.getCustomerEmail()}}

is there or not.

 

Let us know if issue still persists !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Add the customer email address to new order email confirmation emails

This worked. Thanks.