-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.php
42 lines (41 loc) · 1.56 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
<?php
$sMetadataVersion = '2.0';
$aModule = [
'id' => \IvobaOxid\OrderEmailAttach\Module::MODULE_ID,
'title' => '<strong>Ivo Bathke</strong>: <i>Order email attachments</i>',
'description' => [
'de' => 'Email Anhänge für die Bestell-Email',
'en' => 'Add attachments to the order email',
],
'thumbnail' => 'ivoba-oxid.png',
'version' => '2.0',
'author' => 'Ivo Bathke',
'email' => '[email protected]',
'url' => 'https://oxid.ivo-bathke.name#orderemailattach',
'extend' => [
\OxidEsales\Eshop\Application\Model\Order::class => \IvobaOxid\OrderEmailAttach\Model\Order::class,
\OxidEsales\Eshop\Core\Email::class => \IvobaOxid\OrderEmailAttach\Core\Email::class,
],
'blocks' => [],
'settings' => [
// todo make languages dynamic
[
'group' => 'ivoba_orderemailattach_main',
'name' => 'ivoba_orderemailattach_attachments_de',
'type' => 'str',
'value' => 'agb.pdf, widerrufsbelehrung.pdf',
],
[
'group' => 'ivoba_orderemailattach_main',
'name' => 'ivoba_orderemailattach_attachments_en',
'type' => 'str',
'value' => 'agb.pdf, widerrufsbelehrung.pdf',
],
[
'group' => 'ivoba_orderemailattach_main',
'name' => 'ivoba_orderemailattach_add_to_ownermail',
'type' => 'bool',
'value' => true,
],
],
];