# gelöst "If" Abfrage: bin ich auf shop.de/checkout/confirm?

**URL:** <https://forum.shopware.com/t/gelost-if-abfrage-bin-ich-auf-shop-de-checkout-confirm/45261>\
**Category:** Themes & Design\
**Created:** [16. April 2017 um 11:28 UTC](https://forum.shopware.com/t/gelost-if-abfrage-bin-ich-auf-shop-de-checkout-confirm/45261 "2017-04-16T11:28:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![onlinesolutions](https://avatars.discourse-cdn.com/v4/letter/o/c89c15/32.png) [@onlinesolutions](https://forum.shopware.com/u/onlinesolutions)\
**Post date:** [16. April 2017 um 11:28 UTC](https://forum.shopware.com/t/gelost-if-abfrage-bin-ich-auf-shop-de-checkout-confirm/45261/1 "2017-04-16T11:28:53Z")

</div>

Wir möchten eine If Abfrage bauen, die feststellt, ob ich aktuell auf der Seite checkout/confirm bin. Mit

{if $Controller == “checkout”} kann ich zwar abfragen, ob ich mich auf den Checkout Seiten befinde, aber ich muss wissen, ob wir uns auf der confirm Seite befinde. 😉

---

<div class="post-metadata">

**Author:** ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)\
**Post date:** [16. April 2017 um 11:44 UTC](https://forum.shopware.com/t/gelost-if-abfrage-bin-ich-auf-shop-de-checkout-confirm/45261/2 "2017-04-16T11:44:06Z")

</div>

Hi onlinesolutions,

das würde mit&nbsp;

```
{if {controllerName|lower} eq "checkout" && {controllerAction|lower} eq "confirm"} ... {/if}

```

funktionieren.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![onlinesolutions](https://avatars.discourse-cdn.com/v4/letter/o/c89c15/32.png) [@onlinesolutions](https://forum.shopware.com/u/onlinesolutions)\
**Post date:** [25. Mai 2017 um 14:29 UTC](https://forum.shopware.com/t/gelost-if-abfrage-bin-ich-auf-shop-de-checkout-confirm/45261/3 "2017-05-25T14:29:42Z")

</div>

Jetzt erst gesehen. Das ist die Lösung!
