Skip to content

Instantly share code, notes, and snippets.

@clooth
Created January 11, 2013 15:15
Show Gist options
  • Save clooth/4511401 to your computer and use it in GitHub Desktop.
Save clooth/4511401 to your computer and use it in GitHub Desktop.
Email template
<table id="wrapper" width="600" cellpadding="20" cellspacing="0" border="0" style="background-color:#fff;border:1px #ddd solid;">
<tr>
<td id="header" class="padded">
This is an automated message sent on: <?php echo date('m.d.Y'); ?> at <?php echo date('g:i a'); ?><br />
Note that you cannot reply to this message. Our Help Center can be found at <a href="http://www.netoutlet.com/help-center">Our help Center</a>
</td>
</tr>
<tr>
<td id="logo">TODO</td>
</tr>
<tr>
<td id="intro" class="padded">
<strong>Dear [commerce-order:owner:field-first-name], thank you for your order!</strong><br />
<br />
We're processing your order as fast as possible. In the meantime, please review your personal information and order details below. Should you notice an error, please contact us at support@netoutlet.com. You can also reach us by phone on +358 40 251 8917. We'll do our best to take your call.<br />
</td>
</tr>
<tr>
<td id="personal-info" class="padded">
<table width="500">
<tr><th colspan="2" style="text-align:left;">Personal Information:</th></tr>
<tr><th style="text-align:left;">Name:</th><td>[customer:name]</td></tr>
<tr><th style="text-align:left;">Shipping address:</th><td>[customer:address]</td></tr>
<tr><th style="text-align:left;">Post code:</th><td>[customer:postal]</td></tr>
<tr><th style="text-align:left;">City:</th><td>[customer:city]</td></tr>
<tr><th style="text-align:left;">Country:</th><td>[customer:country]</td></tr>
<tr><th style="text-align:left;">Email:</th><td>[customer:email]</td></tr>
</table>
</td>
</tr>
<tr>
<td id="order-details" class="padded">
[order:summary]
</td>
</tr>
<tr>
<td id="receipt-wrapper" class="padded">
<strong>Please find the receipt for your purchase below:</strong>
[RECEIPT]
</td>
</tr>
<tr>
<td id="supplier" class="padded">
[merchant:name] is responsible for your product and the delivery of your order. Should you find any issues with your purchase, we ask that you contact [merchant:name] directly and use <strong>[commerce-order:order-number]</strong> as your reference. Their contact details can be found below.<br />
<br />
[merchant:name] ([merchant:vat_number])<br />
[merchant:email]<br />
[merchant:phone_number]
</td>
</tr>
<tr>
<td id="order-status" class="padded">
You can find the status of your current order at [commerce-order:customer-url]
</td>
</tr>
<tr>
<td id="thanks" class="padded">
Thank you again for your purchase and we hope that you enjoyed using NetOutlet!<br />
Remember to like us on Facebook (<a href="http://www.facebook.com/NetOutletFI">http://www.facebook.com/NetOutletFI</a>) to keep up to date with the latest information about our service and news on new products.<br />
<br />
Should you have any questions about NetOutlet or if you would like to give us feedback regarding our service, please don’t hesitate to contact us at feedback@netoutlet.com.
</td>
</tr>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment