2

In the Shipment page, where you have the Billing Address and the Shipment Address, the management staff tells me she wants the email to show up there (rather complains that the email is not shown).

I am not sure about the page I have to edit whether it is the shipment page or something like

System > Configuration > Customers > Customer Configuration > Address Templates

and while I code in PHP, I have no idea about Magento syntax so I dont know how to write those 4 or 5 words that would surely display it. For example, this shows address

 <tr>
      <td valign="top" style="font-size:12px; 
      {{var order.billing_address.format('html')}}
      </td>
      <td>&nbsp;</td>
     <td valign="top" >


 {{var payment_html}}
                            </td>
                        </tr>

My guess is that it would be something like this?

 {{var order.email_address.format('html')}}

But I don't know if it is

{{var order.email_address.format }}

or it should be just

{{var order.email.format('html')}}

UPDATE

On reading other posts How do I add a customer's email to the sales invoice?

it gives the instructions on how to write the code but it says:

You have to copy the file to the local folder. You cannot do a simple override because it's an abstract class.

Where is that the "local folder", where is the file I have to copy?

  • email id of customer or store ? – Gopal Patel Dec 9 '16 at 11:16
  • you could try {{var order.customer_email}} or {{var customer.email}} – Robin Dec 9 '16 at 11:16
  • I am not sure about that because I am reading this .. magento.stackexchange.com/questions/29172/… – Arminius Dec 9 '16 at 11:28
  • @Arminius that post is for the customer's email – Gopal Patel Dec 9 '16 at 11:37
  • it is the customers email that I need to add , what other email address was I going to include? – Arminius Dec 9 '16 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.