rather using basket_component to get formatted price
This commit is contained in:
parent
4f73f18080
commit
120c765d0c
@ -11,7 +11,7 @@
|
|||||||
'ecommerce': {
|
'ecommerce': {
|
||||||
'actionField': "step: 1",
|
'actionField': "step: 1",
|
||||||
'currency': "[{$currency->name}]",
|
'currency': "[{$currency->name}]",
|
||||||
'value': [{$oxcmp_basket->getBruttoSum()}],
|
'value': [{oxprice price=$oxcmp_basket->getPrice()}],
|
||||||
'items': [
|
'items': [
|
||||||
[{foreach from=$oxcmp_basket->getContents() item=basketitem name=gtmCartContents key=basketindex}]
|
[{foreach from=$oxcmp_basket->getContents() item=basketitem name=gtmCartContents key=basketindex}]
|
||||||
[{assign var='_price' value=$basketitem->getUnitPrice()}]
|
[{assign var='_price' value=$basketitem->getUnitPrice()}]
|
||||||
|
Loading…
Reference in New Issue
Block a user