diff --git a/Application/views/admin/de/module_options.php b/Application/views/admin/de/module_options.php index dffc84e..fcee85c 100755 --- a/Application/views/admin/de/module_options.php +++ b/Application/views/admin/de/module_options.php @@ -24,8 +24,12 @@ input.confinput {position:fixed;top:20px;right:70px;background:#008B2D;padding:1 input.confinput:hover {outline:3px solid #ff3600;} '; $aLang = [ - 'charset' => 'UTF-8', - 'SHOP_MODULE_GROUP_vt_gtm_settings' => $style . 'Einstellungen', + 'charset' => 'UTF-8', 'SHOP_MODULE_vt_gtm_sContainerID' => 'Container ID', - 'SHOP_MODULE_vt_gtm_promotionlistids' => 'Promotion Produktlisten IDs
Weitere Infos zu dieser Einstellung: Modui-Wiki
', + 'SHOP_MODULE_GROUP_vt_gtm_settings' => 'Einstellungen', + 'SHOP_MODULE_vt_gtm_blGA4enab' => 'GA4 Aktivieren', + 'SHOP_MODULE_vt_gtm_blUAenabled' => 'UA Aktivieren', + 'SHOP_MODULE_vt_gtm_sMpapisecret' => 'Map ist Geheim??', + 'SHOP_MODULE_vt_gtm_aPromotionlistIDs' => 'Promotion Produktlisten IDs
Weitere Infos zu dieser Einstellung: Modui-Wiki
', + 'SHOP_MODULE_vt_gtm_blEnableDebug' => 'Debug-Modus aktivieren', ]; diff --git a/Application/views/blocks/checkout_s5.tpl b/Application/views/blocks/checkout_s5.tpl index 3129ac6..87c1e19 100644 --- a/Application/views/blocks/checkout_s5.tpl +++ b/Application/views/blocks/checkout_s5.tpl @@ -14,8 +14,8 @@ 'affiliation':'[{$oxcmp_shop->oxshops__oxname->value}]', 'revenue':'[{$_gtmOrder->oxorder__oxtotalordersum->value}]', 'tax':'[{math equation="x+y" x=$_gtmOrder->oxorder__oxartvatprice1->value y=$_gtmOrder->oxorder__oxartvatprice2->value }]', - 'shipping':'[{$_gtmOrder->oxorder__oxdelcost->value}]' - /*'coupon':'CANO25' //if a coupon code was used for this order*/ + 'shipping':'[{$_gtmOrder->oxorder__oxdelcost->value}]', + 'currency': "[{$_gtmOrder->getFieldData('oxcurrency')}]" }, 'products':[ [{foreach from=$_gtmArticles item="_gtmArticle" name="gtmArticles"}] diff --git a/metadata.php b/metadata.php index 8dee4b4..dbb9814 100755 --- a/metadata.php +++ b/metadata.php @@ -129,7 +129,7 @@ $aModule = [ ], [ 'group' => 'vt_gtm_settings', - 'name' => 'vt_gtm_blGA4enabled', + 'name' => 'vt_gtm_blGA4enab', 'type' => 'bool', 'value' => true, 'position' => 1 @@ -141,13 +141,14 @@ $aModule = [ 'value' => true, 'position' => 2 ], - [ + /*[ + I have no idea what this is 'group' => 'vt_gtm_settings', 'name' => 'vt_gtm_sMpapisecret', 'type' => 'str', 'value' => '', 'position' => 3 - ], + ],*/ [ 'group' => 'vt_gtm_settings', 'name' => 'vt_gtm_aPromotionlistIDs',