Okay
  Public Ticket #4413904
Manage emails
Closed

Comments

  •  4
    John Adcox started the conversation

    How can we see all the emails that get sent?
    I don't see any settings for this, how do we decide which admin gets emails about new quote requests?

    I need to know the list so we can turn some off, and edit some.
    Ex.
    New Quote request (does it goto customer, and admin)?
    New quote sent

    Since your PDFs are extremely limited, we need to fire it off to an API that will add extra info to the quote.

  •  2,535
    WebWizards replied

    Hi John,

    Most B2BKing emails can be found and configured in WooCommerce → Settings → Emails.

    For the "new message" email, there are a few variations that aren't immediately visible in the standard settings. Currently those emails are:

    1. Quote requests and messages to admin:
    When a customer sends a quote request or message, the main admin email receives the notification. You can change or configure the recipient with this snippet:

    add_filter('b2bking_recipient_new_message', function($recipient, $conversationid){
    	return '[email protected]';
    }, 10, 2);
    add_filter('b2bking_recipient_new_message_quote', function($recipient, $conversationid){
    	return '[email protected]';
    }, 10, 2);

    Other emails include:

    2. Logged out customer confirmation:
    When a logged out customer sends a quote request, they receive "We have received your quote request and will be in touch with you shortly." This is only for logged out users because logged in customers can see it under My Account.

    3. New offer notification:
    Customers receive "You have received a new offer in response to your quote request"

    4. Company order approval:
    For company order approval, customers receive "One of your subaccounts, %1$s, has placed an order that is now pending your review."

    Let me know if you need help identifying or modifying any specific emails,

    Kind regards,
    Stefan

  •  4
    John Adcox replied

    Great to know, thank you!

    Is there anyway we could disable the conversations emails that go to customers?

    And just have the admin one?

    They get an email when an offer is sent, so we don't want the conversation email to also bug them. 

  •  2,535
    WebWizards replied

    Hi John,

    You can disable conversation emails from being sent to customers by adding this code snippet:

    https://pastecode.io/s/36aux768

    With this snippet, only admin and shop manager users will receive them.

    Let me know if I can help,

    Kind regards,
    Stefan