diff --git a/admin/admin-settings.php b/admin/admin-settings.php index b333a1ee2ca..bd7582e8cb7 100644 --- a/admin/admin-settings.php +++ b/admin/admin-settings.php @@ -659,6 +659,14 @@ $woocommerce_settings['email'] = apply_filters('woocommerce_email_settings', arr array( 'name' => __( 'Email template', 'woothemes' ), 'type' => 'title', 'desc' => __('This section lets you customise the WooCommerce emails. For more advanced control copy woocommerce/templates/emails/ to yourtheme/woocommmerce/emails/', 'woothemes'), 'id' => 'email_template_options' ), + array( + 'name' => __( 'Header image', 'woothemes' ), + 'desc' => sprintf(__( 'Enter a URL to an image you want to show in the email\'s header. Upload your image using the media uploader.', 'woothemes' ), admin_url('media-new.php')), + 'id' => 'woocommerce_email_header_image', + 'type' => 'text', + 'std' => '' + ), + array( 'name' => __( 'Email footer text', 'woothemes' ), 'desc' => __( 'The text to appear in the footer of WooCommerce emails.', 'woothemes' ), diff --git a/templates/emails/email_header.php b/templates/emails/email_header.php index 2eaa05faa0b..fdd2c2b4def 100644 --- a/templates/emails/email_header.php +++ b/templates/emails/email_header.php @@ -146,6 +146,12 @@
+
+ ';
+ endif;
+ ?>
|