I am working on Magento 1.9 version, I want to show email ID of user on billing and shipping address. I want to add variables in html of

System->Configuration->Customer->Customer Configuration->Address Templates

but I didn't find variable to add email address.enter image description here


{{depend order.getBillingAddress().getEmail()}}

{{var order.getBillingAddress().getEmail()}}


{{depend order.getCustomerEmail().getEmail()}}

{{var order.getCustomerEmail()}}


But still output is empty


Magento does not provide email address variable in default address template. You can try below method.

For Guest

{{var order.getBillingAddress().getEmail()}}

For Customer

{{var order.getCustomerEmail()}}

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.