Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

New Order Email
 
TheJaffe
Jr. Member
 
Total Posts:  11
Joined:  2008-09-25
 

I would like to add in the new order and new order guest templates the customer’s email address shown somewhere so that it can be seen in the order itself.  My orders go to a fulfillment company who sends emails to the person ordering...so it would avoid logging into the admin area and finding it.

I tried: {{var order.getCustomer.Email()}}

and {{var customer.email}}

and some other guesses based on references in other templates...but nothing works.  What code can i place in order_new.html template to show the email address of the person ordering IN the confirmation email?

And if different for order_new_guest.html...what code?

Color me stumped.

Please and thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
jpluttme
Member
 
Total Posts:  34
Joined:  2008-04-28
 

I’m need to do this also with the email included in the new order email but haven’t found a solution.  Any help would be greatly appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
roco
Sr. Member
 
Total Posts:  191
Joined:  2008-03-18
 

I could also use help figuring this out......any suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
nico5
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2008-02-19
France
 

You wrote order.getCustomer.Email()
try
order.getCustomerEmail()

 
Magento Community Magento Community
Magento Community
Magento Community
 
biwac INFORMATIK GmbH
Jr. Member
 
Total Posts:  15
Joined:  2008-04-02
Solothurn
 

Yes, this works for me! Thanks nico5

http://www.biwac.ch

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dannyz1984
Sr. Member
 
Avatar
Total Posts:  153
Joined:  2009-04-12
 

in /www/app/locale/en_US/template/email/sales

in files order_new.html

and

invoice_new.html

type in wherever you want email displayed as:

{{var order.getCustomerEmail()}}

to display customers email.

do not know yet how this works for guest.  havent tried to do that yet.

my guess is {{billing.getEmail()}}

just adding to this thread from personal experience for future forum searches wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1655
Joined:  2007-12-14
Waterloo, ON
 

{{var order.getCustomerEmail()}} works for both smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
vary
Member
 
Total Posts:  60
Joined:  2008-12-15
China,Hongkong
 
pharmokan - 30 October 2009 10:56 AM

in /www/app/locale/en_US/template/email/sales
in files order_new.html
and
invoice_new.html
type in wherever you want email displayed as:
{{var order.getCustomerEmail()}}
to display customers email.
do not know yet how this works for guest.  havent tried to do that yet.
my guess is {{billing.getEmail()}}
just adding to this thread from personal experience for future forum searches wink

Tested, can not work for guest. Thank you for you good tips.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top