Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <title>Responsive e-mail template for Magento</title>
- <!--[if mso]>
- <style type=”text/css”>
- td {
- font-family: Helvetica, Arial, sans-serif;
- color: #202020;
- }
- ul {
- font-size:14px;
- }
- </style>
- <![endif]-->
- <style type="text/css">
- .deviceWidth {
- width: 650px;
- }
- span.yshortcuts { color:#000; background-color:none; border:none;}
- span.yshortcuts:hover,
- span.yshortcuts:active,
- span.yshortcuts:focus {color:#000; background-color:none; border:none;}
- .autofitkiller {
- min-width:650px !important;
- }
- @media only screen and (max-width: 649px) {
- body[yahoo] .deviceWidth {
- width:100%!important;
- min-width:300px;
- }
- body[yahoo] .full {
- display:block;
- width:100%!important;
- min-width:280px;
- padding-left: 0!important;
- padding-right: 0!important;
- }
- body[yahoo] .autofitkiller {
- display:none;
- }
- }
- /*** RESETS ***/
- body,
- table,
- td,
- p,
- ul {
- border-collapse:collapse;
- mso-table-lspace:0pt;
- mso-table-rspace:0pt;
- }
- /*** MAIN STYLES ***/
- body {
- margin:0;
- padding:0;
- width:100%;
- font-family:Helvetica,Arial,sans-serif;
- font-size:16px;
- line-height:1.33em;
- color:#202020;
- -webkit-font-smoothing:antialiased;
- background-color:#ffffff;
- }
- .autofitcell {
- font-size:1px;
- line-height:1px;
- }
- .defaultpadding {
- padding:20px;
- }
- /*** TYPOGRAPHY ***/
- h1 {
- font-size:18px;
- text-transform:uppercase;
- }
- h2 {
- font-size:17px;
- color:#808080;
- text-transform:uppercase;
- }
- p {
- padding:0px;
- margin:0;
- font-size:16px;
- line-height:1.33em;
- }
- ul {
- margin:20px 0 0 20px;
- padding:0;
- font-size:16px;
- line-height:1.33em;
- }
- /*** CALL TO ACTION ***/
- .buttondiv {
- margin:20px 0;
- text-align:center;
- }
- .button {
- background:#63ba30;
- background:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzYzYmEzMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1MzlkMjgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+');
- background:-moz-linear-gradient(top,#63ba30 0%,#539d28 100%);
- background:-webkit-linear-gradient(top,#63ba30 0%,#539d28 100%);
- background:linear-gradient(to bottom,#63ba30 0%,#539d28 100%);
- display:inline-block;
- width:100%;
- font-weight:bold;
- line-height:48px;
- text-decoration:none;
- text-align:center;
- color:#ffffff;
- -webkit-text-size-adjust:none;
- }
- </style>
- </head>
- <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" yahoo="fix">
- <!-- CONTAINER -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
- <tr>
- <td width="100%" valign="top" bgcolor="#ffffff">
- <!-- HEADER: LOGO -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#000000">
- <tr>
- <td width="100%" align="center" valign="middle">
- <img src="{{PUT YOUR LOGO HERE}}" alt="{{var store.getFrontendName()}}">
- </td>
- </tr>
- </table>
- <!-- HEADER: AUTOFIT KILLER - DO NOT REMOVE -->
- <table width="650" border="0" cellpadding="0" cellspacing="0" align="center" class="deviceWidth" bgcolor="#ffffff">
- <tr>
- <td height="1" class="autofitcell">
- <img src="{{skin url="images/email/email-autofit-killer.gif"}}" width="650" height="1" class="autofitkiller" /> <!-- MAKE A 650x1 TRANSPARENT GIF -->
- </td>
- </tr>
- </table>
- <!-- END HEADER -->
- <!-- CONTENT -->
- <table width="650" class="deviceWidth" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#ffffff">
- <tr>
- <td class="defaultpadding"> <!-- USE THIS CLASS TO ADD PADDING TO THE CONTENT -->
- <!-- MESSAGE -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
- <tr>
- <td>
- <h1>Hi {{htmlescape var=$customer.name}},</h1>
- <h2>Thank you for shopping with us!</h2>
- <p>
- {{YOUR MESSAGE HERE}}
- </p>
- </td>
- </tr>
- </table>
- <!-- ORDER DETAILS -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
- <tr>
- <td valign="top" colspan="2"> <!-- NOTICE THE COLSPAN -->
- <h2>Your items</h2>
- {{layout handle="sales_email_order_items" order=$order}}
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="2"> <!-- NOTICE THE COLSPAN -->
- <h2>Payment</h2>
- {{var payment_html}}
- </td>
- </tr>
- <tr>
- <td valign="top" class="contentcell full"> <!-- USE FULL CLASS TO COLLAPSE CELLS IN SMALL DEVICES -->
- <h2>Shipping address</h2>
- {{var order.getShippingAddress().format('html')}}
- </td>
- <td valign="top" class="contentcell full"> <!-- USE FULL CLASS TO COLLAPSE CELLS IN SMALL DEVICES -->
- <h2>Shipping method</h2>
- {{var order.shipping_description}}
- </td>
- </tr>
- </table>
- <!-- MORE INFO -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
- <tr>
- <td valign="top">
- <h2>Attention!</h2>
- <ul>
- <li>{{YOUR LIST ITEMS HERE}}</li>
- </ul>
- <!-- INCREDIBLE BUTTON MARKUP -->
- <div class="buttondiv">
- <!--[if mso]>
- <v:rect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{store url="customer/account/"}}" style="height:48px;v-text-anchor:middle;width:300px;" stroke="f" fillcolor="#606060">
- <w:anchorlock/>
- <center>
- <![endif]-->
- <a href="{{store url="customer/account/"}}"
- class="button">GO TO ACCOUNT</a>
- <!--[if mso]>
- </center>
- </v:rect>
- <![endif]-->
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <!-- END CONTENT -->
- <!-- FOOTER -->
- <table width="650" class="deviceWidth" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#ffffff">
- <tr>
- <td class="defaultpadding"> <!-- USE THIS CLASS TO ADD PADDING TO THE CONTENT -->
- <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
- <!-- PHONE -->
- <tr>
- <td align="center">
- <a href="tel:{{var store_phone}}">
- {{var store_phone}}
- </a>
- </td>
- </tr>
- <!-- MAIL -->
- <tr>
- <td align="center">
- <a href="mailto:{{var store_email}}">
- {{var store_email}}
- </a>
- </td>
- </tr>
- <!-- ADDRESS -->
- <tr>
- <td align="center">
- <address>
- {{config path="general/store_information/address"}}
- </address>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <!-- END FOOTER -->
- </td>
- </tr>
- </table>
- <!-- END CONTAINER -->
- </body>
- </html>
Add Comment
Please, Sign In to add comment