Templates

The following guide will give some examples of HTML templates for use in Linnworks email functionality.

Despatch notification preview

EmailTemplates

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tbody>
  <tr>
   <td style="padding: 20px 0 20px 0;" align="center" valign="top">
    <table style="border: 1px solid #093f56;" border="0" width="700" cellspacing="0" cellpadding="10" bgcolor="#ffffff">
     <!-- Company Logo as a row at the top -->
     <tbody>
      <tr>
       <td bgcolor="#222B37" align="center">
        <a href="https://www.linnworks.com/support"><img src="http://linnworks.com/themes/one-ring/img/logo.png" alt="Linn Systems" style="margin-bottom:10px; margin-left: auto; margin-right:auto;" border="0"/></a>
       </td>
      </tr>
    
      <!-- Body -->
      <tr>
       <td valign="top">
        <h1 style="&quot;font-size: 20px;">Hello, [{DeliveryFullName}]</h1>
       </td>
      </tr>
      <tr>
       <td>
        <h2 style="font-size: 16px; font-weight: normal; margin: 0;">Thank you for your order which we are happy to inform your has now been despatched &nbsp;with&nbsp;[{ShippingMethod}] on [{ProcessedOn}]</h2>
       </td>
      </tr>
      <!-- Shipping -->
      <tr>
       <td><strong><i>Despatch details:</i></strong><br /><br />
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
         <thead>
          <tr>
           <th style="fontsize: 13px; padding: 5px 9px 6px 9px; line-height: 1em;" align="left" bgcolor="#eaeaea" width="325">Delivery Address:</th>
           <th width="10">&nbsp;</th>
           <th style="fontsize: 13px; padding: 5px 9px 6px 9px; line-height: 1em;" align="left" bgcolor="#eaeaea" width="325">Despatch Method:</th>
          </tr>
         </thead>
         <tbody>
          <tr>
           <td style="font-size: 12px; padding: 7px 9px 9px 9px; border-left: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; border-right: 1px solid #EAEAEA;" valign="top">
            <p>
             [{DeliveryFullName}]<br/>
             [{DeliveryAddress1}]<br/>
             [{DeliveryAddress2}]<br/>
             [{DeliveryAddress3}]<br/>
             [{DeliveryTown}]<br/>
             [{DeliveryRegion}]<br/>
             [{DeliveryCountry}]<br/>
             [{DeliveryPostalCode}]
            </p>
           </td>
           <td>
            &nbsp;
           </td>
           <td style="font-size: 12px; padding: 7px 9px 9px 9px; border-left: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; border-right: 1px solid #EAEAEA;" valign="top">
            <p>
             Despatched On: [{ProcessedOn}]<br>
             Service: [{ShippingMethod}]
             <br/>[{EVAL}]IIF[[{PostalTrackingNumber}]=""," ", Concat["Postage Tracking Number: ", [{PostalTrackingNumber}]]][{ENDEVAL}]
            </p>
           </td>
          </tr>
         </tbody>
        </table>
       </td>
      </tr>
      
      <!-- Order details -->
      <tr>
       <td>
        <p><strong><i>Your order details:</i></strong></p>
        <p>
         Our Reference Number : [{nOrderId}] <br/>
         [{EVAL}]IIF[[{Source}]="EBAY","eBay ",""][{ENDEVAL}][{EVAL}]IIF[[{Source}]="AMAZON","Amazon ",""][{ENDEVAL}][{EVAL}]IIF[[{Source}]="MAGENTO","Magento ",""][{ENDEVAL}][{EVAL}]IIF[[{Source}]="SHOPIFY","Shopify ",""][{ENDEVAL}]Reference number: [{ReferenceNumber}]<br/>
         Received on: [{ReceivedDate}]
        </p>
       </td>
      </tr>

      <!-- Table Header --> 
      <tr>
       <td>
        <table border="0" width="806" cellspacing="0" cellpadding="0">
         <thead>
          <tr>
           <th style="fontsize: 13px; padding: 5px 9px 6px 9px; line-height: 1em;" align="left" bgcolor="#eaeaea" width="521">Item Information</th>
           <th width="10">&nbsp;</th>
           <th style="fontsize: 13px; padding: 5px 9px 6px 9px; line-height: 1em;" align="right" bgcolor="#eaeaea" width="75">Qty</th>
           <th style="fontsize: 13px; padding: 5px 9px 6px 9px; line-height: 1em;" align="right" bgcolor="#eaeaea" width="100">Cost (Each)</th>
           <th style="fontsize: 13px; padding: 5px 9px 6px 9px; line-height: 1em;" align="right" bgcolor="#eaeaea" width="100">Cost</th>
          </tr>
         </thead>
        </table> 
        <!-- Place items in a new table to ensure default browser behaviour does not move tags --> 
        [{FOREACH(Items)}]
        <table border="0" width="806" cellspacing="0" cellpadding="0">
         <tbody>
          <tr>
           <td style="font-size: 12px; padding: 5px 9px 6px 9px; border-left: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; border-right: 1px solid #EAEAEA;" align="left" valign="top" width="521">
            [{ItemNumber}] | [{ItemTitle}] 
           </td>
           <td width="10">&nbsp;</td>
           <td style="font-size: 12px; padding: 5px 9px 6px 9px; border-left: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; border-right: 1px solid #EAEAEA;" align="right" valign="top" width="75">
            [{ItemQuantity}]
           </td>
           <td style="font-size: 12px; padding: 5px 9px 6px 9px; border-left: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; border-right: 1px solid #EAEAEA;" align="right" valign="top" width="100">
            [{ItemPricePerUnit}] &nbsp;[{Currency}]
           </td>
           <td style="font-size: 12px; padding: 5px 9px 6px 9px; border-left: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA; border-right: 1px solid #EAEAEA;" align="right" valign="top" width="100">
            [{ItemCostIncTax}] &nbsp;[{Currency}]
           </td>
          </tr>
         </tbody>
        </table> 
        [{ENDFOR}]
        <!-- Table Summary -->  
        <table border="0" width="806" cellspacing="0" cellpadding="0">
         <tbody>
          <tr>
           <td align="right" valign="top" style="font-size:12px; padding: 5px 9px 6px 9px;">SubTotal:</td>
           <td width= "100" valign="top" align="right" style="font-size:12px; padding: 5px 9px 6px 9px; ">[{EVAL}]N2[[{TotalCharge}]-[{PostageCost}]-[{Tax}]][{ENDEVAL}]&nbsp;[{Currency}]</td>
          </tr>
          <tr>
           <td align="right" valign="top" style="font-size:12px; padding: 5px 9px 6px 9px;">P&amp;P Cost:</td>
           <td width= "100" valign="top"  align="right" style="font-size:12px; padding: 5px 9px 6px 9px; ">[{PostageCost}] [{Currency}]</td>
          </tr>
          <tr>
           <td align="right" valign="top" style="font-size:12px; padding: 5px 9px 6px 9px;">Tax:</td>
           <td width= "100" valign="top" align="right" style="font-size:12px; padding: 5px 9px 6px 9px; ">[{Tax}] [{Currency}]</td>
          </tr>
          <tr>
           <td align="right" valign="top" style="font-size:12px; padding: 5px 9px 6px 9px;">Total:</td>
           <td width= "100" valign="top" align="right" style="font-size:12px; padding: 5px 9px 6px 9px; ">[{TotalCharge}]&nbsp;[{Currency}]</td>
          </tr>
         </tbody>
        </table>         
        </td>
      </tr>
      
      <!-- Footer -->
      <tr>
       <td>
        [{EVAL}]IIF[[{Source}]="EBAY","Thank you for buying from our excellent eBay shop, please leave feedback.",""][{ENDEVAL}]
        [{EVAL}]IIF[[{Source}]="AMAZON","Thank you for buying from our excellent Amazon shop, please leave feedback.",""][{ENDEVAL}]
        [{EVAL}]IIF[[{Source}]="MAGENTO","Thank you for buying from our excellent store, please leave feedback.",""][{ENDEVAL}]
        [{EVAL}]IIF[[{Source}]="SHOPIFY","Thank you for buying from our excellent store, please leave feedback.",""][{ENDEVAL}]
        [{EVAL}]IIF[[{Source}]="DIRECT","Thank you for buying direct.",""][{ENDEVAL}]
        [{EVAL}]IIF[[{Source}]="DATAIMPORTEXPORT","Thank you for buying from our excellent store, please leave feedback.",""][{ENDEVAL}]
       </td>
      </tr>

      <tr>
       <td style="background: #0088c1; textalign: center; color:white;" align="center" bgcolor="#eaeaea" ><center>
        <p style="font-size: 12px; margin: 0;"><strong>Linnworks</strong></p>
        <p style="font-size: 12px; margin: 0;">email: info@linnworks.com</p>
        <p style="font-size: 12px; margin: 0;">City Gates House | 2-4 Southgate | Chichester | West Sussex | PO19 8DJ | +44 020 3651 7045</p>
       </center></td>
      </tr>
     </tbody>
    </table>
   </td>
  </tr>
 </tbody>
</table>