Email Template

Email template:

When you install the plugin, an email template “Form Manager” and the email type “Form Manager” are created.

You can then adapt and/or duplicate this at any time.

If you want to create a new email template, be sure to select the “Form Manager” type

For more information about email templates, see https://docs.shopware.com/en/shopware-6-en/settings/email-templates

Make sure to enter the required code for TEXT and HTML under Mail text

TEXT

 The following message was sent to you via the contact form.
 {{ pixforData.config.translated.name }}
 {% if pixforData.email %}
 e-Mail:{{ pixforData.email }}
 {% endif %}
 {% if pixforData.subject %}
 Betreff:{{ pixforData.subject }}
 {% endif %}
 {% for item in pixforData.form %}
 {{ item.label }}:{{ item.value }}
 {% endfor %}

HTML

<div style="font-family:arial; font-size:12px;">
<p>
 The following message was sent to you via the contact form.<br/>
<br/>
 
<h2> {{ pixforData.config.translated.name }}</h2> 
{% if pixforData.email %}
<b>e-Mail:</b>{{ pixforData.email }}<br>
{% endif %}
{% if pixforData.subject %}
<b>Betreff:</b>{{ pixforData.subject }}<br>
{% endif %}
{% for item in pixforData.form %}
<b>{{ item.label }}:</b> {{ item.value }}<br>
 {% endfor %}
 </p>
 </div>

Last updated