add currency to the params

This commit is contained in:
MaxBUhe 2022-12-21 11:12:35 +01:00
parent a1dc0a6a58
commit 5ba613df30

View File

@ -14,8 +14,8 @@
'affiliation':'[{$oxcmp_shop->oxshops__oxname->value}]', 'affiliation':'[{$oxcmp_shop->oxshops__oxname->value}]',
'revenue':'[{$_gtmOrder->oxorder__oxtotalordersum->value}]', 'revenue':'[{$_gtmOrder->oxorder__oxtotalordersum->value}]',
'tax':'[{math equation="x+y" x=$_gtmOrder->oxorder__oxartvatprice1->value y=$_gtmOrder->oxorder__oxartvatprice2->value }]', 'tax':'[{math equation="x+y" x=$_gtmOrder->oxorder__oxartvatprice1->value y=$_gtmOrder->oxorder__oxartvatprice2->value }]',
'shipping':'[{$_gtmOrder->oxorder__oxdelcost->value}]' 'shipping':'[{$_gtmOrder->oxorder__oxdelcost->value}]',
/*'coupon':'CANO25' //if a coupon code was used for this order*/ 'currency': "[{$_gtmOrder->getFieldData('oxcurrency')}]"
}, },
'products':[ 'products':[
[{foreach from=$_gtmArticles item="_gtmArticle" name="gtmArticles"}] [{foreach from=$_gtmArticles item="_gtmArticle" name="gtmArticles"}]