From 31bafa621bf0bee60262b57ee432086cc2aac44b Mon Sep 17 00:00:00 2001 From: MaxBuhe01 Date: Wed, 11 Sep 2024 17:23:04 +0200 Subject: [PATCH] [Fixed] currency in begin_checkout --- Application/views/event/begin_checkout.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/views/event/begin_checkout.tpl b/Application/views/event/begin_checkout.tpl index 8be3d14..951d0e2 100644 --- a/Application/views/event/begin_checkout.tpl +++ b/Application/views/event/begin_checkout.tpl @@ -3,6 +3,7 @@ [{assign var="d3BasketPrice" value=$oxcmp_basket->getPrice()}] [{assign var="d3BasketObject" value=$oxcmp_basket}] [{assign var='gtmCartArticles' value=$d3BasketObject->getBasketArticles()}] +[{assign var="gtmCurrency" value=$oView->getActCurrency()}] [{block name="d3_ga4_begin_checkout_block"}] [{capture name="d3_ga4_begin_checkout"}] @@ -14,7 +15,7 @@ 'ecommerce': { 'actionField': "Begin", - 'currency': "[{$currency->name}]", + 'currency': "[{$gtmCurrency->name}]", 'value': [{$d3BasketPrice->getPrice()}], 'coupon': '[{foreach from=$oxcmp_basket->getVouchers() item=sVoucher key=key name=Voucher}][{$sVoucher->sVoucherNr}][{if !$smarty.foreach.Voucher.last}], [{/if}][{/foreach}]', 'items':