add translations + add currency

Cette révision appartient à :
MaxBUhe 2022-12-20 11:52:25 +01:00
Parent 4c08f58777
révision 6bfe8b90e6
3 fichiers modifiés avec 13 ajouts et 8 suppressions

Voir le fichier

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

Voir le fichier

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

Voir le fichier

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