Skip to content

Commit

Permalink
Merge pull request #981 from bibips/actionValidateOrderBefore
Browse files Browse the repository at this point in the history
Feat: add hook actionValidateOrderBefore
  • Loading branch information
Quetzacoalt91 authored Oct 30, 2024
2 parents e1665c9 + b06862f commit 300248d
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 300248d

Please sign in to comment.