Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
I was testing my emails to make sure everything was working, and I encountered an error:
<SPAN id=ctl00_MainContent_MessageBox1_MessageText>This Email Template Could Not Replace All Tags. E-mail Will Not Be Sent.
I narrowed it down to 2 tags in the template that don't work. [[package.trackingnumberlink]] and [[package.trackingnumber]]
Any thoughts on why they aren't working?
(I just updated to SP1. Unsure whether that changes anything.) |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Which template do you have these links in? |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Most likely this is due to an e-mail template that does not support the object type that you are trying to replace. In this case, the package tags will only work in the shipping e-mail because in the repeating section all of the packages in an order are enumerated. In the order update e-mail all of the items in an order are enumerated in the repeating section. In sp1 two new tags were added to the order class, they are TrackingNumberLinks and TrackingNumbers. They will display a list of tracking numbers in an order update e-mail. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
This is in the shipping template.
That's what doesn't make sense. |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Well, does your order have any packages? And what shipping method are you using? |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Yes it had packages. I tried it using UPS. (Ground.)
And I inserted a real tracking number. (Though it wasn't the right one obviously.) |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
Could you paste the contents of this Shipping Template into this forum so that I can see what you have in there? |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
HTML Body Code: </head> <head> <meta http-equiv="Content-Language" content="en-us"> </head>
<body leftmargin=0 topmargin=0 bgcolor=FFFFFF> <table align=center border=0 cellpadding=0 cellspacing=0 height=44 width=600> <tr> <td height=5 rowspan=1 width=600 /> </tr> <tr> <td height=34 width=600 /> <p align="center"> <a href="[url=http://www.firefold.com/]http://www.FireFold.com/[/url]"> <img border="0" src="[url=http://www.firefold.com/images/Emails/FireFoldLogo.jpg]http://www.FireFold.com/images/Emails/FireFoldLogo.jpg[/url]" width="297" height="63"></a></tr> <tr> <td height=5 /> </tr> </table> <div align="center"> <table cellspacing=0 cellpadding=0 border=0 width=610> <tr> <td border=0 colspan=2 height=4 /> </tr> <tr> <td><img src=http://www.FireFold.com/images/Emails/BoxTopLeft.jpg border=0 height=5 width=5 /></td> <td width="600"><img src=http://www.FireFold.com/images/Emails/BoxTop.jpg border=0 height=5 width=100% /></td> <td><img src=http://www.FireFold.com/images/Emails/BoxTopRight.jpg border=0 height=5 width=5 /></td> </tr> <tr> <td width=5 height=5><font style="font-size: 4pt"><img src=http://www.FireFold.com/images/Emails/BoxLeft.jpg border=0 height=100% width=5 /></font></td> <td bgcolor=#FFB700 width="600" height="1"> <font style="font-size: 4pt"> &nbsp;</font></td> <td width=5 height=5><img src=http://www.FireFold.com/images/Emails/BoxRight.jpg border=0 height=100% width=5 /></td> </tr> <tr> <td border=0 bgcolor=999999 colspan=3 height=1 /> </tr> <tr> <td width=5 height=100%><img src=http://www.FireFold.com/images/Emails/box_l.jpg border=0 height=100% width=5 /></td> <td bgcolor=#ffffff width="600"> <table cellpadding=0 cellspacing=0 border=0 width=596 id="table4"> <tr> <td border=0 height=5 width=35% /> <td border=0 height=5 /> </tr> <tr> <td colspan="2"> <p align="center"> <img border="0" src="[url=http://www.firefold.com/images/Emails/OrderShipped.jpg]http://www.FireFold.com/images/Emails/OrderShipped.jpg[/url]" width="314" height="54"><br> <font face=Arial size=2> Your order has been shipped and is now <b>Completed</b>.<br /> <br /><b>What's Next?</b> <br> When you receive your package(s) please verify your order!<br> <i><b>All discrepancies must be made within 10 days.</b></i></font></td> </tr> </table> </td> <td width=5 height=%100><img src=http://www.FireFold.com/images/Emails/box_r.jpg border=0 height=100% width=5 /></td> </tr> <tr> <td bgcolor=#ffffff><img src=http://www.FireFold.com/images/Emails/BottomLeft.jpg border=0 height=12 width=5 /></td> <td bgcolor=#ffffff width="600"><img src=http://www.FireFold.com/images/Emails/Bottom.jpg border=0 height=12 width=100% /></td> <td bgcolor=#ffffff><img src=http://www.FireFold.com/images/Emails/BottomRight.jpg border=0 height=12 width=5 /></td> </tr> </table> </div> <div align="center"> <table cellspacing=0 cellpadding=0 border=0 width=600> <tr> <td border=0 height=4 /> </tr> </table> </div> <div align="center"> <table cellspacing=0 cellpadding=0 border=0 width=610> <tr> <td border=0 colspan=2 height=5 /> </tr> <tr> <td><img src=http://www.FireFold.com/images/Emails/BoxTopLeft.jpg border=0 height=5 width=5 /></td> <td width="600"><img src=http://www.FireFold.com/images/Emails/BoxTop.jpg border=0 height=5 width=100% /></td> <td><img src=http://www.FireFold.com/images/Emails/BoxTopRight.jpg border=0 height=5 width=5 /></td> </tr> <tr> <td width=5 height=19><img src=http://www.FireFold.com/images/Emails/BoxLeft.jpg border=0 height=100% width=5 /></td> <td valign=Top bgcolor=#FFB700 width="600"> <table cellspacing=0 cellpadding=0 border=0 width=550> <tr> <td> <b><font face="arial" size="2" color="#C01923">Delivery</font></b><font color=#C01923 face=arial size=2><b> Information</b> </font> </td> </tr> </table> </td> <td width=5 height=19><img src=http://www.FireFold.com/images/Emails/BoxRight.jpg border=0 height=100% width=5 /></td> </tr> <tr> <td border=0 bgcolor=999999 colspan=3 height=1 /> </tr> <tr> <td width=5 height=100%><img src=http://www.FireFold.com/images/Emails/box_l.jpg border=0 height=100% width=5 /></td> <td bgcolor=#ffffff width="600"> <table cellpadding=0 cellspacing=0 border=0 width=589> <tr> <td border=0 colspan=2 height=4 /> </tr> <tr> <td width=128 valign=top> <b><font face="Arial" size="2">Package(s) sent to:</font></b></td> <td width="461"> <font face="Arial" size="2">[[Order.ShippingAddress]]</font></td> </tr> <tr> <td width=128 valign=top> &nbsp;</td> <td width="461"> &nbsp;</td> </tr> <tr> <td border=0 colspan=2 height=7 /> </tr> <tr> <td width=128> <font face=arial size=2> <b>Shipping Method:</b></font></td> <td width="461"> <font face="Arial" size="2">[[Order.ShippingMethod]]</font></td> </tr> <tr> <td border=0 colspan=2 height=4 /> </tr> </table> </td> <td width=5 height=%100><img src=http://www.FireFold.com/images/Emails/box_r.jpg border=0 height=100% width=5 /></td> </tr> <tr> <td bgcolor=#ffffff><img src=http://www.FireFold.com/images/Emails/BottomLeft.jpg border=0 height=12 width=5 /></td> <td bgcolor=#ffffff width="600"><img src=http://www.FireFold.com/images/Emails/Bottom.jpg border=0 height=12 width=100% /></td> <td bgcolor=#ffffff><img src=http://www.FireFold.com/images/Emails/BottomRight.jpg border=0 height=12 width=5 /></td> </tr> </table> <div align="center"> <table cellspacing=0 cellpadding=0 border=0 width=610 id="table5"> <tr> <td border=0 colspan=2 height=5 /> </tr> <tr> <td><img src=http://www.FireFold.com/images/Emails/BoxTopLeft.jpg border=0 height=5 width=5 /></td> <td width="600"><img src=http://www.FireFold.com/images/Emails/BoxTop.jpg border=0 height=5 width=100% /></td> <td><img src=http://www.FireFold.com/images/Emails/BoxTopRight.jpg border=0 height=5 width=5 /></td> </tr> <tr> <td width=5 height=19><img src=http://www.FireFold.com/images/Emails/BoxLeft.jpg border=0 height=100% width=5 /></td> <td valign=Top bgcolor=#FFB700 width="600"> <table cellspacing=0 cellpadding=0 border=0 width=550 id="table6"> <tr> <td> <font color=#C01923 face=arial size=2> <b>Order Details</b> </font> </td> </tr> </table> </td> <td width=5 height=19><img src=http://www.FireFold.com/images/Emails/BoxRight.jpg border=0 height=100% width=5 /></td> </tr> <tr> <td border=0 bgcolor=999999 colspan=3 height=1 /> </tr> <tr> <td width=5 height=100%><img src=http://www.FireFold.com/images/Emails/box_l.jpg border=0 height=100% width=5 /></td> <td bgcolor=#ffffff width="600"> <table cellpadding=0 cellspacing=0 border=0 width=589 id="table7"> <tr> <td border=0 height=4 /> </tr> <tr> <td valign=top> <table align=center border=0 cellpadding=0 cellspacing=0 width=600 id="table9"> <tr> <td valign=top width="105"> <font face=Arial size=2> <b>Order Date:</b></font></td> <td align=right valign=top> <p align="left"><font face="Arial" size="2">[[Order.TimeOfOrder]]</font></td> </tr> <tr> <td valign=top width="105"> <font face=Arial size=2> <b>Order Number: </b></font></td> <td align=right valign=top> <p align="left"> <font face=Arial size=2> [[Order.OrderNumber]]</font></td> </tr> <tr> <td valign=top width="105"> &nbsp;</td> <td align=right valign=top> &nbsp;</td> </tr> <tr> <td valign=top width="105"> &nbsp;</td> <td align=right valign=top> &nbsp;</td> </tr> </table> <table border="0" cellspacing="0" cellpadding="5" width="101%" id="table10"> <tr> <td width="10%"><font face="Arial" size="2"><b>Qty</b></font></td> <td width="14%"><font face="Arial" size="2"><b>SKU</b></font></td> <td width="40%"><font face="Arial" size="2"><b>Product Name</b></font></td> <td align="right" width="32%"><b><font face="Arial" size="2"> Tracking Number</font></b></td> </tr> <tr> <td colspan="4"><hr></td> </tr> <font face="Arial" size="2"> [[RepeatingSection]] </font> <tr> <td colspan="5"><hr></td> </tr> </table> <table border=0 cellpadding=0 cellspacing=0 width=600 id="table11"> <tr> <td height=4 width=550 /> <td height=4 width=133 /> </tr> <tr> <td align=right valign=top> <font face=Arial size=2> <b>Subtotal:</b> </font> </td> <td align=right valign=top> <font face="Arial" size="2">[[Order.SubTotal]] </font> </td> </tr> <tr> <td align=right valign=top> <font face=Arial size=2> <b>Shipping:</b> </font> </td> <td align=right valign=top> <font face="Arial" size="2">[[Order.ShippingTotal]]</font></td> </tr> <tr> <td align=right valign=top> <font face=Arial size=2> <b>Tax:</b> </font> </td> <td align=right valign=top> <font face="Arial" size="2">[[Order.TaxTotal]] </font> </td> </tr> <tr> <td colspan=2 height=4 /> </tr> <tr> <td align=right valign=top> <font face=Arial size=2> <b>Total:</b> </font> </td> <td align=right valign=top> <font face="Arial" size="2">[[Order.GrandTotal]]</font></td> </tr> </table> </td> </tr> <tr> <td border=0 height=4 /> </tr> </table> </td> <td width=5 height=%100><img src=http://www.FireFold.com/images/Emails/box_r.jpg border=0 height=100% width=5 /></td> </tr> <tr> <td bgcolor=#ffffff><img src=http://www.FireFold.com/images/Emails/BottomLeft.jpg border=0 height=12 width=5 /></td> <td bgcolor=#ffffff width="600"><img src=http://www.FireFold.com/images/Emails/Bottom.jpg border=0 height=12 width=100% /></td> <td bgcolor=#ffffff><img src=http://www.FireFold.com/images/Emails/BottomRight.jpg border=0 height=12 width=5 /></td> </tr> </table> </div> </div> <table align=center border=0 cellpadding=0 cellspacing=0 width=600> <tr> <td> </td> </tr> <tr> <td height=10 /> </tr> <tr> <td> <font face=Arial size=2> <b>Important Things to Know:</b> </font> </td> </tr> <tr> <td> <font face=Arial size=2> <UL> <LI> <b>Please save this Order Shipped email.</b> To ensure that your order is complete and accurate, please compare this confirmation to your invoice and/or packing slip. </LI> <LI>Please note that FireFold cannot be responsible for packages shipped via USPS.&nbsp; The USPS <b>does not</b> provided detailed tracking information.&nbsp; If have questions about[b][/b] your package and it was shipped via USPS please contact your local Post Office and provide them with your confirmation number.&nbsp; It is the policy of FireFold that any USPS package not received after 21 days will be reviewed by our internal audit and a new package will be shipped if necessary.</LI> <LI> Orders may be shipped in separate boxes and from different warehouses. <LI><font color="#FF0000">If payment was made by credit card your charges will appear as: <b>Grouse Industries, Inc.</b></font></LI> <LI>We value your feedback.&nbsp; Please review us at either of these websites.</LI> </UL> <table border="0" width="100%" id="table34"> <tr> <td width="50%"> <p align="center"> <a href="[url=http://www.resellerratings.com/survey.pl?seller_id=10768]http://www.resellerratings.com/survey.pl?seller_id=10768[/url]"> <img border="0" src="[url=http://www.firefold.com/images/resellerratings.gif]http://www.FireFold.com/images/resellerratings.gif[/url]" width="100" height="37"></a></td> <td width="50%"> <p align="center"> <a href="[url=https://eval.bizrate.com/survey/pos.xpml?id=90480&flow=137&pitch_type=1]https://eval.bizrate.com/survey/pos.xpml?id=90480&flow=137&pitch_type=1[/url]"> <img alt="Survey by BizRate.com" src="[url=https://images.bizrate.com/eval/farina/bizrate/logo.gif]https://images.bizrate.com/eval/farina/bizrate/logo.gif[/url]" border="0"></a></td> </tr> <tr> <td colspan="2">&nbsp;</td> </tr> </table> </font> </td> </tr> </table> <table align=center border=0 cellpadding=0 cellspacing=0 width=600> <tr> <td colspan=2> <font face=Arial size=2> <b>Thanks again for choosing FireFold!</b> </font> </td> </tr> <tr> <td colspan=2 height=4 /> </tr> <tr> <td bgcolor=999999 colspan=2 height=1 /> </tr> <tr> <td colspan=2 height=4 /> </tr> <tr> <td colspan=2> <font color=999999 face=Arial size=1> <br /> © 2006 FireFold - FireFold is located at 40 Odell School Road, Unit 6, Concord, NC 28027. </font> </td> </tr> </table> <font color="#FF0000"><b> </body> </html>
HTML Repeating Code
[code] <tr> <td align=right valign=top> <p align="left"><font face="Arial" size="2"></font>[[LineItem.Quantity]]</td> <td align=left valign=top><font face="Arial" size="2">[[LineItem.Sku]]</font></td> <td align=left valign=top><font face="Arial" size="2">[[Product.ProductName]]</font></td> <td align=right valign=top><font face="Arial" size="2">[[Package.TrackingNumberLink]]</font></td>
</tr>
|
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
In the repeating section you cannot have LineItem or Product tags in the shipping e-mail. The issue is that there is not a 1:1 correlation from LineItems and Products to packages. The repeating section in the shipping e-mail repeats packages. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Hmm. I have to have LineItem and Product tags in my shipping email.
I did sorta fix it, and this is what did it:
Put _Order.TrackingNumberLinks_ instead of _Package.TrackingNumberLink_
and it works ok except for one issue.
If I have to ship different products from different places, on each product it has a shipping link for _all_ tracking numbers, not the one that was for it specifically.
Any thoughts? |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 4/4/2004(UTC) Posts: 670
|
so customers just see all tracking numbers for the order and you cannot have a tracking number per orderitem, like you could in bvc2004?
Scott Mech
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
That's what I'm experiencing right now.
I thought that _Package.TrackingNumberLink_ would allow me to do that, but it's not working. (It won't allow the email to send if it's in the template.) |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
We will have to evaluate if we have some missing functionality in this instance. I guess we need a line item tracking number tag that will figure out if a line item has been put into a package and if so display the tracking number. I guess the issue is that each line item could be in separate boxes (such as if you had a qty of 3, you might ship in three different boxes) so you might have to display multiple tracking numbers per line item. We will most definitely look at getting this into the next service release, since this is a serious omission on our part. I apologize that this issue has not been brought up before now. |
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.