Email addresses in customer notification email for ecommerce shopping cart

Dcode warner asked on February 22, 2018 15:51

In the body of the customer's notification email I would like to include their email address. Just like the way their address and phone number appears. This is how it looks in the backend:

(Address) {%BillingAddress.ApplyTransformation("Ecommerce.Transformations.Order_Address"#%}

(Phone) {% BillingAddress.AddressPhone #%}

Where would I find the correct way to write or format their email address? Would it be something like: {% BillingAddress.email#%}

Correct Answer

Dragoljub Ilic answered on February 22, 2018 16:57

I don't have experience with Kentico 7, but I found something on this link https://devnet.kentico.com/docs/7_0/ecommerceguide/index.html?order_statuses.htm, under ' Configuring your store > Invoices > Invoice' in tree. There is also a table with all possible macros for invoices.

Best regards, Dragoljub

0 votesVote for this answer Unmark Correct answer

Recent Answers


Dragoljub Ilic answered on February 22, 2018 16:30 (last edited on March 24, 2018 12:16)

Hi,

You should try something like this: {% Customer.CustomerEmail %}

You can read more about that on this link in documentation. NOTE: This is for K10 version.

1 votesVote for this answer Mark as a Correct answer

Dcode warner answered on February 22, 2018 16:38

@dragoljub-ilic Thanks. I also found that marco. Do you know what's the equilivient to Kentico 7? Also is there a way to test these email templates without placing an order? I wanted to see if that Customer.CustomerEmail would work for K7.

0 votesVote for this answer Mark as a Correct answer

Dcode warner answered on February 22, 2018 17:31

Thanks much. I do see customer.CustomerEmail as marco that can be inserted. I try and see if it works.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.