email receipt order total
First off, the new email reciepts look really good. Thank you for the work.
Since I get copies of all emails sent to me, I notice that the email reciepts are not showing 'TOTAL' ...at least when combined with a Discount Code.
Normally, the receipt looks like this:
Quote:
1 x Product download name $6.99
---------
Sub-Total: $6.99
Free Shipping: $0.00
Total: $6.99
That's fine. However, when a discount coupon is used, it looks like this:
Quote:
1 x Product download name $6.99
---------
Sub-Total: $6.99
Discount Coupon: 9c4322539a : -$1.99
Free Shipping: $0.00
that's it, and then the address information follows. After the free shipping
line, it should say TOTAL: $5.00
I'm sure this is a bug or just a missing piece of code.
Any suggestions on how to fix it?
thanks again.
Re: email receipt order total
Assuming you're talking about HTML emails, please post the raw HTML code from your email client ...
Re: email receipt order total
I had to pull out all the personal info, but here it is
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><BASE
href=http://mysite.com/>
<STYLE type=text/css>BODY {
COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center
}
A:link {
COLOR: #0066cc
}
A:hover {
COLOR: #0066cc; BACKGROUND-COLOR: #eeeecc
}
A:visited {
COLOR: #0066cc
}
.holder {
BORDER-RIGHT: #9a9a9a 1px solid; BORDER-TOP: #9a9a9a 1px solid; FONT-SIZE: 9px; BORDER-LEFT: #9a9a9a 1px solid; WIDTH: 550px; BORDER-BOTTOM: #9a9a9a 1px solid; BACKGROUND-COLOR: #f9f9f9; TEXT-ALIGN: left
}
.header {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 10px; PADDING-BOTTOM: 0px; WIDTH: 550px; PADDING-TOP: 0px
}
.content {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 10px; PADDING-BOTTOM: 5px; WIDTH: 550px; PADDING-TOP: 5px
}
.footer {
BORDER-TOP: #9a9a9a 1px solid; FONT-SIZE: 9px; WIDTH: 550px; TEXT-ALIGN: center
}
.extra-info {
BORDER-RIGHT: #9a9a9a 1px dashed; PADDING-RIGHT: 5px; BORDER-TOP: #9a9a9a 1px dashed; MARGIN-TOP: 10px; PADDING-LEFT: 5px; FONT-SIZE: 10px; PADDING-BOTTOM: 5px; BORDER-LEFT: #9a9a9a 1px dashed; WIDTH: 550px; PADDING-TOP: 5px; BORDER-BOTTOM: #9a9a9a 1px dashed; BACKGROUND-COLOR: #cccc99
}
.content-line {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 10px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px
}
.content-line-title {
FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-TOP: 3px
}
.order-detail-area {
BORDER-RIGHT: #9a9a9a 1px; PADDING-RIGHT: 2px; BORDER-TOP: #9a9a9a 1px; PADDING-LEFT: 2px; FONT-SIZE: 10px; PADDING-BOTTOM: 2px; BORDER-LEFT: #9a9a9a 1px; WIDTH: 542px; PADDING-TOP: 2px; BORDER-BOTTOM: #9a9a9a 1px; BACKGROUND-COLOR: #cccc99
}
.product-details {
FONT-SIZE: 10px
}
.product-details-num {
FONT-WEIGHT: bold; FONT-SIZE: 10px
}
.order-totals-text {
FONT-WEIGHT: bold; FONT-SIZE: 10px
}
.order-totals-num {
FONT-SIZE: 10px
}
.comments {
BORDER-RIGHT: #9a9a9a 1px; PADDING-RIGHT: 2px; BORDER-TOP: #9a9a9a 1px; PADDING-LEFT: 2px; FONT-SIZE: 10px; PADDING-BOTTOM: 2px; BORDER-LEFT: #9a9a9a 1px; WIDTH: 542px; PADDING-TOP: 2px; BORDER-BOTTOM: #9a9a9a 1px; BACKGROUND-COLOR: #ff6699
}
.address-block {
BORDER-RIGHT: #9a9a9a 1px solid; BORDER-TOP: #9a9a9a 1px solid; MARGIN-TOP: 3px; BORDER-LEFT: #9a9a9a 1px solid; BORDER-BOTTOM: #9a9a9a 1px solid; BACKGROUND-COLOR: #e4e8f3
}
.address {
FONT-SIZE: 10px
}
.payment-detail {
FONT-SIZE: 10px
}
.payment-footer {
FONT-SIZE: 10px
}
.extra-info {
BORDER-RIGHT: #9a9a9a 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #9a9a9a 1px solid; MARGIN-TOP: 10px; PADDING-LEFT: 5px; FONT-SIZE: 10px; PADDING-BOTTOM: 5px; BORDER-LEFT: #9a9a9a 1px solid; WIDTH: 550px; PADDING-TOP: 5px; BORDER-BOTTOM: #9a9a9a 1px solid; BACKGROUND-COLOR: #cccc99
}
.extra-info-bold {
FONT-WEIGHT: bold
}
.disclaimer {
BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; MARGIN-TOP: 10px; PADDING-LEFT: 5px; FONT-SIZE: 10px; PADDING-BOTTOM: 5px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 550px; PADDING-TOP: 5px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #f9f9f9
}
.disclaimer1 {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; COLOR: #666666; PADDING-TOP: 5px
}
.disclaimer1 A:link {
COLOR: #666666
}
.disclaimer1 A:visited {
COLOR: #666666
}
.disclaimer2 {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; COLOR: #666666; PADDING-TOP: 5px
}
.copyright {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; BORDER-BOTTOM: #9a9a9a 0px solid
}
</STYLE>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY bg##############################>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt arial">
<DIV> </DIV></DIV>
<DIV class=holder><!-- Header Section --><!-- Content Section -->
<DIV class=content>
<DIV class=content-line>Your Order Confirmation <BR><BR>John Doe,<BR>Thanks for
shopping with us today!<BR>The following are the details of your
order.<BR><BR>Order Number: 306<BR>Date Ordered: Monday 02 October, 2006<BR><A
href="https://mysite.com/index.php?main_page=account_history_info&order_id=306">Click
here for a Detailed Invoice</A> </DIV>
<DIV class=content-line><STRONG>Products</STRONG></DIV>
<DIV class=order-detail-area>
<TABLE class=product-details cellSpacing=0 cellPadding=2 width="100%"
border=0><TBODY>
<TR>
<TD class=product-details vAlign=top align=right width=30>1 x</TD>
<TD class=product-details vAlign=top>Lets Hear It For the Boy (ho0485)
<NOBR><SMALL><EM>Download MIDI</EM></SMALL></NOBR></TD>
<TD class=product-details-num vAlign=top
align=right>$6.99</TD></TR></TBODY></TABLE></DIV>
<DIV class=order-detail-area>
<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD class=order-totals-text align=right width="100%"> </TD>
<TD class=order-totals-num noWrap align=right>---------</TD></TR>
<TR>
<TD class=order-totals-text align=right width="100%">Sub-Total:</TD>
<TD class=order-totals-num noWrap align=right>$6.99</TD></TR>
<TR>
<TD class=order-totals-text align=right width="100%">Discount Coupon: <A
href="file://\\2539a">9c54552539a</A> :</TD>
<TD class=order-totals-num noWrap align=right>-$1.99</TD></TR>
<TR>
<TD class=order-totals-text align=right width="100%">Free Shipping:</TD>
<TD class=order-totals-num noWrap align=right>$0.00</TD></TR>
<TR>
<TD class=order-totals-text align=right width="100%">Total:</TD>
<TD class=order-totals-num align="rig
<div class="
comments?>
<DIV></DIV>
<DIV class=content-line><STRONG>Address Information</STRONG></DIV>
<DIV class=address-block>
<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="50%">
<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD class=content-line-title><STRONG>Delivery
Address</STRONG></TD></TR>
<TR>
<TD class=address>n/a</TD></TR>
<TR>
<TD class=content-line-title><STRONG>Shipping
Method</STRONG></TD></TR>
<TR>
<TD class=content-line>Free Shipping</TD></TR></TBODY></TABLE></TD>
<TD vAlign=top width="50%">
<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD class=content-line-title>Billing Address</TD></TR>
<TR>
<TD class=address>John Doe<BR>8703 Nowhere St<BR>faketown, WA
98660<BR>United States</TD></TR>
<TR>
<TD class=content-line-title><STRONG>Payment
Method</STRONG></TD></TR>
<TR>
<TD class=payment-detail>Credit Card</TD></TR>
<TR>
<TD
class=payment-footer></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<DIV></DIV><!-- Footer Section -->
<DIV class=footer>
<DIV class=copyright>Copyright (c) 2006 <A href="http://www.MYsite.com"
target=_blank>MYSite.com, Inc.</A>. Powered by <A
href="http://www.zen-cart.com" target=_blank>Zen Cart</A></DIV></DIV>
<DIV></DIV>
<DIV class=disclaimer>
<DIV class=disclaimer1>This email address was given to us by you or by one
of our customers. If you feel that you have received this email in error,
please send an email to <A href="mailto:[email protected]">[email protected]
</A></DIV>
<DIV class=disclaimer2>This email is sent in accordance with the US
CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this
address and will be honored and respected.</DIV></DIV>
<TABLE class=extra-info>
<TBODY>
<TR>
<TD class=extra-info-bold colSpan=2><STRONG>Office Use
Only:</STRONG></TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>From:</STRONG></TD>
<TD></TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>Email:</STRONG></TD>
<TD></TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>Login Name:</STRONG></TD>
<TD>John Doe</TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>Login Email:</STRONG></TD>
<TD>[email protected]</TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>Telephone:</STRONG></TD>
<TD>360-555-1234</TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>IP Address:</STRONG></TD>
<TD>69.xx.xxx.xxx - 69.xx.xxx.xxx</TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>Host Address:</STRONG></TD>
<TD>69.xx.xxx.xxx</TD></TR>
<TR>
<TD class=extra-info-bold><STRONG>Date and Time:</STRONG></TD>
<TD>Mon Oct 2 2006 23:06:23 EDT</TD></TR></TBODY></TABLE>
<P>
<HR>
<BR></TD></TR></TBODY></TABLE></DIV></DIV></DIV>
<P>
<P></P></BODY></HTML>
thanks
Re: email receipt order total
Interesting ... looks like it's getting chopped off somehow:
Code:
<TR>
<TD class=order-totals-text align=right width="100%">Total:</TD>
<TD class=order-totals-num align="rig <div class="
comments?>
<DIV></DIV>
Re: email receipt order total
Like I said, it works fine and shows the total as look as the disount coupon is not applied.
Re: email receipt order total
I'm having a similar problem.
When I was running a test order with a discount coupon, the HTML email came through messed up.
This is the part that is initially visible in the email:
Quote:
Products
1 x Scented Apothecary Jar Candle (Apothecary16) Fragrance: Allspice $17.95
---------
Sub-Total: $17.95
Shipping: $0.00
Discount Coupon: 10TEST :
But to see the totals, I have to scroll sideways and then the State Sales tax verbage is down beside the shipping address box and doesn't show it's amount or the total order amount at all that I see.
Not sure if this is what you need or not but here is the "message source" from the email:
Code:
--b1_6fc3d800ce5f5680286e7a0ebe8dda95
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
Order Confirmation from Chandler's Cottage - Olde Tyme Candles & Gifts
TEST CUSTOMER
Thanks for shopping with us today!
The following are the details of your order.
------------------------------------------------------
Order Number: 1013
Date Ordered: Saturday 07 October, 2006
Detailed Invoice:
https://candletart.securedview.com/candletart/candleshop/index.php?main_page=account_history_info&order_id=1013
Products
------------------------------------------------------
1 x Scented Apothecary Jar Candle (Apothecary16) = $17.95
Fragrance: Allspice
------------------------------------------------------
Sub-Total: $17.95
Shipping: $0.00
Discount Coupon: 10TEST : -$10.00
TN Sales Tax 9.75%: $1.75
Total: $9.70
Delivery Address
------------------------------------------------------
TEST CUSTOMER
456 Main Street
Whatzit, TN 37110
United States
Billing Address
------------------------------------------------------
TEST CUSTOMER
456 Main Street
Whatzit, TN 37110
United States
Payment Method
------------------------------------------------------
Check/Money Order
Please make your check or money order payable to:
Olde Tyme Candles
Mail your payment to:
Chandler's Cottage
Olde Tyme Candles & Gifts
P.O. Box 7265
McMinnville, TN 37111
Your order will not ship until we receive payment.
-----
This email address was given to us by you or by one of our customers. If you
feel that you have received this email in error, please send an email to
[email protected]
-----
Copyright (c) 2003-2006 Zen Cart. Powered by Zen Cart
--b1_6fc3d800ce5f5680286e7a0ebe8dda95
Content-Type: text/html; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<base href="http://www.candletart.com/candleshop/" />
<style type="text/css">
body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;}
a:link {color:#0066cc;}
a:hover {background-color:#eeeecc; color:#0066cc;}
a:visited {color:#0066cc;}
.holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;}
.header {font-size:10px; padding:0px; width:550px;}
.content {font-size:10px; padding:5px; width:550px;}
.footer {border-top:1px solid #9a9a9a; font-size:9px; text-align:center; width:550px;}
.extra-info {background-color:#cccc99; border:1px dashed #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;}
.content-line {padding:5px; font-size:10px;}
.content-line-title {font-weight:bold; font-size:11px; padding-top:3px;}
.order-detail-area {background-color:#CCCC99; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; }
.product-details {font-size:10px;}
.product-details-num {font-size:10px; font-weight:bold;}
.order-totals-text {font-size:10px; font-weight:bold;}
.order-totals-num {font-size:10px; }
.comments {background-color:#FF6699; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; }
.address-block {background-color:#E4E8F3; border:1px solid #9a9a9a; margin-top:3px;}
.address {font-size:10px;}
.payment-detail, .payment-footer {font-size:10px;}
.extra-info {background-color:#cccc99; border:1px solid #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;}
.extra-info-bold {font-weight:bold;}
.disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;}
.disclaimer1 {color:#666666; padding:5px;}
.disclaimer1 a:link {color:#666666;}
.disclaimer1 a:visited {color:#666666;}
.disclaimer2 {color:#666666; padding:5px;}
.copyright {border-bottom:0px solid #9a9a9a; padding:5px;}
</style>
</head>
<body>
<div class="holder">
<!-- Header Section -->
<div class="header">
<img src="email/header.jpg" alt="logo" />
</div>
<!-- Content Section -->
<div class="content">
<div class="content-line">
Order Confirmation Chandler's Cottage - Olde Tyme Candles & Gifts<br /><br />
TEST CUSTOMER,<br />
Thanks for shopping with us today!<br />
The following are the details of your order.<br /><br />
Order Number: 1013<br />
Date Ordered: Saturday 07 October, 2006<br />
<a href="https://candletart.securedview.com/candletart/candleshop/index.php?main_page=account_history_info&order_id=1013">Click here for a Detailed Invoice</a>
</div>
<div class="content-line"><strong>Products</strong></div>
<div class="order-detail-area"><table class="product-details" border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td class="product-details" align="right" valign="top" width="30">1 x</td><td class="product-details" valign="top">Scented Apothecary Jar Candle (Apothecary16) <nobr><small><em>
Fragrance: Allspice</em></small></nobr></td><td class="product-details-num" valign="top" align="right">$17.95</td></tr></table></div>
<div class="order-detail-area"><table border="0" width="100%" cellspacing="0" cellpadding="2"><td class="order-totals-text" align="right" width="100%"> </td><td class="order-totals-num" align="right" nowrap="nowrap">---------</td></tr><tr><td class="order-totals-text" align="right" width="100%">Sub-Total:</td><td class="order-totals-num" align="right" nowrap="nowrap">$17.95</td></tr><tr><td class="order-totals-text" align="right" width="100%">Shipping:</td><td class="order-totals-num" align="right" nowrap="nowrap">$0.00</td></tr><tr><td class="order-totals-text" align="right" width="100%">Discount Coupon: <a href="javascript:couponpopupWindow('http://www.candletart.com/candleshop/index.php?main_page=popup_coupon_help&cID=2&zenid=b245165ed33c2b94cf779c03bd250417')">10TEST</a> :</td><td class="order-totals-num" align="right" nowrap="nowrap">-$10.00</td></tr><tr><td class="order-totals-text" align="right" width="100%">TN Sales Tax 9.75%:</td><td class="order-totals-num" align="right" nowrap="now
<div class="comments"></div>
<div class="content-line"><strong>Address Information</strong></div>
<div class="address-block">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td valign="top" width="50%">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="content-line-title"><strong>Delivery Address</strong></td>
</tr>
<tr>
<td class="address">TEST CUSTOMER<br />456 Main Street<br />Whatzit, TN 37110<br />United States</td>
</tr>
<tr>
<td class="content-line-title"><strong>Shipping Method</strong></td>
</tr>
<tr>
<td class="content-line">Shipping</td>
</tr>
</table>
</td>
<td valign="top" width="50%">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="content-line-title">Billing Address</td>
</tr>
<tr>
<td class="address">TEST CUSTOMER<br />456 Main Street<br />Whatzit, TN 37110<br />United States</td>
</tr>
<tr>
<td class="content-line-title"><strong>Payment Method</strong></td>
</tr>
<tr>
<td class="payment-detail">Check/Money Order</td>
</tr>
<tr>
<td class="payment-footer">Please make your check or money order payable to:
Olde Tyme Candles
Mail your payment to:
Chandler's Cottage
Olde Tyme Candles & Gifts
P.O. Box 7265
McMinnville, TN 37111
Your order will not ship until we receive payment.</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
<!-- Footer Section -->
<div class="footer">
<div class="copyright">Copyright (c) 2003-2006 <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a></div>
</div>
</div>
<div class="disclaimer">
<div class="disclaimer1">This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to <a href="mailto:[email protected]">[email protected] </a> </div>
<div class="disclaimer2">This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.</div>
</div>
</body>
</html>
--b1_6fc3d800ce5f5680286e7a0ebe8dda95--
All other emails without a discount coupon have come through just fine.
This is a 1.3.5 "fresh" install (but with numerous mods as noted in this thread :P ).
My Administrative TEXT ONLY copy of the order came through just fine.
I haven't changed any email files that I know of. :smile:
Re: email receipt order total
Also, while on the subject of HTML emails....is there a way to 'center' the logo.gif that comes through in the emails?