# Bestellbestätigung falsche Preise

**URL:** <https://forum.shopware.com/t/bestellbestatigung-falsche-preise/45427>\
**Category:** Allgemein\
**Created:** [25. April 2017 um 17:24 UTC](https://forum.shopware.com/t/bestellbestatigung-falsche-preise/45427 "2017-04-25T17:24:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sporteck](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@sporteck](https://forum.shopware.com/u/sporteck)\
**Post date:** [25. April 2017 um 17:24 UTC](https://forum.shopware.com/t/bestellbestatigung-falsche-preise/45427/1 "2017-04-25T17:24:31Z")

</div>

Hallo zusammen,

uns ist gerade aufgefallen, dass die Preise in der automatisierten Bestellbestätigung falsche Kommastellen aufweisen. Ein Preis von 39,99 wird in der E-mail bei uns als 39,00 angegeben. Wisst ihr woran das liegen könnte?

Folgende Einstellungen sind in der E-mailvorlage hinterlegt:

```
{if $details.image.src.0 && $details.modus != 2}{else} {/if}
{$position+1|fill:4} 
{$details.ordernumber|fill:20}
{$details.quantity|fill:6}
{$details.price|padding:8|string_format:"%.2f"|replace:".":","} {$sCurrency}
{$details.amount|padding:8|string_format:"%.2f"|replace:".":","} {$sCurrency}

```

Danke für eure Unterstützung.

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [25. April 2017 um 17:27 UTC](https://forum.shopware.com/t/bestellbestatigung-falsche-preise/45427/2 "2017-04-25T17:27:49Z")

</div>

Hi,

die Formatierungen sind auf jeden Fall anders als in der Vorlage&nbsp;

> **[Shopware Dokumentation](https://docs.shopware.com/de)**

Das würde ich erstmal anpassen

Sebastian

---

<div class="post-metadata">

**Author:** ![sporteck](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@sporteck](https://forum.shopware.com/u/sporteck)\
**Post date:** [25. April 2017 um 17:33 UTC](https://forum.shopware.com/t/bestellbestatigung-falsche-preise/45427/3 "2017-04-25T17:33:20Z")

</div>

Hi Sebastian,

hmmmmmmm&nbsp; ![Blush](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/2f2885a69a3ab7fc5454d32cd96e7133e5bcd558.png "Blush")&nbsp;- wenn man mal wieder zu dumm für die einfache Lösung ist.

Lag anscheinend an dem string\_format. Weiß nicht warum, aber es funktioniert zumindest jetzt.

Danke für deine schnelle Hilfe und sorry für die “sinnlose” Frage, aber manchmal sitzt man einfach davor und sieht nichts mehr.

Viele Grüße

Florian
