Skip to content

Commit 23d4e79

Browse files
Merge pull request #1644 from Codencode/new-hook-actionAttributeCombinationDefaultSave
Added new hook: actionUpdateDefaultCombinationAfter
2 parents 0e884a9 + 4582fa4 commit 23d4e79

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

upgrade/sql/9.1.0.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ INSERT INTO `PREFIX_hook` (`id_hook`, `name`, `title`, `description`, `position`
6969
(NULL, 'actionDiscountGridQueryBuilderModifier', 'Modify discount grid query builder', 'This hook allows to alter Doctrine query builder for discount grid', '1'),
7070
(NULL, 'actionDiscountGridDataModifier', 'Modify discount grid data', 'This hook allows to modify discount grid data', '1'),
7171
(NULL, 'actionDiscountGridFilterFormModifier', 'Modify discount grid filters', 'This hook allows to modify filters for discount grid', '1'),
72-
(NULL, 'actionDiscountGridPresenterModifier', 'Modify discount grid template data', 'This hook allows to modify data which is about to be used in template for discount grid', '1')
72+
(NULL, 'actionDiscountGridPresenterModifier', 'Modify discount grid template data', 'This hook allows to modify data which is about to be used in template for discount grid', '1'),
73+
-- https://github.com/PrestaShop/PrestaShop/pull/40720
74+
(NULL, 'actionUpdateDefaultCombinationAfter', 'After default combination update', 'Allows modules to react after the default combination of a product has been updated. This hook is triggered once the default combination has been successfully changed.', '1')
7375
ON DUPLICATE KEY UPDATE `title` = VALUES(`title`), `description` = VALUES(`description`);
7476

7577
/* Discount types for compatibility */

0 commit comments

Comments
 (0)