# Text in Mail abhängig von Bestellzeitpunkt

**URL:** <https://forum.shopware.com/t/text-in-mail-abhangig-von-bestellzeitpunkt/70548>\
**Category:** Programmierung\
**Created:** [30. Oktober 2020 um 10:56 UTC](https://forum.shopware.com/t/text-in-mail-abhangig-von-bestellzeitpunkt/70548 "2020-10-30T10:56:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drachenhort](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@Drachenhort](https://forum.shopware.com/u/Drachenhort)\
**Post date:** [30. Oktober 2020 um 10:56 UTC](https://forum.shopware.com/t/text-in-mail-abhangig-von-bestellzeitpunkt/70548/1 "2020-10-30T10:56:24Z")

</div>

Hallo miteinander,

weiss jemand ob folgendes in den E-Mail Templates von Shopware möglich ist?

_If “Datum der Bestellung” \>7Tage zu Heute dann Beliebiger Text_

Es müsste also ein vergleich des heutigen Datums zur Variable {$sOrder.ordertime|date\_format:" %d.%m.%Y"} stattfinden.

Geht das?

Liebe Grüsse

Sijandi
