

Create a email template
Document->templates->email template->new
Create a IF
Create a new template by updating code
<html>
<head></head>
<body
style="color: #b0b2b4; font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif; font-size: 18px; margin: auto; padding: 20px 0 13px 0;width:100%;overflow-x: hidden; max-width: 800px;">
<header><a href="#" style="cursor: default;"><img
src="https://3425005-sb1.app.netsuite.com/core/media/media.nl?id=35451868&c=3425005_SB1&h=GorpNe9KKmRrpp2K5TuMzFBgOOpNsyJ1drjKMgqO9q5PHQsW&fcts=2022112 3011702&whence="
style="width:100%" /></a></header>
<div style="height:10%;margin-bottom:15px;">
<table border="0" cellpadding="0" cellspacing="0"
style="font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;" width="100%">
<tbody>
<tr>
<td style="vertical-align: bottom;"> </td>
<td
style="text-align: center;font-size:18px; color: #00A0EE; font-size: 24px; font-weight: 1000; line-height: 24px; ">
Here's what we shipped:</td>
</tr>
</tbody>
</table>
</div>
<div style="height: 10%; margin-bottom: 15px;">
<table border="0" cellpadding="0" cellspacing="0"
style="font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;" width="100%">
<tbody>
<tr>
<td style="vertical-align: top; text-align: left;"><span
style="color: #b0b2b4; font-size: 16px; line-height: 16px;">Order #:</span>
${transaction.sonum}</td>
<td style="vertical-align: top; text-align: right;"><span
style="color: #b0b2b4; font-size: 16px; line-height: 16px;">Order Date:</span>
<#assign salesOrder=transaction.createdfrom>
<#if salesOrder?has_content> <span
style="color: #b0b2b4; font-size: 16px; line-height: 16px; text-align: left;">${salesOrder.trandate}</span>
</#if>
</td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top; margin-bottom: 10px;"> </td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top; text-align: left; margin-bottom: 15px;"><span
style="color: #b0b2b4; font-size: 16px; line-height: 16px;">Address:</span>
${transaction.shipaddress}</td>
</tr>
</tbody>
</table>
</div>
<hr style="color: #b0b2b4; height: 1px; background-color: #b0b2b4; border: none;" />
<div style="height: 10%; margin-bottom: 15px; text-align: center;">Dear ${transaction.entity}, we are pleased to say
your order ${transaction.tranid} has left our warehouse and is on its way to you
<table border="0" cellpadding="0" cellspacing="0"
style="font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;" width="100%">
<tbody>
</tbody>
</table>
</div>
<#if transaction.custbody_og_connote?has_content>
<div style="display: flex; justify-content: center; align-items: center; margin-bottom: 15px;"><a
href="https://trackmyparcel.com.au/${transaction.custbody_og_connote}"
style="font-size: 12px; color: #00A0EE; font-size: 24px; font-weight: 600; line-height: 24px; display: flex; align-items: center; justify-content: center;">Track
your delivery here <img alt="Track your delivery here"
src="https://3425005-sb1.app.netsuite.com/core/media/media.nl?id=35653972&c=3425005_SB1&h=XS25_cO3xSEcPAmJkYkrgebnkw65aQdzmprbRCxssPMcgKZR&fcts=20230515235753&whence="
style="vertical-align: middle; width: 30px;" /> </a></div>
<#else>
<div style="display: none;"> </div>
</#if>
<hr style="color: #b0b2b4; height: 1px; background-color: #b0b2b4; border: none;" />
<table border="0" cellpadding="0" cellspacing="0"
style="font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif; vertical-align: top; width: 100%;">
<#if (transaction.item)?has_content>
<#list transaction.item as itemline>
<tbody>
<tr>
<td style="padding-top: 10px; width: 25%; text-align: center;">
<div style="font-size: 18px;"> </div>
<#if (itemline.custcolitem_image_url)?has_content>
<#assign imageURL = 'https://www.scatrainingbaglr4.cf//SSP%20Applications/NetSuite%20Inc.%20-%20SCA%202019.1/Development/img/' + itemline.custcolitem_image_url + '?resizeid=2&resizeh=175&resizew=175'>
<img alt="" data="customNew" height="64" src="${imageURL}"
style="display: block; margin-left: auto; margin-right: auto; max-height: 64px; max-width: 64px; height: 64px; width: 64px;"
width="64" />
</#if>
</td>
<td style="padding-top: 10px; width: 25%;">
<div style="text-align: center;">
<span style="color: #b0b2b4; font-size: 18px;">Item</span><br />
<#if (itemurls[itemline.item.internalId])?has_content>
<a href="${itemurls[itemline.item.internalId]}"
style="color: #000000; font-size: 16px; line-height: 16px; text-decoration: none; display: block;">${itemline.item}</a>
<#else>
<br />
<span style="font-size: 18px; line-height: 16px; color: #000000;">${itemline.item}</span>
</#if>
</div>
</td>
<td style="padding-top: 10px; width: 25%; text-align: center;">
<div style="font-size: 18px;">
<span style="color: #b0b2b4; text-align: center;">Quantity ordered</span>
</div>
<br />
<div style="text-align: center;">
<span style="color: #000000;">${itemline.quantityremaining}</span>
</div>
</td>
<td style="padding-top: 10px; width: 25%; text-align: center;">
<div style="font-size: 18px;">
<span style="color: #b0b2b4; text-align: center;">Quantity shipped</span>
</div>
<br />
<div style="text-align: center;">
<span style="color: #000000;">${itemline.quantity}</span>
</div>
</td>
</tr>
</tbody>
</#list>
</#if>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr></tr>
</tbody>
</table>
<div style="height:10%;margin-bottom:15px;">
<table border="0" cellpadding="0" cellspacing="0"
style="font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;" width="100%">
<tbody>
<tr>
<td style="vertical-align: bottom;"> </td>
<td style="color: #b0b2b4; font-size: 16px; line-height: 24px;">
<#if transaction.custbody_og_connote?has_content>Note: At times our freight partners do not
deliver in full. Please wait 24 hours to receive your complete order prior to contacting the
service team <a href="https://trackmyparcel.com.au/${transaction.custbody_og_connote}"
style="font-size: 16px; color: #00A0EE; font-size: 16px;">Track your delivery here</a>
<#else> Note: At times our freight partners do not deliver in full. Please wait 24 hours to
receive your complete order prior to contacting the service team
</#if>
</td>
</tr>
</tbody>
</table>
</div>
<div style="height:10%;margin-bottom:15px;">
<table border="0" cellpadding="0" cellspacing="0"
style="font-family: Open Sans, Verdana, Arial, Helvetica, sans-serif;" width="100%">
<tbody>
<tr>
<td style="vertical-align: bottom;"> </td>
<td
style="text-align: center;font-size:16px; color: #00A0EE; font-size: 24px; font-weight: 800; line-height: 24px; ">
Thank you for your order</td>
</tr>
</tbody>
</table>
</div>
<footer><img
src="https://3425005-sb1.secure.netsuite.com/core/media/media.nl?id=35421657&c=3425005_SB1&h=rdRGVCCLun72gSCC9u89VD6Fhe2gFRvRlKaj4Mh_asfOVRen"
style="width:100%" /></footer>
</body>
</html>