# Bestell E-Mail sOrder zeigt nur eine Position

**URL:** <https://forum.shopware.com/t/bestell-e-mail-sorder-zeigt-nur-eine-position/57240>\
**Category:** Installation/Einstieg\
**Created:** [2. Januar 2019 um 10:46 UTC](https://forum.shopware.com/t/bestell-e-mail-sorder-zeigt-nur-eine-position/57240 "2019-01-02T10:46:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnum112](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@magnum112](https://forum.shopware.com/u/magnum112)\
**Post date:** [2. Januar 2019 um 10:46 UTC](https://forum.shopware.com/t/bestell-e-mail-sorder-zeigt-nur-eine-position/57240/1 "2019-01-02T10:46:18Z")

</div>

Hallo, leider haben wir nach jahrelangem Normalbetrieb auf einmal das Problem, dass in den Bestell-Emails

nur eine Position angezeigt wird. Unsere Html Vorlage (ein Auszug, Widerrufsbelehrung etc habe ich mal rausgelöscht)&nbsp;kopiere ich mal rein, vielleicht findet jemand einen Fehler oder wir haben ausversehen etwas rausgelöscht.

Vielen Dank für die Hilfe!

&nbsp;

&nbsp;

![]()

Hallo {$billingaddress.firstname} {$billingaddress.lastname},

vielen Dank fuer Ihre Bestellung bei {config name=shopName} (Nummer: {$sOrderNumber}) am {$sOrderDay} um {$sOrderTime}.

**Informationen zu Ihrer Bestellung (sollte etwas nicht stimmen, bitte umgehend bei uns melden!):**

{foreach item=details key=position from=$sOrderDetails}{/foreach}

|

**Artikel** |

**Pos.** |

**Art-Nr.** |

**Menge** |

**Preis** |

**Summe** |

|

{if $details.image.src.1} ![{$details.articlename}](){else} {/if} |

{$position+1|fill:4} |

{$details.ordernumber|fill:20} |

{$details.quantity|fill:6} |

{$details.price|padding:8}{$sCurrency} |

{$details.amount|padding:8} {$sCurrency} |

|

{$details.articlename|wordwrap:80|indent:4} |

Versandkosten: {$sShippingCosts}  
Gesamtkosten Netto: {$sAmountNet}  
{if !$sNet} Gesamtkosten Brutto: {$sAmount}  
{/if}

**Gewählte Zahlungsart:** {$additional.payment.description}  
{include file=“string:`$additional.payment.additionaldescription`”} {if $additional.payment.name == “debit”} Ihre Bankverbindung:  
Kontonr: {$sPaymentTable.account}  
BLZ:{$sPaymentTable.bankcode}  
Wir ziehen den Betrag in den nächsten Tagen von Ihrem Konto ein.  
{/if}

{if $additional.payment.name == “prepayment”} Unsere Bankverbindung:  
{config name=bankAccount} {/if}

**Gewählte Versandart:** {$sDispatch.name}  
{$sDispatch.description}

{if $sComment} **Ihr Kommentar:**  
{$sComment}  
{/if}

**Rechnungsadresse:**  
{$billingaddress.company}  
{$billingaddress.firstname} {$billingaddress.lastname}  
{$billingaddress.street} {$billingaddress.streetnumber}  
{$billingaddress.zipcode} {$billingaddress.city}  
{$billingaddress.phone}  
{$additional.country.countryname}

**Lieferadresse:**  
{$shippingaddress.company}  
{$shippingaddress.firstname} {$shippingaddress.lastname}  
{$shippingaddress.street} {$shippingaddress.streetnumber}  
{$shippingaddress.zipcode} {$shippingaddress.city}  
{$additional.countryShipping.countryname}

{if $billingaddress.ustid} Ihre Umsatzsteuer-ID: {$billingaddress.ustid}  
Bei erfolgreicher Prüfung und sofern Sie aus dem EU-Ausland  
bestellen, erhalten Sie Ihre Ware umsatzsteuerbefreit.  
{/if}

Für Rückfragen stehen wir Ihnen jederzeit gerne zur Verfügung. Sie erreichen uns wie folgt:  
&nbsp;

---

<div class="post-metadata">

**Author:** ![h\_lohaus](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@h\_lohaus](https://forum.shopware.com/u/h_lohaus)\
**Post date:** [2. Januar 2019 um 11:41 UTC](https://forum.shopware.com/t/bestell-e-mail-sorder-zeigt-nur-eine-position/57240/2 "2019-01-02T11:41:13Z")

</div>

{foreach item=details key=position from=$sOrderDetails}

Artikel Pos. Art-Nr. Menge Preis Summe {if $details.image.src.1}{else} {/if} {$position+1|fill:4} {$details.ordernumber|fill:20} {$details.quantity|fill:6} {$details.price|padding:8}{$sCurrency} {$details.amount|padding:8} {$sCurrency} {$details.articlename|wordwrap:80|indent:4}

**{/foreach}**

Das Foreach muss nach der Position stehen.

Gruß Heiner

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [2. Januar 2019 um 13:50 UTC](https://forum.shopware.com/t/bestell-e-mail-sorder-zeigt-nur-eine-position/57240/3 "2019-01-02T13:50:09Z")

</div>

Im originalen Shop ist doch die Vorgabe schon enthalten.

PS: Das Forum hat eine Funktion zur Eingabe für Codeschnipsel. Dann können andere das besser lesen.

&nbsp;

---

<div class="post-metadata">

**Author:** ![magnum112](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@magnum112](https://forum.shopware.com/u/magnum112)\
**Post date:** [8. Januar 2019 um 09:05 UTC](https://forum.shopware.com/t/bestell-e-mail-sorder-zeigt-nur-eine-position/57240/4 "2019-01-08T09:05:57Z")

</div>

Vielen Dank, funktioniert durch die super Hilfe wieder! 🙂
