Skip to content

Instantly share code, notes, and snippets.

@ArthurN
Created September 27, 2012 18:24
Show Gist options
  • Save ArthurN/3795541 to your computer and use it in GitHub Desktop.
Save ArthurN/3795541 to your computer and use it in GitHub Desktop.
fatstax email templates
<html>
<head>
<meta name="format-detection" content="telephone=no" />
<style>
h1 {
font-size:14pt;
}
h2 {
font-size:12pt;
}
</style>
</head>
<body style='background-color:#FFFFFF;font-family:Arial,Helvetica,Verdana;margin-left:31px;' contenteditable="true">
<div style='margin-bottom:35px'>[emailIntroduction]</div>
<table border="0" cellpadding="3" cellspacing="0" width="50%" style="padding-bottom:25px;">
<tr>
<td style="border-left: thin solid #00274D;border-right: thin solid #00274D;border-top: thin solid #00274D;">Name: [firstname] [lastname]</td>
</tr>
<tr>
<td style="border-left: thin solid #00274D;border-right: thin solid #00274D;">Organization: [company]</td>
</tr>
<tr>
<td style="border-left: thin solid #00274D;border-bottom: thin solid #00274D;border-right: thin solid #00274D;">Phone: [phone]</td>
</ul>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="0" style="border-bottom: thin solid #00274D;margin-bottom:15px;">
<col width="125px" />
<col width="*" />
<tr style="text-align: left;background-color:#736F6E;color:#ffffff;">
<td colspan="7" style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D"><strong>Requested Products</strong></td>
</tr>
<tr style="text-align: left;background-color:#736F6E;color:#ffffff;">
<td style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D"><strong>Product Name</strong></td>
<td style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D"><strong>Size</strong></td>
<td style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D"><strong>SKU</strong></td>
<td style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D"><strong>Qty</strong></td>
<td style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D"><strong>Price (each)</strong></td>
<td style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D"><strong>Total</strong></td>
<td style="text-align: center; border-top: thin solid #00274D;border-left: thin solid #00274D; border-right: thin solid #00274D"><strong>Web Page</strong></td>
</tr>
[products]
<tr>
<td style="text-align: right; border-top: thin solid;border-left: thin solid" colspan="5">Total:</td>
<td style="text-align: right; border-top: thin solid;border-left: thin solid">[total]</td>
<td style="text-align: left; border-top: thin solid;border-left: thin solid; border-right: thin solid;">&nbsp;</td>
</tr>
</table>
[productDetails]
</body>
</html>
<div>
<hr style="border-top: 3px dashed #000000;margin-top: 5px;" />
<h1 style="margin-top: 15px;">[productName]</h1>
<div style="margin-top: 35px">
<strong>Product Web Link:</strong> <a href="[productUrl]">Product Web Page</a>
</div>
<p>
[description]
</p>
[wildCard1Title] [wildCard1Value]
[wildCard2Title] [wildCard2Value]
[wildCard3Title] [wildCard3Value]
[wildCard4Title] [wildCard4Value]
[wildCard5Title] [wildCard5Value]
[wildCard6Title] [wildCard6Value]
</div>
<tr style="text-align: left; background-color:white">
<td style="text-align: left; border-top: thin solid;border-left: thin solid">[productName]</td>
<td style="text-align: right; border-top: thin solid;border-left: thin solid">[size]</td>
<td style="text-align: right; border-top: thin solid;border-left: thin solid">[sku]</td>
<td style="text-align: right; border-top: thin solid;border-left: thin solid">[quantity]</td>
<td style="text-align: right; border-top: thin solid;border-left: thin solid">[price]</td>
<td style="text-align: right; border-top: thin solid;border-left: thin solid">[ext_price]</td>
<td style="text-align: center; border-top: thin solid;border-left: thin solid; border-right: thin solid;"><a href="[weburl]">Link</a></td>
</tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment