Sending tracking codes by e-mail

Last updated

Ecwid sends the tracking code and URL in notifications to your customers.

If they don't get them, then first of all, please check if the Order shipped notifications are enabled in your Ecwid Control Panel → Settings → Mail. Then check the content of these notifications, they should have this code:

<#if order.trackingUrl?has_content> <tr> 
<td align="center" valign="top" style="font-family: Arial,sans-serif;
font-size: 14px;line-height: 24px;
padding-top: 16px;color: #333333;"> 
<a href="${order.trackingUrl}" style="text-decoration: none;">
<b>Track your package</b>
</a> </td> 
</tr> </#if>

When you use user-defined shipping, Ecwid actually doesn't know what shipping carrier you use for it and doesn't include a tracking URL in emails. Only a tracking number is included. So, you will need to add such a URL to your notifications manually.

Find ${order.trackingUrl} variable in the code above and replace it with the tracking URL. You will also need to remove opening and closing <#if order.trackingUrl?has_content> ... </#if> tags from this part of the template. Here is an example of how it will look:

<tr><td align="center" valign="top" 
style="font-family: Arial,sans-serif;font-size: 14px;
line-height: 24px;padding-top: 16px;color: #333333;">
<a href="" 
style="text-decoration: none;"
><b>Track your package</b></a>

Feel free to replace the UPS tracking URL with any other one.

Back to top
Has the article answered your question?

Awesome! Thanks for your feedback!

Please send us that question. We will be happy to help by email.

Send a message