Email Template

E-Mail Template: Bei der Installation des Plugins, wird ein Email Template "Formular Manager" und Email Typ "Formular Manager" erstellt .

Dieses können Sie dann jederzeit anpassen und/oder auch duplizieren.

Möchten Sie ein neues Email Template erstellen, so müssen Sie unbedingt den Typ "Formular Manager" auswählen

Mehr Informationen über Email Templates finden Sie auf https://docs.shopware.com/en/shopware-6-en/settings/email-templates

Achten Sie darauf unter Mail-Text auch den erforderlichen Code für Text und HTML einzugeben

TEXT

 Folgende Nachricht wurde an Sie via Kontakt-Formular gesendet.
 {{ 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 %}
 {% if pixforData.upload is defined and pixforData.upload|length >= 1 %}
 {% if pixforData.upload %}
 Folgende Dateien haben Sie hochgeladen:
 
{% for uitem in pixforData.upload %}
{{ uitem.realname }}

 {% endfor %}
 {% endif %}
 
  {% endif %}

HTML

<div style="font-family:arial; font-size:12px;">
<p>
Folgende Nachricht wurde an Sie via Kontakt-Formular gesendet.<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 %}
 
 {% if pixforData.upload is defined and pixforData.upload|length >= 1 %}
 {% if pixforData.upload %}
 Folgende Dateien haben Sie hochgeladen:<br>
{% for uitem in pixforData.upload %}
{{ uitem.realname }}<br>
 {% endfor %}
 {% endif %}
  {% endif %}
 </p>
 </div>

Last updated