8
0

rather using basket_component to get formatted price

Dieser Commit ist enthalten in:
MaxBUhe 2023-01-25 14:30:59 +01:00
Ursprung 4f73f18080
Commit 120c765d0c

Datei anzeigen

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