diff --git a/Modules/Application/Controller/BasketController.php b/Modules/Application/Controller/BasketController.php index 0694ad1..bdb5422 100644 --- a/Modules/Application/Controller/BasketController.php +++ b/Modules/Application/Controller/BasketController.php @@ -17,6 +17,8 @@ class BasketController extends BasketController_parent { $return = parent::render(); + $this->addTplParam('d3ActCurrencyObject', Registry::getConfig()->getActShopCurrencyObject()); + $this->d3GA4getRemovedArticlesListObject(); return $return; diff --git a/views/twig/event/view_cart.html.twig b/views/twig/event/view_cart.html.twig index 1ccd01b..85fb4c5 100644 --- a/views/twig/event/view_cart.html.twig +++ b/views/twig/event/view_cart.html.twig @@ -13,7 +13,7 @@ 'ecommerce': { 'actionField': "step: 1", - 'currency': "{{ currency.name }}", + 'currency': "{{ d3ActCurrencyObject.name }}", 'value': {{ d3BasketPrice.getPrice() }}, 'coupon': '{% for key, sVoucher in oxcmp_basket.getVouchers() %}{{ sVoucher.sVoucherNr }}{% if not loop.last %}, {% endif %}{% endfor %}', 'items':