-
Notifications
You must be signed in to change notification settings - Fork 3
/
metadata.php
116 lines (113 loc) · 4.58 KB
/
metadata.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
use Makaira\OxidConnectEssential\Controller\Admin as ModuleAdminController;
use Makaira\OxidConnectEssential\Oxid\Core as ModuleOxidCore;
use Makaira\OxidConnectEssential\Core as ModuleCore;
use OxidEsales\Eshop\Core as OxidCore;
use Makaira\OxidConnectEssential\Controller as ModuleController;
use Makaira\OxidConnectEssential\Utils\ModuleSettingsProvider;
use OxidEsales\Eshop\Application\Controller\Admin as OxidAdminController;
$sMetadataVersion = '2.1';
$aModule = [
'id' => 'makaira_oxid-connect-essential',
'title' => 'Makaira Connect Essential',
'description' => 'This module provides required endpoints to import product data into Makaira.',
'thumbnail' => 'admin/makaira.jpg',
'version' => '2.1.3',
'author' => 'Makaira GmbH',
'url' => 'https://www.makaira.io/',
'email' => '[email protected]',
'controllers' => [
"MakairaReviewController" => ModuleController\ReviewController::class,
"MakairaUserController" => ModuleController\UserController::class,
"MakairaCartController" => ModuleController\CartController::class,
"makaira_connect_endpoint" => ModuleController\Endpoint::class,
],
'extend' => [
OxidCore\Output::class => ModuleOxidCore\MakairaConnectOutput::class,
OxidAdminController\ArticleAttributeAjax::class => ModuleAdminController\ArticleAttributeAjax::class,
OxidAdminController\ArticleCrosssellingAjax::class => ModuleAdminController\ArticleCrossSellingAjax::class,
OxidAdminController\ArticleExtendAjax::class => ModuleAdminController\ArticleExtendAjax::class,
OxidAdminController\ArticleSelectionAjax::class => ModuleAdminController\ArticleSelectionAjax::class,
OxidAdminController\AttributeMainAjax::class => ModuleAdminController\AttributeMainAjax::class,
OxidAdminController\CategoryOrderAjax::class => ModuleAdminController\CategoryOrderAjax::class,
OxidAdminController\ManufacturerMainAjax::class => ModuleAdminController\ManufacturerMainAjax::class,
OxidAdminController\SelectListMainAjax::class => ModuleAdminController\SelectListMainAjax::class,
],
'settings' => [
['name' => 'makaira_connect_secret', 'group' => 'SETTINGS', 'type' => 'str'],
['name' => 'makaira_connect_category_inheritance', 'group' => 'SETTINGS', 'type' => 'bool', 'value' => 0],
[
'name' => 'makaira_field_blacklist_product',
'group' => 'IMPORTFIELDSANDATTS',
'type' => 'arr',
'value' => [
'OXAMITEMID',
'OXAMTASKID',
'OXBUNDLEID',
'OXEXTURL',
'OXFOLDER',
'OXNOSTOCKTEXT',
'OXPIC8',
'OXPIC9',
'OXPIC10',
'OXPIC11',
'OXPIC12',
'OXQUESTIONEMAIL',
'OXREMINDACTIVE',
'OXREMINDAMOUNT',
'OXSHOWCUSTOMAGREEMENT',
'OXSKIPDISCOUNTS',
'OXSTOCKTEXT',
'OXSUBCLASS',
'OXTEMPLATE',
'OXUPDATEPRICE',
'OXUPDATEPRICEA',
'OXUPDATEPRICEB',
'OXUPDATEPRICEC',
'OXUPDATEPRICETIME',
'OXURLDESC',
'OXURLIMG',
'OXPIXIEXPORT',
'OXPIXIEXPORTED',
'OXORDERINFO',
'OXVPE',
],
],
[
'name' => 'makaira_field_blacklist_category',
'group' => 'IMPORTFIELDSANDATTS',
'type' => 'arr',
'value' => [
'OXVAT',
'OXSKIPDISCOUNTS',
],
],
[
'name' => 'makaira_field_blacklist_manufacturer',
'group' => 'IMPORTFIELDSANDATTS',
'type' => 'arr',
'value' => [],
],
[
'name' => 'makaira_attribute_as_int',
'group' => 'IMPORTFIELDSANDATTS',
'type' => 'arr',
'value' => [],
],
[
'name' => 'makaira_attribute_as_float',
'group' => 'IMPORTFIELDSANDATTS',
'type' => 'arr',
'value' => [],
],
[
'group' => 'TRACKING_PRIVACY',
'name' => 'makaira_tracking_page_id',
'type' => 'str',
'value' => '',
],
],
'events' => [
'onActivate' => ModuleCore\ModuleEvents::class . '::onActivate',
],
];