Purpose: This article is intended to help you solve issues that may occur when integrating with Ecwid by Lightspeed.
The tracking emails are missing service point information:
In order to receive the service point details of the selected service point in your tracking e-mails, you need to modify Ecwid by Lightspeed's e-mail templates.
Where to add template extension code?
1.) Navigate to Settings > Notifications
2) Click the Edit
button next to the template of your choice
3) Paste in the provided code (see below) in this part of the code and save
The following templates can be extended
- “Order Confirmation” template
- “Order Status Changed” template
- “Order Shipped” template
- “New Order Placed” template
Please add the following code to the specified templates to display selected service point information:
<#assign scServicePointName = getOrderExtraField("scServicePointName")>
<#assign servicePointStreet = getOrderExtraField("scServicePointStreet")>
<#assign servicePointCity = getOrderExtraField("scServicePointCity")>
<#assign servicePointPostalCode =getOrderExtraField("scServicePointPostalCode")>
<#if scServicePointName.title?has_content && scServicePointName.value?has_content>
<tr>
<td align="left" valign="top" style="font-family: ${fontFamily}; font-size: 14px; line-height: 24px; color: ${colorText}; padding-top: 15px;">
<b>${scServicePointName.title}</b> <br /> ${scServicePointName.value}
</td>
</tr>
</#if>
<#if servicePointStreet.title?has_content && servicePointStreet.value?has_content>
<tr>
<td align="left" valign="top" style="font-family: ${fontFamily}; font-size: 14px; line-height: 24px; color: ${colorText}; padding-top: 15px;">
<b>${servicePointStreet.title}</b> <br /> ${servicePointStreet.value}
</td>
</tr>
</#if>
//
<#if servicePointCity.title?has_content && servicePointCity.value?has_content>
<tr>
<td align="left" valign="top" style="font-family: ${fontFamily}; font-size: 14px; line-height: 24px; color: ${colorText}; padding-top: 15px;">
<b>${servicePointCity.title}</b> <br /> ${servicePointCity.value}
</td>
</tr>
</#if>
<#if servicePointPostalCode.title?has_content && servicePointPostalCode.value?has_content>
<tr>
<td align="left" valign="top" style="font-family: ${fontFamily}; font-size: 14px; line-height: 24px; color: ${colorText}; padding-top: 15px;">
<b>${servicePointPostalCode.title}</b> <br /> ${servicePointPostalCode.value}
</td>
</tr>
</#if>