Skip to content

System messages

The plugin registers these system messages under Settings → Email → System messages, so you can customize their subject and body per site like any other Craft system message.

KeyHeadingSent when
b2b_company_approvedB2B: company approvedA company is approved in the control panel — sent to each of its members so they can set a password and sign in.
b2b_member_addedB2B: added to a companyA user is added to a company (invite, control-panel add, or console).
b2b_quote_sentB2B: quote sentA merchant marks a quote sent — carries the accept and decline links.
b2b_quote_declinedB2B: quote declinedA buyer's quote request is declined by the merchant — carries the reason.
b2b_approval_requestedB2B: order approval requestedA purchaser submits an order for approval — sent to every approver/admin of the company.
b2b_approval_approvedB2B: order approvedAn approver approves an order — carries either a "placed automatically" note or a resume-checkout instruction, depending on whether the order could complete directly.
b2b_approval_declinedB2B: order declinedAn approver declines an order — carries the reason.
b2b_payment_reminderB2B: payment reminderThe b2b-commerce/dunning/run command sends an overdue-invoice reminder — carries the invoice reference, due date, days overdue and amount due.

All messages are registered via Craft's craft\services\SystemMessages::EVENT_REGISTER_MESSAGES event with a default English body; the Dutch translation of every message ships with the plugin.

Released under a commercial license.