cleaning + rm unnecessary " } "
This commit is contained in:
parent
9ae1afa326
commit
2b864f41e8
@ -1,3 +1,5 @@
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
[{strip}]
|
||||
<script>
|
||||
dataLayer.push({"event": null, "eventLabel": null, "ecommerce": null}); /* Clear the previous ecommerce object. */
|
||||
@ -13,7 +15,7 @@
|
||||
'value': '[{$_gtmOrder->oxorder__oxtotalordersum->value}]',
|
||||
'tax': '[{math equation="x+y" x=$_gtmOrder->oxorder__oxartvatprice1->value y=$_gtmOrder->oxorder__oxartvatprice2->value }]',
|
||||
'shipping': '[{$_gtmOrder->oxorder__oxdelcost->value}]',
|
||||
'currency': "[{$_gtmOrder->getFieldData('oxcurrency')}]"
|
||||
'currency': '[{$_gtmOrder->getFieldData('oxcurrency')}]',
|
||||
'items':
|
||||
[
|
||||
[{foreach from=$_gtmArticles item="_gtmArticle" name="gtmArticles"}]
|
||||
@ -28,8 +30,6 @@
|
||||
[{/foreach}]
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
[{/strip}]
|
||||
[{$smarty.block.parent}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user