Order Completed Email with Transaction History

Started by David Johns, October 16, 2017, 04:27:26 PM

Previous topic - Next topic

David Johns

To:
order_email

Subject:
Your company_name order is completed

Body:
<html>

<head>
<title>Order Details</title>

</head>

<body>
<p style="font-size: 10pt; font-family: Arial;"><img border="0" src="company_website/images/logo.jpg" width="740"></p>
<table width="740">
  <tr>
    <td>
<p class="comments" style="font-size: 10pt; font-family: Arial; font-weight: normal; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 10px 0px 0px;" align="left">bill_first_name,</p>
<p class="comments" style="font-size: 10pt; font-family: Arial; font-weight: normal; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 10px 0px 0px;" align="left">Thank you for your company_name order! Below is your transaction history.</p>
    </td>
  </tr>
</table>
<p class="spacer" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 5px 0px;" align="left">&nbsp;</p>
<div align="left">
<table border="0" cellspacing="0" width="740" bordercolor="#000000" cellpadding="4" id="Table3">
  <thead style="display: table-header-group;">
  <tr>
    <td width="85" valign="middle" style="border: 1 solid;" height="20"><p class="itemLabels" style="font-size: 10pt; font-family: Arial; font-weight: bold; word-spacing: 0px; text-transform: uppercase; text-indent: 0px; line-height: 100%; text-align: center; margin: 0px;" align="center">Qty</p></td>
    <td width="455" valign="middle" style="border-right-width: 1px; border-right-style: solid; border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid;" height="20"><p class="itemLabels" style="font-size: 10pt; font-family: Arial; font-weight: bold; word-spacing: 0px; text-transform: uppercase; text-indent: 0px; line-height: 100%; text-align: center; margin: 0px;" align="center">Item Description</p></td>
    <td width="100" valign="middle" style="border-right-width: 1px; border-right-style: solid; border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid;" height="20"><p class="itemLabels" style="font-size: 10pt; font-family: Arial; font-weight: bold; word-spacing: 0px; text-transform: uppercase; text-indent: 0px; line-height: 100%; text-align: center; margin: 0px;" align="center">Price</p></td>
    <td width="100" valign="middle" style="border-right-width: 1px; border-right-style: solid; border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid;" height="20"><p class="itemLabels" style="font-size: 10pt; font-family: Arial; font-weight: bold; word-spacing: 0px; text-transform: uppercase; text-indent: 0px; line-height: 100%; text-align: center; margin: 0px;" align="center">Ext. Price</p></td>
  </tr>
  </thead>
  <tr>
    <td width="85" valign="TOP" height="24" style="border-left-width: 1px; border-left-style: solid; border-right-width: 1px; border-right-style: solid;" align="center"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;">item_quantity</p></td>
    <td width="455" valign="TOP" height="24" style="border-right-width: 1px; border-right-style: solid;" align="left"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;">item_description item_options</p></td>
    <td width="100" valign="TOP" height="24" style="border-right-width: 1px; border-right-style: solid;" align="center"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px; text-align:right">item_price</p></td>
    <td width="100" valign="TOP" height="24" style="border-right-width: 1px; border-right-style: solid;" align="center"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px; text-align:right">item_ext_price</p></td>
  </tr>
  <tr>
    <td width="85" style="border-left-width: 1px; border-left-style: solid; border-right-width: 1px; border-right-style: solid; border-bottom-width: 1px; border-bottom-style: solid;"><p class="tableSpacer" style="font-size: 4pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 0px;" align="left">&nbsp;</p></td>
    <td width="455" style="border-right-width: 1px; border-right-style: solid; border-bottom-width: 1px; border-bottom-style: solid;"><p class="tableSpacer" style="font-size: 4pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 0px;" align="left">&nbsp;</p></td>
    <td width="100" style="border-right-width: 1px; border-right-style: solid; border-bottom-width: 1px; border-bottom-style: solid;"><p class="tableSpacer" style="font-size: 4pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 0px;" align="left">&nbsp;</p></td>
    <td width="100" style="border-right-width: 1px; border-right-style: solid; border-bottom-width: 1px; border-bottom-style: solid;"><p class="tableSpacer" style="font-size: 4pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 0px;" align="left">&nbsp;</p></td>
  </tr>
  <tr>
    <td width="640" style="border-right-width: 1px; border-right-style: solid;" colspan="3"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;" align="right">total_name</p></td>
    <td width="100" style="border-right-width: 1px; border-right-style: solid;"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;" align="right">total_amount</p></td>
  </tr>
  <tr>
    <td width="640" style="border-right-width: 1px; border-right-style: solid;" colspan="3"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;" align="right">payment_type</p></td>
    <td width="100" style="border-right-width: 1px; border-right-style: solid;"><p class="item" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;" align="right">payment_amount</p></td>
  </tr>
  <tr>
    <td width="640" style="border-right-width: 1px; border-right-style: solid;" colspan="3"><p class="item" style="font-size: 4pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;" align="right">&nbsp;</p></td>
    <td width="100" style="border-right-width: 1px; border-right-style: solid; border-bottom-width: 1px; border-bottom-style: solid;"><p class="item" style="font-size: 4pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; margin: 0px;" align="right">&nbsp;</p></td>
  </tr>
  </table>
</div>
<p class="spacer" style="font-size: 10pt; font-family: Arial; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 5px 0px;" align="left">&nbsp;</p>
<p class="comments" style="font-size: 10pt; font-family: Arial; font-weight: normal; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 10px 0px 0px;" align="left">Please contact us if there are any problems or questions.</p>
<p class="comments" style="font-size: 10pt; font-family: Arial; font-weight: normal; word-spacing: 0px; text-indent: 0px; line-height: 100%; text-align: left; margin: 10px 0px 0px;" align="left"><b>company_name</b><br>
<br>
<a href="mailto:company_email">company_email</a><br>
<a href="company_website">company_website</a></p>
</body>
</html>


You'll need to make sure your company website is listed with the http:// prefix in your store settings and put the header you want to appear at the top of the email at /images/logo.jpg relative path from your root web directory.
SuperManager Support
info@thesupermanager.com