# Varianten in Bestellbestätigungsemail WIE

**URL:** <https://forum.shopware.com/t/varianten-in-bestellbestaetigungsemail-wie/107236>\
**Category:** Allgemein\
**Created:** [19. Mai 2025 um 13:32 UTC](https://forum.shopware.com/t/varianten-in-bestellbestaetigungsemail-wie/107236 "2025-05-19T13:32:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![exit-entry](https://avatars.discourse-cdn.com/v4/letter/e/f08c70/32.png) [@exit-entry](https://forum.shopware.com/u/exit-entry)\
**Post date:** [19. Mai 2025 um 13:32 UTC](https://forum.shopware.com/t/varianten-in-bestellbestaetigungsemail-wie/107236/1 "2025-05-19T13:32:00Z")

</div>

Hallo,

ich möchte gerne Farbe und Größe in der eMail Bestätigung mit drin haben.  
Bei mir fehlt das. Ich habe aber keine Ahnung wo ich die korrekten Variablen dafür finde  
kann mir jemand helfen was hier daazu muss damit Größe und Farbe mit aufgeführt wird?  
Als text:

```
  {{ nestedItem.label|u.wordwrap(80) }}

    Position: {{ loop.index }}
    Artikel Nr.: {% if nestedItem.payload.productNumber is defined %}{{ nestedItem.payload.productNumber|u.wordwrap(80) }}{% endif %}
    Menge: {{ nestedItem.quantity }}
    Preis: {{ nestedItem.unitPrice|currency(currencyIsoCode) }}
    Summe: {{ nestedItem.totalPrice|currency(currencyIsoCode) }}

{% endblock %}

```

und in HTML:

 Position:  
 Artikel Nr.:  
 Menge:  
 Preis:  
 Summe: 

Besten Dank

---

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [20. Mai 2025 um 10:04 UTC](https://forum.shopware.com/t/varianten-in-bestellbestaetigungsemail-wie/107236/2 "2025-05-20T10:04:16Z")

</div>

Teste bitte mal (mit Integration der options)

```
{% for lineItem in order.nestedLineItems %}
    {% set nestingLevel = 0 %}
    {% set nestedItem = lineItem %}
    {% block lineItem %}
        <tr>
            <td>{% if nestedItem.payload.productNumber is defined %}{{ nestedItem.payload.productNumber|u.wordwrap(80) }}{% endif %}</td>
            <td>{% if nestedItem.cover is defined and nestedItem.cover is not null %}<img src="{{ nestedItem.cover.url }}" width="75" height="auto"/>{% endif %}</td>
            <td>
                {% if nestingLevel > 0 %}
                    {% for i in 1..nestingLevel %}
                        <span style="position: relative;">
                            <span style="display: inline-block;
                                position: absolute;
                                width: 6px;
                                height: 20px;
                                top: 0;
                                border-left: 2px solid rgba(0, 0, 0, 0.15);
                                margin-left: {{ i * 10 }}px;"></span>
                        </span>
                    {% endfor %}
                {% endif %}

                <div{% if nestingLevel > 0 %} style="padding-left: {{ (nestingLevel + 1) * 10 }}px"{% endif %}>
                    {{ nestedItem.label|u.wordwrap(80) }}
                </div>
                
                {% if nestedItem.payload.options is defined and nestedItem.payload.options|length >= 1 %}
                <div>
                    {% for option in nestedItem.payload.options %}
                        {{ option.group }}: {{ option.option }}
                        {% if nestedItem.payload.options|last != option %}
                            {{ " | " }}
                        {% endif %}
                    {% endfor %}
                </div>
            {% endif %}
            </td>
            <td style="text-align: center">{{ nestedItem.quantity }}</td>
            <td>{{ nestedItem.unitPrice|currency(currencyIsoCode) }}</td>
            <td>{{ nestedItem.totalPrice|currency(currencyIsoCode) }}</td>
        </tr>
        <tr>
            <td colspan="6" style="border-bottom: 1px solid #cccccc;"></td>
        </tr>
        {% if nestedItem.children.count > 0 %}
            {% set nestingLevel = nestingLevel + 1 %}
            {% for lineItem in nestedItem.children %}
                {% set nestedItem = lineItem %}
                {{ block('lineItem') }}
            {% endfor %}
        {% endif %}
    {% endblock %}
{% endfor %}

```

| **Produkt-Nr.** | **Produktbild** | **Bezeichnung** | **Menge** | **Preis** | **Summe** |

---

<div class="post-metadata">

**Author:** ![exit-entry](https://avatars.discourse-cdn.com/v4/letter/e/f08c70/32.png) [@exit-entry](https://forum.shopware.com/u/exit-entry)\
**Post date:** [20. Mai 2025 um 10:35 UTC](https://forum.shopware.com/t/varianten-in-bestellbestaetigungsemail-wie/107236/3 "2025-05-20T10:35:30Z")

</div>

Moin Danke,

aber es ist alles beim alten. Ist das nicht eigentlich normal dass das übertragen wird und es komisch dass es fehlt? wie ist das denn bei euch anderen so?

Grüße
