From 5a2a7ebf20b74a7afa9451092a613b6662f612fc Mon Sep 17 00:00:00 2001 From: Touxten <156076965+Touxten@users.noreply.github.com> Date: Mon, 25 Nov 2024 19:58:00 +0100 Subject: [PATCH] Update add_hook.md --- contribute/contribute-pull-requests/add_hook.md | 1 + 1 file changed, 1 insertion(+) diff --git a/contribute/contribute-pull-requests/add_hook.md b/contribute/contribute-pull-requests/add_hook.md index 4bc7472954..4d4b41d1d6 100644 --- a/contribute/contribute-pull-requests/add_hook.md +++ b/contribute/contribute-pull-requests/add_hook.md @@ -19,4 +19,5 @@ The second step is correctly adding the `Hook` during installation. You need to The last step is to make this new hook available for users upgrading from older versions of PrestaShop. You need to add it to the current version of the SQL script of the Autoupgrade module, as can be seen in this [PR](https://github.com/PrestaShop/autoupgrade/pull/672/files). If you are unsure which file to put the code inside the [autoupgrade module](https://github.com/PrestaShop/autoupgrade). + You can also use a [helper](https://github.com/PrestaShop/autoupgrade/pull/577/files) available to add a new hook during the upgrade process for a given version.