From 120c765d0cc0147d65ce8af680bae7561939d074 Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Wed, 25 Jan 2023 14:30:59 +0100 Subject: [PATCH] rather using basket_component to get formatted price --- Application/views/blocks/checkout_s1.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/views/blocks/checkout_s1.tpl b/Application/views/blocks/checkout_s1.tpl index 12cab6b..79bfee6 100644 --- a/Application/views/blocks/checkout_s1.tpl +++ b/Application/views/blocks/checkout_s1.tpl @@ -11,7 +11,7 @@ 'ecommerce': { 'actionField': "step: 1", 'currency': "[{$currency->name}]", - 'value': [{$oxcmp_basket->getBruttoSum()}], + 'value': [{oxprice price=$oxcmp_basket->getPrice()}], 'items': [ [{foreach from=$oxcmp_basket->getContents() item=basketitem name=gtmCartContents key=basketindex}] [{assign var='_price' value=$basketitem->getUnitPrice()}]