rather using basket_component to get formatted price

This commit is contained in:
MaxBUhe 2023-01-25 14:30:59 +01:00
parent 4f73f18080
commit 120c765d0c
1 changed files with 1 additions and 1 deletions

View File

@ -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()}]