From a968b3722ed3ba3113cb46b37396e3fabf8f177d Mon Sep 17 00:00:00 2001 From: Bellord Date: Wed, 11 Nov 2026 14:56:18 +0300 Subject: [PATCH] fix --- .module.json | 6 +++--- default_config.php | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.module.json b/.module.json index aa389ad..c1708f8 100644 --- a/.module.json +++ b/.module.json @@ -2,8 +2,8 @@ "id": "bx.discount", "prefix": "bx_discount", "namespace": "Bx\\Discount", - "gitUrl": "https://gitea.ixrs.ru/Bellord/bx.discount.git", - "version": "1.0.1", - "date": "2026-02-05 00:00:00", + "gitUrl": "https://gitea.ixrs.ru/bellord/bx.discount.git", + "version": "1.0.2", + "date": "2026-11-11 00:00:00", "deps": ["wt.core"] } \ No newline at end of file diff --git a/default_config.php b/default_config.php index 51328a6..c518aa0 100644 --- a/default_config.php +++ b/default_config.php @@ -80,6 +80,9 @@ return [ 'catalog:OnGetDiscountResult' => [ ['Bx\Discount\Handlers\CatalogDiscount', 'onGetDiscountResult'], ], + 'catalog:OnCompleteCatalogImport1C' => [ + ['Bx\Discount\Handlers\SpiderHandler', 'resetSpider'], + ], 'wt.core:OnAppSpiderListEnd' => [ ['Bx\Discount\Handlers\SpiderHandler', 'clearCache'], ],