Quantcast
Channel: Programmierung - Shopware Community Forum
Viewing all articles
Browse latest Browse all 2871

Action im Template abfragen

$
0
0

Ich möchte gerne im Template abfragen ob eine bestimmte action ausgeführt wird. Für Controller ist dies ja einfach : 

{if $Controller eq "listing"}Listing{/if}

Kann ich allerdings die Action abfragen. Nötig wäre dies für den Controller checkout und die Action finish.

 Damit soll ausgewählt werden ob es sich um ein purchase handelt um in Nachgang der ecomm_purchase Tag als Datalayer übergeben wird.

{if $Action eq "finish"}Listing{/if} funktioniert leider nicht.

Viewing all articles
Browse latest Browse all 2871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>