fix unnecessary convert of int to str
This commit is contained in:
parent
a0c650fca3
commit
d531ba648b
@ -12,9 +12,9 @@
|
|||||||
'ecommerce': {
|
'ecommerce': {
|
||||||
'transaction_id': '[{$_gtmOrder->getFieldData("oxordernr")}]',
|
'transaction_id': '[{$_gtmOrder->getFieldData("oxordernr")}]',
|
||||||
'affiliation': '[{$oxcmp_shop->getFieldData("oxname")}]',
|
'affiliation': '[{$oxcmp_shop->getFieldData("oxname")}]',
|
||||||
'value': '[{$_gtmOrder->getTotalOrderSum()}]',
|
'value': [{$_gtmOrder->getTotalOrderSum()}],
|
||||||
'tax': '[{math equation="x+y" x=$_gtmOrder->getFieldData("oxartvatprice1") y=$_gtmOrder->getFieldData("oxartvatprice2") }]',
|
'tax': [{math equation="x+y" x=$_gtmOrder->getFieldData("oxartvatprice1") y=$_gtmOrder->getFieldData("oxartvatprice2") }],
|
||||||
'shipping': '[{$_gtmOrder->getFieldData("oxdelcost")}]',
|
'shipping': [{$_gtmOrder->getFieldData("oxdelcost")}],
|
||||||
'currency': '[{$_gtmOrder->getFieldData('oxcurrency')}]',
|
'currency': '[{$_gtmOrder->getFieldData('oxcurrency')}]',
|
||||||
'items':
|
'items':
|
||||||
[
|
[
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
{
|
{
|
||||||
'item_id': '[{$gtmProduct->getFieldData('oxartnum')}]',
|
'item_id': '[{$gtmProduct->getFieldData('oxartnum')}]',
|
||||||
'item_name': '[{$gtmProduct->getFieldData('oxtitle')}]',
|
'item_name': '[{$gtmProduct->getFieldData('oxtitle')}]',
|
||||||
'price': '[{$d3PriceObject->getPrice()}]',
|
'price': [{$d3PriceObject->getPrice()}],
|
||||||
'item_brand': '[{if $gtmManufacturer}][{$gtmManufacturer->oxmanufacturers__oxtitle->value}][{/if}]',
|
'item_brand': '[{if $gtmManufacturer}][{$gtmManufacturer->oxmanufacturers__oxtitle->value}][{/if}]',
|
||||||
'item_variant': '[{if $gtmProduct->getFieldData('oxvarselect')}][{$gtmProduct->getFieldData('oxvarselect')}][{/if}]',
|
'item_variant': '[{if $gtmProduct->getFieldData('oxvarselect')}][{$gtmProduct->getFieldData('oxvarselect')}][{/if}]',
|
||||||
'item_category': itemCategories[0] || 'no category',
|
'item_category': itemCategories[0] || 'no category',
|
||||||
|
Loading…
Reference in New Issue
Block a user