Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Email Header
* This template can be overridden by copying it to yourtheme/woocommerce/emails/email-header.php.
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
* @see
* @package WooCommerce/Templates/Emails
* @version 2.4.0
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<meta name="x-apple-disable-message-reformatting">
<title><?php echo get_bloginfo( 'name', 'display' ); ?></title>
<!--[if mso]>
<style type="text/css">
.pc-fb-font {
font-family: Helvetica, Arial, sans-serif !important;
<!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
<body style="width: 100% !important; margin: 0; padding: 0; mso-line-height-rule: exactly; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background-color: #f4f4f4" class="">
<span style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">This is preheader text. Some clients will show this text as a preview.</span>
<table class="pc-email-body" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="table-layout: fixed;">
<td class="pc-email-body-inner" align="center" valign="top">
<!--[if gte mso 9]>
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
<v:fill type="tile" src="" color="#f4f4f4"/>
<!--[if (gte mso 9)|(IE)]><table width="620" align="center" border="0" cellspacing="0" cellpadding="0" role="presentation"><tr><td width="620" align="center" valign="top"><![endif]-->
<table class="pc-email-container" width="100%" align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0 auto; max-width: 620px;">
<td align="left" valign="top" style="padding: 0 10px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<td height="20" style="font-size: 1px; line-height: 1px;">&nbsp;</td>
<!-- BEGIN MODULE: Transactional 7 -->
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
<td class="pc-sm-p-30-10 pc-xs-p-25-0" bgcolor="#ffffff" valign="top" style="padding: 40px 20px; background: #ffffff; border-radius: 8px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.