Skip to content

Commit

Permalink
Feat: add hook actionValidateOrderBefore
Browse files Browse the repository at this point in the history
  • Loading branch information
bibips committed Oct 29, 2024
1 parent 085e4f7 commit b06862f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upgrade/sql/9.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ INSERT INTO `PREFIX_hook` (`id_hook`, `name`, `title`, `description`, `position`
(NULL, 'actionPresentSupplier', 'Supplier Presenter', 'This hook is called before a supplier is presented', '1'),
(NULL, 'actionPresentManufacturer', 'Manufacturer Presenter', 'This hook is called before a manufacturer is presented', '1'),
(NULL, 'actionValidateCartRule', 'Alter cart rule validation process', 'Allow modules to implement their own rules to validate a cart rule.', '1'),
(NULL, 'actionCartGetPackageShippingCost', 'After getting package shipping cost value', 'This hook is called in order to allow to modify package shipping cost', '1')
(NULL, 'actionCartGetPackageShippingCost', 'After getting package shipping cost value', 'This hook is called in order to allow to modify package shipping cost', '1'),
(NULL, 'actionValidateOrderBefore', 'Before validating an order', 'This hook is called before validating an order by core', '1')
ON DUPLICATE KEY UPDATE `title` = VALUES(`title`), `description` = VALUES(`description`);

/* Add feature flag types */
Expand Down

0 comments on commit b06862f

Please sign in to comment.