I have fixed this by adding “add_filter( ‘woocommerce_defer_transactional_emails’, ‘__return_false’ );” this.
But I’m unable to receive any order notification mails in latest version of woocommerce.
That snippet will set up emails to be sent after an order is created (for performance reasons). Did that solve the problem and now emails are sending, or?
With emails not showing up in the logs at all, that means something is stopping them from even being sent. First, make sure the emails are enabled at WooCommerce > Settings > Emails.
If the problem still happens, the next thing to do is rule out plugin/theme conflicts: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
Hello, Thank you so much for replying me.
Email are enabled already WooCommerce > Settings > Emails. I’m currently using 3.0.1 and after adding that in function.php I’m receiving all woocommerce emails.
In latest version only order notification mails are not sending. But when someone creating an account in our website that time email is sending and also generating in logs. I don’t know why it’s happening.
I have tested by disabling all plugins except some of plugins which I can’t disable:
1> woocommerce
2> yoast seo
3> License Manager plugin (paid version)
Still order emails are not receiving/sending. I have contacted ENFOLD support team, they said “it’s a woocommerce issue they made changes in woocommerce plugin.”
Thanks
BuyaCSGO
The order status of the new order must be “processing” or “completed” for emails to be sent out, they will not be sent for “pending payment” orders. So double check that.
If that does not help, then you’ll need create a staging/test site. On this staging site, disable everything but WooCommerce and have a default WordPress theme enabled. Then do a test order and see if emails are triggered to be sent at that point.
Plugin Support
Yuki K a11n.
(@yukikatayama)
Automattic Happiness Engineer
Hi @buyacsgo,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.