Email Templates
Um die Konfiguration auch in der Email anzeigen zu lassen, müssen Sie untenstehenden Code (HTML TEXT) im Email-Template "Bestellbestätigung unter Mail Text > HTML Text hinzufügen
Fügen Sie Nach
{% if nestedItem.payload.options is defined and nestedItem.payload.options|length >= 1 %}
{% for option in nestedItem.payload.options %}
{{ option.group }}: {{ option.option }}
{% if nestedItem.payload.options|last != option %}
{{ " | " }}
{% endif %}
{% endfor %}
{% endif %}
Folgenden Code ein:
{# AREA CALCULATOR START #}
{% if nestedItem.payload.pixelMultiHash %}
{% if nestedItem.payload.pixOptionsData %}
- {{ "pixelmulti-configurator.checkout.total"|trans|striptags }}: {{ item.optionvalue }} {{ item.suffix }} {% endif %} {% if item.SHOWTOTALPRICE %} {% if item.price %}
- {{ "pixelmulti-configurator.checkout.totalprice"|trans|striptags }} : {{ item.price|currency(currencyIsoCode) }} {% endif %} {% endif %} {% if item.SHOWTOTALWEIGHT %} {% if item.weight %}
- {{ "pixelmulti-configurator.checkout.totalweight"|trans|striptags }} : {{ item.weight }}kg {% endif %} {% endif %} {% else %}
- {{ item.optionlabel }}: {{ item.optionvalue }} {{ item.suffix }} {% endif %} {% endfor %} {% endif %} {% if nestedItem.payload.pixOptionsData.options is defined %} {% if nestedItem.payload.pixOptionsData.options %} {% for item in pixelOrderItem.options|sort %}
- {{ item.optionlabel }}: {{ item.optionvalue }} {% if item.itemspriceactive is defined %} {% if item.itemspriceactive %}{% if item.priceactive %}{% if item.price %}{{ item.price|currency(currencyIsoCode) }} {% endif %}{% endif %}{% endif %}{% endif %} {% if item.uploadfile %}
- Upload, {{ item.uploadfiletype }} {% endif %} {% endfor %} {% endif %} {% endif %}
{% set pixelOrderItem = nestedItem.payload.pixOptionsData %}
{% if nestedItem.payload.pixOptionsData.calc %}
{% for item in pixelOrderItem.calc %}
{% if item.CALCULATED is defined %}
{% if item.SHOWTOTALQM %}
Sie können auch folgendes Email Template herunterladen und mit dem Code unter Mailtext > HTML Text ersetzen (Vorher Sicherung durchführen des vorhandenen Codes)
Die Zip Datei enthält zwei Dateien:
bestellbestatigung.twig:
Hier ist der komplette Code des "bestellbestätigung" Email Templates
email-code.twig:
Hier ist der obengenannte Code enthalten. Diesen Kopieren und nach der obengenannten Code Passage im jeweiligen Email Template einfügen
Download Email Template