8
0

add translations + add currency

Dieser Commit ist enthalten in:
MaxBUhe 2022-12-20 11:52:25 +01:00
Ursprung 4c08f58777
Commit 6bfe8b90e6
3 geänderte Dateien mit 13 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -24,8 +24,12 @@ input.confinput {position:fixed;top:20px;right:70px;background:#008B2D;padding:1
input.confinput:hover {outline:3px solid #ff3600;}
</style>';
$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 <div>Weitere Infos zu dieser Einstellung: <b><u><a href="https://github.com/vanilla-thunder/oxid-module-gtm/wiki/Promotion-Produktlisten" target="_blank">Modui-Wiki</a></u></b></div>',
'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 <div>Weitere Infos zu dieser Einstellung: <b><u><a href="https://github.com/vanilla-thunder/oxid-module-gtm/wiki/Promotion-Produktlisten" target="_blank">Modui-Wiki</a></u></b></div>',
'SHOP_MODULE_vt_gtm_blEnableDebug' => 'Debug-Modus aktivieren',
];

Datei anzeigen

@ -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"}]

Datei anzeigen

@ -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',