From f2220c40c34fd7932ede22f43aa5ca29000b1219 Mon Sep 17 00:00:00 2001 From: Carotte <65663837+web-cooking-factory@users.noreply.github.com> Date: Fri, 31 Jan 2025 10:07:41 +0100 Subject: [PATCH] Add actionPresentObject hook --- upgrade/sql/9.0.0.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upgrade/sql/9.0.0.sql b/upgrade/sql/9.0.0.sql index 53555752e..09def575c 100644 --- a/upgrade/sql/9.0.0.sql +++ b/upgrade/sql/9.0.0.sql @@ -290,7 +290,8 @@ INSERT INTO `PREFIX_hook` (`id_hook`, `name`, `title`, `description`, `position` (NULL, 'actionCustomerViewedProductGridPresenterModifier', 'Modify customer viewed product grid template data', 'This hook allows to modify data which is about to be used in template for customer viewed product grid', '1'), (NULL, 'actionCustomerGroupsGridPresenterModifier', 'Modify customer groups grid template data', 'This hook allows to modify data which is about to be used in template for customer groups grid', '1'), (NULL, 'actionValidateOrderBefore', 'Before validating an order', 'This hook is called before validating an order by core', '1'), - (NULL, 'actionPDFInvoiceRender', 'PDF Invoice Render', 'This hook is called when a PDF invoice is rendered from the Front Office and the Back Office', '1') + (NULL, 'actionPDFInvoiceRender', 'PDF Invoice Render', 'This hook is called when a PDF invoice is rendered from the Front Office and the Back Office', '1'), + (NULL, 'actionPresentObject', 'Object Presenter', 'This hook is called before an object is presented', '1') ON DUPLICATE KEY UPDATE `title` = VALUES(`title`), `description` = VALUES(`description`); /* Auto generated hooks removed for version 9.0.0 */