Home Forums Themes Support Claue Email templates overriding

Topic Resolution: Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #24884

      Hi Harry,

      I  trying to edit override email templates to remove the header section from the template  /wp-content/themes/claue-child/woocommerce/emails/email-header.php  but it doesn’t seem to work, could please let me know how to do it?

      i tried to cut out this code  <tr>
      <td align=”center” valign=”top”>
      <!– Header –>
      <table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”600″ id=”template_header”>
      <tr>
      <td id=”header_wrapper”>
      <h1><?php echo $email_heading; ?></h1>
      </td>
      </tr>
      </table>
      <!– End Header –>
      </td>
      </tr>

      you can preview email in  Woocommerce-settings-emails at the bottom of the page

      Thank you

    • #24893

      Hi,

      I check the email and see the code you remove disappear and it work http://take.ms/hd60C

      If you want remove logo, please remove this code

      <div id="template_header_image">
      	<?php
      	if ( $img = get_option( 'woocommerce_email_header_image' ) ) {
      	echo '<p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="' . get_bloginfo( 'name', 'display' ) . '" /></p>';
      	}
      	?>
      </div>

      Regards
      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #24897

      OK maybe some server delays, not sure, thank you

Viewing 2 reply threads

You must be logged in to reply to this topic.