Change Woocommerce New Order reply-to address to customer

A client wanted to be able to easily contact customers through the New Order admin notification in Woocommerce by simply replying to that notification. The default reply-to is the store owner’s email, so we needed a way to make it appear as if it came from the customer.

new-order-email-receipent

After trying and failing a handful of solutions, including routing email through Mandrill, I came across a plugin by Peter Hartree:

WooCommerce New Order Email Notification from Customer.

Yes it works. Yes it was the easiest $12 fix ever.

15 Comments


I need this plugin…how can I get it?

Reply

I need this too. I can\’t believe Woo doesn\’t have this function built it.

Reply

Hi Bryan, I don\’t see any twitter reply from him. I need this plugin now. Do you think you can send a copy to me and I will ping him to get his paypal account and pay him later? Let me know. Thanks.

Reply

In case any of you are still looking for a solution to this, I managed to create my own plugin using the code below. Just create a new folder in the Plugins directory and add one php file with the same name as the folder you created. Then insert this code:

<?php
   /*
   Plugin Name: GroupBooked Reply to Customer
   */
   
//This plugin adds a "reply-to" on New Order Emails so that the customer can be replied to directly

add_filter( \'woocommerce_email_headers\', \'mycustom_headers_filter_function\', 10, 3);

function mycustom_headers_filter_function( $headers, $object, $order ) {
    if ($object == \'new_order\') {
        $headers .= \'Reply-to: \'.$order->billing_first_name.\' \'.$order->billing_last_name.\' <\'.$order->billing_email.\'>\' . "rn";
    }

    return $headers;
}

?>
Reply

I have to say, its a great idea – but from having the plugin not be available at the original location to now having it placed o the Sellfy platform, through which the PayPal process for me did NOT work, is a bit of a fail. Why not publish through the Envato marketplace?

Reply

Hi Bryan,

I have many customers who reply to their Order emails with support questions. Because I use my own email within WordPress in the General Settings, they reply directly to me (because that is the “From” address on the order emails).

I need the order emails to have a different “from” address so that when they reply they hit our support team instead of my general email.

Besides changing the email in my general settings, WooCommerce has told me this isn’t really possible with the current setup. Do you know of any workaround?

Thanks,

Valerie

Reply

    Hi Valerie,

    You can set a from email address in WooCommerce > Settings > Emails. Below the list of emails you’ll find ‘Email sender options,’ and can be set separately from your General WordPress admin email.

    Unless that’s the general email you’re already referring to…

    LMK.

    Reply

      In WooCommerce>Settings>Emails I have the From email as our support team as suggested.

      In WordPress>General Settings> I have the email address as my personal email.

      I’m told that whatever email I have in WordPress > General Settings is the one that WooCommerce will use as the “from” address on Customer Order emails.

      So a customer will get their new order email, have a question about it and hit reply….which goes to my WordPress General Settings email (personal). It’s strange, I contacted WooCommerce about it today and they sent me to you :)


      They sent you to me? Wow, well that’s nice of them :) I didn’t realize they knew I existed!

      That is very strange… WooCommerce’s own documentation says the following:

      Set the ‘From’ name and email address for the sender used in WooCommerce emails.

      I’m pretty sure ours are sent as the email entered there…


      They sent me to this thread here :)

      Okay, that’s what I was thinking too, but it keeps going to my personal email. so strange!

Leave a Reply

Your email address will not be published. Required fields are marked *

Tell us about your project.

We'd love to hear what you're working on.

Work with us

Hi. We are Spigot. Telemarketers pronounce it Spy-got.

We are a Park City, Utah based web design shop that excels at building custom websites powered by WordPress and WooCommerce. We love content - content strategy, content curation, content soup...????Have a look around the site. As you browse you'll find useful navigation links in the sidebar on the left. We hope you find them useful anyway... Please let us know what you think, shoot us a message here.