The plugin does have a feature for this, through the built in "new message / conversation" email.
Please make sure that you have that enabled, under WooCommerce -> Settings -> Emails:
If you do have that enabled but do not receive the email, I would suggest to check with a mail logging plugin to see if the email exists in the log or not: https://wordpress.org/plugins/wp-mail-logging/
Hi Stefan!
Is it possible for the admin to receive an email with the conversation message initiated by the clients ?
I've done some tests but I think that the admin must enter the wordpress admin area to check if there are new messages.
It would be a great feature if an email was sent every time a new message (or quote request, etc.) was submitted.
Best regards and thanks
Hello Miguel,
The plugin does have a feature for this, through the built in "new message / conversation" email.
Please make sure that you have that enabled, under WooCommerce -> Settings -> Emails:
If you do have that enabled but do not receive the email, I would suggest to check with a mail logging plugin to see if the email exists in the log or not: https://wordpress.org/plugins/wp-mail-logging/
Kind regards,
Stefan
Hi Stefan!
Thank you!
Is there any way I can add more email recipients to the "New message/conversation" email?
Right now, I think that it only goes to the wordpress admin, but I wanted to add one more email.
Best regards and thanks
Hi again Miguel,
Yes, you can add the following PHP code snippet to control which addresses receive that email:
Replace email1, email2 etc with your own email addresses that should receive it. You can add more addresses by just adding them using a comma (,).
The code snippet can be added to functions.php or any snippets plugin,
Kind regards,
Stefan
Hi Stefan,
I have another question about this feature.
My quote request form has a select field, that has the id b2bking_field_1169, and has 3 options: Generic, Warranty, Other.
I want to change the email addresses which receive the email, based on the option that was selected on the field.
However, my code does not seem to work:
I think that the $_POST['b2bking_field_1169'] is not fetching anything. Maybe I have to pass the conversation id in order to get the field?
Can you please tell me what's wrong with the code?
Best regards and thanks
Hi Miguel,
Generally the code appears correct, but I think I see the issue.
That's based on the "name" property, not ID, therefore I believe it should be
$_POST['b2bking_custom_field_1169']
(not b2bking_field_1169)
Let me know if that works please,
Stefan