fix
This commit is contained in:
+21
-7
@@ -19,37 +19,51 @@ return [
|
|||||||
|
|
||||||
|
|
||||||
'events' => [
|
'events' => [
|
||||||
'main:OnBeforeProlog' => ['Bx\\Discount\\Handlers\\SaleDiscountEditPage', 'onPageStartHandler'],
|
'main:OnBeforeProlog' => [
|
||||||
|
['Bx\\Discount\\Handlers\\SaleDiscountEditPage', 'onPageStartHandler'],
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
'sale:DiscountOnBeforeAdd' => ['Bx\Discount\Handlers\SaleDiscount', 'onBeforeAdd'],
|
'sale:DiscountOnBeforeAdd' => [
|
||||||
|
['Bx\Discount\Handlers\SaleDiscount', 'onBeforeAdd'],
|
||||||
|
],
|
||||||
'sale:DiscountOnAfterAdd' => [
|
'sale:DiscountOnAfterAdd' => [
|
||||||
['Bx\Discount\Handlers\SaleDiscount', 'onAfterAdd'],
|
['Bx\Discount\Handlers\SaleDiscount', 'onAfterAdd'],
|
||||||
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterAdd'],
|
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterAdd'],
|
||||||
],
|
],
|
||||||
'sale:DiscountOnBeforeUpdate' => ['Bx\Discount\Handlers\SaleDiscount', 'onBeforeUpdate'],
|
'sale:DiscountOnBeforeUpdate' => [
|
||||||
|
['Bx\Discount\Handlers\SaleDiscount', 'onBeforeUpdate'],
|
||||||
|
],
|
||||||
'sale:DiscountOnAfterUpdate' => [
|
'sale:DiscountOnAfterUpdate' => [
|
||||||
['Bx\Discount\Handlers\SaleDiscount', 'onAfterUpdate'],
|
['Bx\Discount\Handlers\SaleDiscount', 'onAfterUpdate'],
|
||||||
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterUpdate'],
|
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterUpdate'],
|
||||||
],
|
],
|
||||||
'sale:DiscountOnBeforeDelete' => ['Bx\Discount\Handlers\SaleDiscount', 'onBeforeDelete'],
|
'sale:DiscountOnBeforeDelete' => [
|
||||||
|
['Bx\Discount\Handlers\SaleDiscount', 'onBeforeDelete'],
|
||||||
|
],
|
||||||
'sale:DiscountOnAfterDelete' => [
|
'sale:DiscountOnAfterDelete' => [
|
||||||
['Bx\Discount\Handlers\SaleDiscount', 'onAfterDelete'],
|
['Bx\Discount\Handlers\SaleDiscount', 'onAfterDelete'],
|
||||||
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterDelete'],
|
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterDelete'],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
'catalog:OnBeforeDiscountAdd' => ['Bx\Discount\Handlers\CatalogDiscount', 'onBeforeAdd'],
|
'catalog:OnBeforeDiscountAdd' => [
|
||||||
|
['Bx\Discount\Handlers\CatalogDiscount', 'onBeforeAdd'],
|
||||||
|
],
|
||||||
'catalog:OnDiscountAdd' => [
|
'catalog:OnDiscountAdd' => [
|
||||||
['Bx\Discount\Handlers\CatalogDiscount', 'onAfterAdd'],
|
['Bx\Discount\Handlers\CatalogDiscount', 'onAfterAdd'],
|
||||||
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterAdd'],
|
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterAdd'],
|
||||||
],
|
],
|
||||||
'catalog:OnBeforeDiscountUpdate' => ['Bx\Discount\Handlers\CatalogDiscount', 'onBeforeUpdate'],
|
'catalog:OnBeforeDiscountUpdate' => [
|
||||||
|
['Bx\Discount\Handlers\CatalogDiscount', 'onBeforeUpdate'],
|
||||||
|
],
|
||||||
'catalog:OnDiscountUpdate' => [
|
'catalog:OnDiscountUpdate' => [
|
||||||
['Bx\Discount\Handlers\CatalogDiscount', 'onAfterUpdate'],
|
['Bx\Discount\Handlers\CatalogDiscount', 'onAfterUpdate'],
|
||||||
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterUpdate'],
|
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterUpdate'],
|
||||||
],
|
],
|
||||||
'catalog:OnBeforeDiscountDelete' => ['Bx\Discount\Handlers\CatalogDiscount', 'onBeforeDelete'],
|
'catalog:OnBeforeDiscountDelete' => [
|
||||||
|
['Bx\Discount\Handlers\CatalogDiscount', 'onBeforeDelete'],
|
||||||
|
],
|
||||||
'catalog:OnDiscountDelete' => [
|
'catalog:OnDiscountDelete' => [
|
||||||
['Bx\Discount\Handlers\CatalogDiscount', 'onAfterDelete'],
|
['Bx\Discount\Handlers\CatalogDiscount', 'onAfterDelete'],
|
||||||
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterDelete'],
|
['Bx\Discount\Handlers\SpiderHandler', 'saleDiscountOnAfterDelete'],
|
||||||
|
|||||||
Reference in New Issue
Block a user