I am using woocommerce in the wordpress.
There are multiple store owners with their own individual products.
When a buyer purchases a product, the owner gets an email notification.
However the email is sent from the admin email and not from the buyer's email.
How can I change the "sender" or "reply-to" so that the owner can reply back to the buyer's email directly instead of the admin email address?
Thanks
You can specify the sender email address in the WooCommerce settings. In WP admin, go to WooCommerce Settings, under the Email tab. There are sub-tabs underneath with all the specific email settings, including setting a from address, although not 100% sure yet on where to configure the reply-to header
You need to run an sql query from your database.
so for change reply-to address run below code:
UPDATE wp_options SET option_value = 'new-noreply#email.com' WHERE option_name = 'woocommerce_email_from_address';
for replace old address to be sure all things are OK:
UPDATE wp_options SET option_value = REPLACE(option_value, 'old-noreply#email.com', 'new-noreply#email.com') WHERE option_name = 'woocommerce_email_from_address';
Related
I have changed my email address on woocommerce new order from another site email address but it not shows notify me new order. It also shows cross in woocommerce email new order tab.
How do you change the default email address that WooCommerce emails are sent to?
Currently it's defaulting to the email address that WooCommerce was originally installed with, but the site and shop admin has since changed. I know if I enter an email address into that Recipients field, it'll override the default one, but I'd like to change the default one so I don't have to do that. I've looked in every spot I could find on Wordpress and WooCommerce but I've already updated the email addresses everywhere to the current admin address and it didn't affect the default recipient.
The email settings in WooCommerce list the WordPress administrator email address and I need the email to go from the customer to the vendor, not to the administrator. Can anyone please assist? Thank you.
You may need to modify the WooCommerce email function to send that e-mail to the vendor e-mail. If you check dokan_wc_email_recipient_add_seller in dokan-lite/include/functions.php then you will see that Dokan is adding vendor e-mail with the admin e-mail to send new-order email to the vendor. Similarly, you have to do this for other email notification.
I have set all parameters in woocomerce -> settings-> email-> new order , processing etc but email is not sended to admin or email id which i have provided in these option. Yes, email is sending to customer which has purchase items of site. Means email is working for customer but not for admin.. I have tried to change status of order but still mail is sended to customer but not admin. Can you help me to get out of this.
Thanks
Try deactivating all other plugins besides WooCommerce to see if that helps. WooCommerce uses the wp_mail provided by WordPress. As long as other emails are sent, this one should be sent.
A few things to look for:
Make sure New Order emails are enabled in WooCommerce > Settings > Emails > New Order.
Be sure the order is not placed on Pending Order. Keep in mind those emails are not sent to you since the order hasn't been completed yet thus no email.
A spam blocker might be the cause of the issue. The best way to avoid this try a dedicated SMTP provider like Mandrill which resolves most issues with emails not sending from the host. Mandrill has a free plugin.
Hope that helps!
Is it the WordPress admin email? I've just had this problem on version 4.1; i was not able to use the wordpress admin email as recipient of emails from new orders; but any other email i set for recipient when new orders worked just fine; all except the wordPress admin email. Weird hu? I guess i'll have to deal with that later.
Is there a way to change the recipient email address for all WooCommerce emails that normally go to the site administrator?
The reason for doing this is a separation of roles. The site administrator deals with security alerts, new registrations, password resets, and general site duties. We have another user that is responsible for the online store. All WooCommerce "admin" emails should go to this other person, not the email address specified in Settings --> General.
Ideally, this would be setup in the user profile or WooCommerce settings. I don't have an issue hard-coding the email address in some hook or filter.
I don't think this is possible without editing core WooCommerce files, and that is not recommended as that would be overwritten next update.
The admin email seams to fetched like this get_option( 'admin_email' ) everywhere and there is not filter manipulate this.
The best solution might be to ask for a filter (on their GitHub).
This should be possible:
In the WooCommerce section on the dashboard, there is a setting option
In that there is an Emails tab.
In the Email Sender Options section, change/add the ""From" Email Address" to the other users emails address.
Save the changed made