nsForum logo

Welcome Guest ( Log In )

> How Do I Insert The Customer Email In The Invoice
JollieJack
post Oct 31 2009, 01:16 PM
Post #1





Group: Verified NS Member
Posts: 7
Joined: 28-October 09
Member No.: 5,968



I need the customers email address to be included in the email that I recieve when I get a new order notice. I tried a few variations with no luck. The last one I just tried was this...

<ns:if condition="Customer.Email != ''">Email: <%Customer.Email%></ns:if>

Could someone help me out with the script to accomplish this please? Thank you!

Jack,
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 3)
mdsource
post Oct 31 2009, 01:46 PM
Post #2





Group: Verified NS Member
Posts: 232
Joined: 1-October 07
Member No.: 102



Help with e-mails

Go to design/edit email design

You need to insert the "customer e-mail " NS script into your text & html e-mails.
Ours looks like this in the text version:

Order Confirmation
----------------------
Thank you for your order, <%Billing.FirstName%> <%Billing.LastName%>.
E-Mail: <%Customer.Email%>
Your order number is: <%Order.Number%>
Date of order: <%Order.Date%>
<ns:if condition="Order.ShippingMethod != ''">
Shipping Method: <%Order.ShippingMethod%>
</ns:if>
Payment Method: <%Payment.Method%>



This is what ours looks like in the html version:

<h1>Order Confirmation</h3>

<table cellpadding="4" cellspacing="0" style="width:100%">
<tr>
<td>
<div>Thank you for your order, <%Billing.FirstName%> <%Billing.LastName%>.</div>
<div>E-Mail: <%Customer.Email%></div>
<div>Your order number is: <%Order.Number%></div>
<div>Date of order: <%Order.Date%></div>
<div style="margin-top:15px">
<ns:if condition="Order.ShippingMethod != ''">
<div>Shipping Method: <%Order.ShippingMethod%></div>
</ns:if>
<div>Payment Method: <%Payment.Method%></div>
</div>
</td>
</tr>



On the edit page, within the text version and HTML versions, you need to put the prompt where you want to insert the NS script. To the right of the page is a drop down list of available scripts. Under the Values section choose the one for customer e-mail! I added the E-Mail: text before the script.

I also changed the color of the shipping method so we would be able to see it right away if it is ground or air. I didn't know how to make it change colors for different methods of shipping but you can change the whole line to be a different color.
Go to the top of the page
 
+Quote Post
JollieJack
post Oct 31 2009, 03:44 PM
Post #3





Group: Verified NS Member
Posts: 7
Joined: 28-October 09
Member No.: 5,968



QUOTE (mdsource @ Oct 31 2009, 02:46 PM) *
Help with e-mails

Go to design/edit email design

You need to insert the "customer e-mail " NS script into your text & html e-mails.
Ours looks like this in the text version:

Order Confirmation
----------------------
Thank you for your order, <%Billing.FirstName%> <%Billing.LastName%>.
E-Mail: <%Customer.Email%>
Your order number is: <%Order.Number%>
Date of order: <%Order.Date%>
<ns:if condition="Order.ShippingMethod != ''">
Shipping Method: <%Order.ShippingMethod%>
</ns:if>
Payment Method: <%Payment.Method%>



This is what ours looks like in the html version:

<h1>Order Confirmation</h3>

<table cellpadding="4" cellspacing="0" style="width:100%">
<tr>
<td>
<div>Thank you for your order, <%Billing.FirstName%> <%Billing.LastName%>.</div>
<div>E-Mail: <%Customer.Email%></div>
<div>Your order number is: <%Order.Number%></div>
<div>Date of order: <%Order.Date%></div>
<div style="margin-top:15px">
<ns:if condition="Order.ShippingMethod != ''">
<div>Shipping Method: <%Order.ShippingMethod%></div>
</ns:if>
<div>Payment Method: <%Payment.Method%></div>
</div>
</td>
</tr>



On the edit page, within the text version and HTML versions, you need to put the prompt where you want to insert the NS script. To the right of the page is a drop down list of available scripts. Under the Values section choose the one for customer e-mail! I added the E-Mail: text before the script.

I also changed the color of the shipping method so we would be able to see it right away if it is ground or air. I didn't know how to make it change colors for different methods of shipping but you can change the whole line to be a different color.


Thanks for your reply. I am trying that and it's not working in the text version. I am making NO changes to anything except trying to add the E-Mail: <%Customer.Email%> And when I hit save it gives me an error. The error says...

Element 'EmailItemDetails' is required but was not specified. (ex: <ns:EmailItemDetails />)

I tried copy/paste yours (thank you) in the text version and I get the same error. I also tried putting in Email: and using the drop down menu on the right side and get the same error.

This is what I have in that area and have made no changes to anything except trying to add the email script.

Thank you for your order, <%Billing.FirstName%> <%Billing.LastName%>.
E-Mail: <%Customer.Email%>
Your order number is: <%Order.Number%>
Date of order: <%Order.Date%>

I know it should be a simple task to accomplish but it's not working for me. When I hit save I get the above error? :-(

Thanks, Jack
Go to the top of the page
 
+Quote Post
mdsource
post Nov 1 2009, 06:57 PM
Post #4





Group: Verified NS Member
Posts: 232
Joined: 1-October 07
Member No.: 102



QUOTE
This is what I have in that area and have made no changes to anything except trying to add the email script.

Thank you for your order, <%Billing.FirstName%> <%Billing.LastName%>.
E-Mail: <%Customer.Email%>
Your order number is: <%Order.Number%>
Date of order: <%Order.Date%>

I know it should be a simple task to accomplish but it's not working for me. When I hit save I get the above error? :-(

Thanks, Jack


I had a few error messages but it was when I tried to do too much, mostly with adding color. I would recommend a call into tech support so they can look at your control panel.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2009 Time is now: 21st November 2009 - 10:46 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates