In the Business Events section under Settings > Shop, you have the option of assigning certain Shopware events such as customer account has been registered or order has been received to corresponding email templates. In addition, you can add rules from the Rule Builder to the events, so that you can control which e-mail is to be sent for which event and under which conditions.
Event (1): In the column Event Name you will find the respective event, which will be triggered upon activation and the appropriate event. The technical name as well as a comprehensible description of the event is displayed here.
Title (2): The title can be assigned individually by the user and serves to distinguish events more quickly.
Sales Channel (3): This column shows which sales channel was selected for this event. If no sales channel is entered here, the event applies to all existing sales channels.
Rules (4): In the Rules column you will find the rules from the Rule Builder that apply to this event.
Email template (5): The mail template specifies which email template is used to send the e-mail.
Active (6): In this column you can see which events are enabled or disabled.
List settings (7): In the list settings, which can be viewed via a context menu, you can configure the view of the overview. Here you can show or hide individual columns to get a better overview. In the column of the list settings you can edit or remove the event via the context menu of the respective line.
Add Business-Event (8): With this button you can add new event actions.
After you click on the button Add business event the following form for creating a new event opens.
Title (1): Enter a title of your choice here. This will help you to find the event faster in the overview.
Active (2): Here you can enable or disable this event. You can also deactivate the function without having to delete the event directly.
Event (3): Here you select the event for which you want to send an automated mail. The following events are available as standard.
For example, if you want to send a special order confirmation for an order, you can select the event Order placed. Hereby you automatically select the technical event checkout.order.placed.
Email template (4): Here you can select the email template to be sent on this event. You can use all email templates you have created in the email templates section.
Sales Channel (5): Here you have the possibility to select a sales channel for which this event is to take place. For example, you have the option of sending an individual order confirmation for each sales channel. If you do not enter a sales channel here, this event will always take effect.
Rules (6): In the field Rules you can further individualise and limit this event. Here you can access all rules from the Rule Builder.
In the example of the order confirmation you can configure that it is only sent for this event if the customer comes from a certain country or orders at a certain time.
In the section email recipients, you can enter internal email addresses that should receive the corresponding mail template. If you enter email addresses here, the mails will be sent to them. A dispatch to the respective customer does not take place.
If you want the event to send the mail to the customer as well as to the internal email address, it is necessary to create two separate events with the same settings and store internal email recipients in one of the events.
Customers will only receive the set email templates if no email recipients are stored.