27 lines
710 B
PHP
27 lines
710 B
PHP
<?php
|
|
/**
|
|
* SOTESHOP/stGroupPricePlugin
|
|
*
|
|
*
|
|
* @package stGroupPricePlugin
|
|
* @author Bartosz Alejski <bartosz.alejski@sote.pl>
|
|
*/
|
|
|
|
/**
|
|
* Włączanie modułów
|
|
*/
|
|
stPluginHelper::addEnableModule('stGroupPriceBackend', 'backend');
|
|
|
|
/**
|
|
* Routingi
|
|
*/
|
|
if (SF_APP == 'backend')
|
|
{
|
|
stPluginHelper::addRouting('stGroupPricePlugin', '/group-price/:action/*', 'stGroupPriceBackend', 'list', 'backend');
|
|
|
|
$dispatcher->connect('stAdminGenerator.generateStProduct', array('stGroupPricePluginListener', 'generateStProduct'));
|
|
|
|
stSocketView::addComponent('stGroupPriceBackend.configCustom.Content','stGroupPriceBackend','configContent');
|
|
|
|
stLicenseTypeHelper::addCommercialModule('stGroupPricePlugin');
|
|
} |