WooCommerce -> Settings -> EmailS ->
the first two options, "FROM: Name, FROM: Email"
, are the Sender’s email and name. When an order is placed a notification email is sent to both Shop Manager and Customer from the same Sender’s email and name (which we set from admin dashboard).
When Customer
replies to that email, he basically replies to Shop Manager
and it works fine.
But Shop Manager
receives the notification email from his (given) email address, in actually there would be client’s email.
P.S: I want that Shop Manager gets the email from the customer’s billing email and customer gets it from Shop Manager’s given email.
The only way I can think of to achieve this is to programmatically generate the Shop Manager notification email using one of the system action hooks. Since there is only one field in the “from” settings, it will be used (by default) for all the outbound messages.
That said, check out the Code Snippets plugin at https://wordpress.org/plugins/code-snippets/. You can put some code here (and it will be saved to the DB, and included the system code at runtime) that could generate this programmatic email when, say, a new order is generated.
Hope it helps.
After going through your question it made sense that for a shop owner it needs to be like the mail should have sent from address as the client’s email address, so that he can reply to each order in a single email thread.
Try out the above code and lemme know whether it works for you and accomplishes your purpose.
I think you can also use wordpress hooks for that: