• Resolved td8000

    (@td8000)


    Hello everyone,

    i need to remove the header from the email that i received by seller after purchase.

    i therefore removed this part from admin-new-order.php:

    /*

    • @hooked WC_Emails::email_header() Output the email header
      */
      do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

    this did remove the header, but also caused an error message, that the order did not go through (although it did). therefore this way i cant be done.

    Simple question is now, how to remove this header bar from the email without causing a conflict.

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Stef

    (@serafinnyc)

    Why are you wanting to edit the email that goes to you? Who cares what it looks like? Wouldn’t you rather edit the one that goes to the customers?

    Hey there, @td8000! Thanks for contacting us.

    Please note that we can’t provide support for code customization as per our support policy. But we do our best to offer advice and direct you to appropriate resources.

    You can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there too.

    I’m also going to leave it open for a bit to see if anyone is able to chime in and help you out further.

    If there’s anything else we can help you with, please let us know so we can assist you further.

    Have a wonderful day!

    Hey there ??,

    This thread has been inactive for a while, so I’m going to mark this as resolved – feel free to create a new topic if you need any further help. ??

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Header from Email’ is closed to new replies.