-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.php
38 lines (36 loc) · 1.32 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
<?php
/**
* Metadata version
*/
$sMetadataVersion = '2.1';
/**
* Module information
*/
$aModule = [
'id' => 'articlelimitperorder',
'title' => [
'de' => 'PaBlo - Maximale Artikelbestellmenge pro Bestellung',
'en' => 'PaBlo - maximum amount of single article per order',
],
'description' => [
'de' => 'Das Modul erweitert Artikeldaten um eine maximale Bestellmenge, diese kann pro Bestellung nicht überschirtten werden.',
'en' => 'This module extends the article structure with the maximum order amount of a single article. This amount can not be exceeded per order',
],
'version' => '1.0.0',
'author' => 'Patrick Blom',
'url' => 'https://www.patrick-blom.de/',
'email' => '[email protected]',
'extend' => [
\OxidEsales\Eshop\Application\Component\BasketComponent::class => \PaBlo\ArticleLimitPerOrder\Infrastructure\Application\Component\BasketComponent::class
],
'blocks' => [
[
'template' => 'article_stock.tpl',
'block' => 'admin_article_stock_form',
'file' => 'Infrastructure/Application/views/admin/blocks/article_stock__admin_article_stock_form.tpl'
]
],
'events' => [
'onActivate' => '\PaBlo\ArticleLimitPerOrder\Infrastructure\Core\ArticleLimitPerOrder::onActivate',
]
];