Les hooks PrestaShop : personnalisation sans code source
L'essentiel à retenir : Les hooks PrestaShop permettent d'ajouter ou modifier des fonctionnalités sans toucher au code source, garantissant modularité et stabilité. Les **hooks "display" insèrent du contenu visible** (ex: blocs de réassurance), tandis que les "action" exécutent des traitements en arrière-plan (ex: synchronisation ERP via actionValidateOrder). Cette distinction clé assure une évolutivité sans compromettre les mises à jour.
Vous luttez pour personnaliser votre boutique PrestaShop sans compromettre ses mises à jour ou sa stabilité ? Les prestashop hooks sont la réponse technique clé pour intégrer des modules ou thèmes sans toucher au code source. Découvrez comment ces « points d’ancrage », comme `displayHeader` pour injecter des scripts ou `actionValidateOrder` pour synchroniser des données, permettent d’ajouter des fonctionnalités précises, d’automatiser des processus métier ou d’optimiser l’expérience utilisateur. Explorez leur rôle central dans l’architecture modulaire de PrestaShop, avec des exemples concrets testés sur les versions 8 et 9, incluant les nouvelles syntaxes Twig et Symfony pour une intégration fluide et future-proof.
- Les hooks PrestaShop : le pilier de la personnalisation de votre boutique
- Les deux grandes familles de hooks : display vs action
- Comment les modules PrestaShop s'intègrent grâce aux hooks ?
- Trouver et déclencher des hooks dans l'écosystème PrestaShop 8 et 9
- Aller plus loin : créer et utiliser un hook personnalisé
- Les hooks, la clé d'un écosystème PrestaShop performant et maîtrisé
Les hooks PrestaShop : le pilier de la personnalisation de votre boutique
En e-commerce, chaque boutique a des besoins uniques. Personnaliser sa plateforme sans altérer le code source est essentiel pour garantir stabilité et pérennité des mises à jour.
PrestaShop propose une architecture modulaire. Les développeurs utilisent des hooks pour étendre les fonctionnalités sans toucher au cœur du CMS. Cela simplifie la maintenance et évite les conflits lors des mises à jour. Par exemple, un module de paiement tiers peut s’intégrer sans risquer de corrompre les fichiers natifs.
Les hooks PrestaShop agissent comme des « prises électriques » stratégiques dans le code. Les modules s’y branchent pour ajouter du contenu ou déclencher des actions. Exemple : un module de newsletter peut s’ancrer à displayFooter pour insérer un bloc d’abonnement, tandis qu’un outil de suivi de commande exploite actionOrderStatusPostUpdate pour notifier le client en temps réel.
Ils se divisent en trois types : les hooks d’affichage (ex : displayHome), les hooks d’action (ex : actionCustomerAccountAdd), et les hooks de filtre qui modifient des données avant leur affichage. Ces derniers sont utiles pour adapter un prix ou un message selon le profil de l’utilisateur. Cette modularité permet d’ajuster la boutique sans altérer le cœur du CMS.
Pour les utiliser, un module enregistre le hook via registerHook() et implémente une méthode hookNomHook(). Plusieurs modules peuvent répondre au même hook sans conflit. Par exemple, un outil de statistiques et un système de fidélisation peuvent tous deux écouter actionOrderStatusPostUpdate pour réagir au changement d’état d’une commande.
Explorez l’écosystème riche en modules PrestaShop pour des exemples concrets. Les hooks sont la clé d’une personnalisation évolutive. Maîtrisez-les pour une boutique sur mesure, prête à s’adapter à vos ambitions avec flexibilité. En combinant bonnes pratiques et créativité, votre boutique devient un outil véritablement stratégique.
Les deux grandes familles de hooks : display vs action
Les hooks PrestaShop se divisent en deux catégories, chacune conçue pour répondre à des besoins techniques précis. Comprendre leur fonctionnement est essentiel pour personnaliser une boutique sans altérer son cœur de fonctionnement, assurant stabilité et évolutivité.
Les hooks "display" pour l'affichage de contenu
Préfixés par "display", ces hooks insèrent du contenu visible dans les pages front-office ou back-office. Leur architecture permet à plusieurs modules de s’y greffer simultanément, leurs sorties HTML étant concaténées pour former un bloc cohérent.
- displayHeader : Intégrez des outils de suivi comme Google Analytics pour mesurer le trafic, ou des balises SEO personnalisées.
- displayProductAdditionalInfo : Ajoutez un guide des tailles, un comparateur de produits ou un bandeau de livraison rapide pour améliorer la conversion.
- displayAdminOrder : Affichez des alertes logistiques ou des récapitulatifs de stocks associés à chaque commande.
Les modules associés doivent générer du code HTML. Pour les données structurées (tableaux, objets), un passage par référence dans les paramètres est nécessaire.
Les hooks "action" pour l'exécution de traitements
Préfixés par "action", ces hooks déclenchent des actions invisibles mais stratégiques lors d’événements clés. Leur puissance réside dans leur capacité à modifier des données ou interagir avec des systèmes externes, sans impact visuel.
- actionValidateOrder : Envoyez automatiquement les données clients à un CRM ou activez un système de points de fidélité.
- actionCustomerAccountAdd : Créez des profils clients professionnels en assignant un groupe spécifique, ou envoyez un email de bienvenue avec des offres personnalisées.
- actionProductUpdate : Synchronisez instantanément vos stocks avec un ERP ou un marketplace comme Amazon, assurant une cohérence multi-canal.
Ils reçoivent des objets complets (commande, client, produit) pour une manipulation précise, mais ne renvoient généralement aucun affichage.
| Nom du hook | Titre | Description |
|---|---|---|
actionAddressGridDataModifier | Modify address grid data | This hook allows to modify address grid data |
actionAddressGridDefinitionModifier | Modify address grid definition | This hook allows to alter address grid columns, actions and filters |
actionAddressGridFilterFormModifier | Modify address grid filters | This hook allows to modify filters for address grid |
actionAddressGridPresenterModifier | Modify address grid template data | This hook allows to modify data which is about to be used in template for address grid |
actionAddressGridQueryBuilderModifier | Modify address grid query builder | This hook allows to alter Doctrine query builder for address grid |
actionAdminAdministrationControllerPostProcessBefore | On post-process in Admin Configure Advanced Parameters Administration Controller | This hook is called on Admin Configure Advanced Parameters Administration post-process before processing any form |
actionAdminAdministrationControllerPostProcessGeneralBefore | On post-process in Admin Configure Advanced Parameters Administration Controller | This hook is called on Admin Configure Advanced Parameters Administration post-process before processing the General form |
actionAdminAdministrationControllerPostProcessNotificationsBefore | On post-process in Admin Configure Advanced Parameters Administration Controller | This hook is called on Admin Configure Advanced Parameters Administration post-process before processing the Notifications form |
actionAdminAdministrationControllerPostProcessUploadQuotaBefore | On post-process in Admin Configure Advanced Parameters Administration Controller | This hook is called on Admin Configure Advanced Parameters Administration post-process before processing the Upload Quota form |
actionAdminAdminPreferencesControllerPostProcessBefore | On post-process in Admin Preferences | This hook is called on Admin Preferences post-process before processing the form |
actionAdminAdminShopParametersMetaControllerPostProcessBefore | On post-process in Admin Configure Shop Parameters Meta Controller | This hook is called on Admin Configure Shop Parameters Meta post-process before processing any form |
actionAdminAdvancedParametersPerformanceControllerPostProcessBefore | On post-process in Admin Configure Advanced Parameters Performance Controller | This hook is called on Admin Configure Advanced Parameters Performance post-process before processing any form |
actionAdminAdvancedParametersPerformanceControllerPostProcessCachingBefore | On post-process in Admin Configure Advanced Parameters Performance Controller | This hook is called on Admin Configure Advanced Parameters Performance post-process before processing the Caching form |
actionAdminAdvancedParametersPerformanceControllerPostProcessCombineCompressCacheBefore | On post-process in Admin Configure Advanced Parameters Performance Controller | This hook is called on Admin Configure Advanced Parameters Performance post-process before processing the Combine Compress Cache form |
actionAdminAdvancedParametersPerformanceControllerPostProcessDebugModeBefore | On post-process in Admin Configure Advanced Parameters Performance Controller | This hook is called on Admin Configure Advanced Parameters Performance post-process before processing the Debug Mode form |
actionAdminAdvancedParametersPerformanceControllerPostProcessMediaServersBefore | On post-process in Admin Configure Advanced Parameters Performance Controller | This hook is called on Admin Configure Advanced Parameters Performance post-process before processing the Media Servers form |
actionAdminAdvancedParametersPerformanceControllerPostProcessOptionalFeaturesBefore | On post-process in Admin Configure Advanced Parameters Performance Controller | This hook is called on Admin Configure Advanced Parameters Performance post-process before processing the Optional Features form |
actionAdminAdvancedParametersPerformanceControllerPostProcessSmartyBefore | On post-process in Admin Configure Advanced Parameters Performance Controller | This hook is called on Admin Configure Advanced Parameters Performance post-process before processing the Smarty form |
actionAdminAPIForm | Modify admin api options form content | This hook allows to modify admin api options form FormBuilder |
actionAdminAPISave | Modify admin api options form saved data | This hook allows to modify data of admin api options form after it was saved |
actionAdminBreadcrumbModifier | Modify back office breadcrumb | This hook allows modifying back office breadcrumb |
actionAdminControllerInitAfter | Perform actions after admin controller initialization | This hook is launched after the initialization of all admin controllers |
actionAdminControllerInitBefore | Perform actions before admin controller initialization | This hook is launched before the initialization of all admin controllers |
actionAdminControllerSetMedia | ||
actionAdminCurrenciesControllerSaveAfter | actionAdminCurrenciesControllerSaveAfter | |
actionAdminDuplicateAfter | ||
actionAdminDuplicateBefore | ||
actionAdminGroupsControllerSaveAfter | actionAdminGroupsControllerSaveAfter | |
actionAdminInternationalGeolocationControllerPostProcessBefore | On post-process in Admin Improve International Geolocation Controller | This hook is called on Admin Improve International Geolocation post-process before processing any form |
actionAdminInternationalGeolocationControllerPostProcessByIpAddressBefore | On post-process in Admin Improve International Geolocation Controller | This hook is called on Admin Improve International Geolocation post-process before processing the By Ip Address form |
actionAdminInternationalGeolocationControllerPostProcessOptionsBefore | On post-process in Admin Improve International Geolocation Controller | This hook is called on Admin Improve International Geolocation post-process before processing the Options form |
actionAdminInternationalGeolocationControllerPostProcessWhitelistBefore | On post-process in Admin Improve International Geolocation Controller | This hook is called on Admin Improve International Geolocation post-process before processing the Whitelist form |
actionAdminInternationalLocalizationControllerPostProcessAdvancedBefore | On post-process in Admin Improve International Localization Controller | This hook is called on Admin Improve International Localization post-process before processing the Advanced form |
actionAdminInternationalLocalizationControllerPostProcessBefore | On post-process in Admin Improve International Localization Controller | This hook is called on Admin Improve International Localization post-process before processing any form |
actionAdminInternationalLocalizationControllerPostProcessConfigurationBefore | On post-process in Admin Improve International Localization Controller | This hook is called on Admin Improve International Localization post-process before processing the Configuration form |
actionAdminInternationalLocalizationControllerPostProcessLocalUnitsBefore | On post-process in Admin Improve International Localization Controller | This hook is called on Admin Improve International Localization post-process before processing the Local Units form |
actionAdministrationPageForm | Manage Administration Page form fields | This hook adds, update or remove fields of the Administration Page form |
actionAdministrationPageGeneralForm | Modify administration page general options form content | This hook allows to modify administration page general options form FormBuilder |
actionAdministrationPageGeneralSave | Modify administration page general options form saved data | This hook allows to modify data of administration page general options form after it was saved |
actionAdministrationPageNotificationsForm | Modify administration page notifications options form content | This hook allows to modify administration page notifications options form FormBuilder |
actionAdministrationPageNotificationsSave | Modify administration page notifications options form saved data | This hook allows to modify data of administration page notifications options form after it was saved |
actionAdministrationPageSave | Modify administration page options form saved data | This hook allows to modify data of administration page options form after it was saved |
actionAdministrationPageUploadQuotaForm | Modify administration page upload quota options form content | This hook allows to modify administration page upload quota options form FormBuilder |
actionAdministrationPageUploadQuotaSave | Modify administration page upload quota options form saved data | This hook allows to modify data of administration page upload quota options form after it was saved |
actionAdminLoginControllerLoginAfter | actionAdminLoginControllerLoginAfter | |
actionAdminLoginControllerSetMedia | Set media on admin login page header | This hook is called after adding media to admin login page header |
actionAdminMenuTabsModifier | Modify back office menu | This hook allows modifying back office menu tabs |
actionAdminMetaAfterWriteRobotsFile | ||
actionAdminMetaBeforeWriteRobotsFile | ||
actionAdminMetaControllerUpdate_optionsAfter | actionAdminMetaControllerUpdate_optionsAfter | |
actionAdminMetaSave | After saving the configuration in AdminMeta | This hook is displayed after saving the configuration in AdminMeta |
actionAdminOrdersTrackingNumberUpdate | After setting the tracking number for the order | This hook allows you to execute code after the unique tracking number for the order was added |
actionAdminPerformanceControllerSaveAfter | actionAdminPerformanceControllerSaveAfter | |
actionAdminPreferencesControllerUpdate_optionsAfter | actionAdminPreferencesControllerUpdate_optionsAfter | |
actionAdminSecurityControllerPostProcessBefore | On post-process in Admin Security Controller | This hook is called on Admin Security Controller post-process before processing any form |
actionAdminSecurityControllerPostProcessGeneralBefore | On post-process in Admin Security Controller | This hook is called on Admin Security Controller post-process before processing the General form |
actionAdminShippingPreferencesControllerPostProcessBefore | On post-process in Admin Improve Shipping Preferences Controller | This hook is called on Admin Improve Shipping Preferences post-process before processing any form |
actionAdminShippingPreferencesControllerPostProcessCarrierOptionsBefore | On post-process in Admin Improve Shipping Preferences Controller | This hook is called on Admin Improve Shipping Preferences post-process before processing the Carrier Options form |
actionAdminShippingPreferencesControllerPostProcessHandlingBefore | On post-process in Admin Improve Shipping Preferences Controller | This hook is called on Admin Improve Shipping Preferences post-process before processing the Handling form |
actionAdminShopParametersMetaControllerPostProcessSeoOptionsBefore | On post-process in Admin Configure Shop Parameters Meta Controller | This hook is called on Admin Configure Shop Parameters Meta post-process before processing the Seo Options form |
actionAdminShopParametersMetaControllerPostProcessSetUpUrlsBefore | On post-process in Admin Configure Shop Parameters Meta Controller | This hook is called on Admin Configure Shop Parameters Meta post-process before processing the SetUp Urls form |
actionAdminShopParametersMetaControllerPostProcessShopUrlsBefore | On post-process in Admin Configure Shop Parameters Meta Controller | This hook is called on Admin Configure Shop Parameters Meta post-process before processing the Shop Urls form |
actionAdminShopParametersMetaControllerPostProcessUrlSchemaBefore | On post-process in Admin Configure Shop Parameters Meta Controller | This hook is called on Admin Configure Shop Parameters Meta post-process before processing the Url Schema form |
actionAdminShopParametersOrderPreferencesControllerPostProcessBefore | On post-process in Admin Configure Shop Parameters Order Preferences Controller | This hook is called on Admin Configure Shop Parameters Order Preferences post-process before processing any form |
actionAdminShopParametersOrderPreferencesControllerPostProcessGeneralBefore | On post-process in Admin Configure Shop Parameters Order Preferences Controller | This hook is called on Admin Configure Shop Parameters Order Preferences post-process before processing the General form |
actionAdminShopParametersOrderPreferencesControllerPostProcessGiftOptionsBefore | On post-process in Admin Configure Shop Parameters Order Preferences Controller | This hook is called on Admin Configure Shop Parameters Order Preferences post-process before processing the Gift Options form |
actionAdminSpecificPriceRuleControllerSaveAfter | actionAdminSpecificPriceRuleControllerSaveAfter | |
actionAdminStoresControllerSaveAfter | actionAdminStoresControllerSaveAfter | |
actionAdminStoresControllerUpdate_optionsAfter | actionAdminStoresControllerUpdate_optionsAfter | |
actionAdminThemesControllerUpdate_optionsAfter | ||
actionAdminWebserviceControllerSaveAfter | actionAdminWebserviceControllerSaveAfter | |
actionAfterCreateApiClientFormHandler | Modify api client identifiable object data after creating it | This hook allows to modify api client identifiable object forms data after it was created |
actionAfterCreateAttachmentFormHandler | Modify attachment identifiable object data after creating it | This hook allows to modify attachment identifiable object forms data after it was created |
actionAfterCreateAttributeFormHandler | actionAfterCreateAttributeFormHandler | |
actionAfterCreateAttributeGroupFormHandler | actionAfterCreateAttributeGroupFormHandler | |
actionAfterCreateCarrierFormHandler | Modify carrier identifiable object data after creating it | This hook allows to modify carrier identifiable object forms data after it was created |
actionAfterCreateCartRuleFormHandler | Modify cart rule identifiable object data after creating it | This hook allows to modify cart rule identifiable object forms data after it was created |
actionAfterCreateCartSummaryFormHandler | Modify back office order data after creating it | This hook allows to modify order created from back office data after it is created |
actionAfterCreateCatalogPriceRuleFormHandler | Modify catalog price rule identifiable object data after creating it | This hook allows to modify catalog price rule identifiable object forms data after it was created |
actionAfterCreateCategoryFormHandler | Modify category identifiable object data after creating it | This hook allows to modify category identifiable object forms data after it was created |
actionAfterCreateCategoryTreeSelectorFormHandler | Modify category tree selector identifiable object data after creating it | This hook allows to modify category tree selector identifiable object forms data after it was created |
actionAfterCreateCmsPageCategoryFormHandler | Modify cms page category identifiable object data after creating it | This hook allows to modify cms page category identifiable object forms data after it was created |
actionAfterCreateCmsPageFormHandler | Modify cms page identifiable object data after creating it | This hook allows to modify cms page identifiable object forms data after it was created |
actionAfterCreateCombinationListFormHandler | Modify combination list identifiable object data after creating it | This hook allows to modify combination list identifiable object forms data after it was created |
actionAfterCreateContactFormHandler | Modify contact identifiable object data after creating it | This hook allows to modify contact identifiable object forms data after it was created |
actionAfterCreateCountryFormHandler | Modify country identifiable object data after creating it | This hook allows to modify country identifiable object forms data after it was created |
actionAfterCreateCreateProductFormHandler | Modify create product identifiable object data after creating it | This hook allows to modify create product identifiable object forms data after it was created |
actionAfterCreateCurrencyFormHandler | Modify currency identifiable object data after creating it | This hook allows to modify currency identifiable object forms data after it was created |
actionAfterCreateCustomerFormHandler | Modify customer identifiable object data after creating it | This hook allows to modify customer identifiable object forms data after it was created |
actionAfterCreateEmployeeFormHandler | Modify employee identifiable object data after creating it | This hook allows to modify employee identifiable object forms data after it was created |
actionAfterCreateFeatureFormHandler | Modify feature identifiable object data after creating it | This hook allows to modify feature identifiable object forms data after it was created |
actionAfterCreateFeatureValueFormHandler | Modify feature value identifiable object data after creating it | This hook allows to modify feature value identifiable object forms data after it was created |
actionAfterCreateImageTypeFormHandler | Modify image type identifiable object data after creating it | This hook allows to modify image type identifiable object forms data after it was created |
actionAfterCreateLanguageFormHandler | Modify language identifiable object data after creating it | This hook allows to modify language identifiable object forms data after it was created |
actionAfterCreateManufacturerAddressFormHandler | Modify manufacturer address identifiable object data after creating it | This hook allows to modify manufacturer address identifiable object forms data after it was created |
actionAfterCreateManufacturerFormHandler | Modify manufacturer identifiable object data after creating it | This hook allows to modify manufacturer identifiable object forms data after it was created |
actionAfterCreateMetaFormHandler | Modify meta identifiable object data after creating it | This hook allows to modify meta identifiable object forms data after it was created |
actionAfterCreateOrderMessageFormHandler | Modify order message identifiable object data after creating it | This hook allows to modify order message identifiable object forms data after it was created |
actionAfterCreateOrderReturnFormHandler | Modify order return identifiable object data after creating it | This hook allows to modify order return identifiable object forms data after it was created |
actionAfterCreateOrderReturnStateFormHandler | Modify order return state identifiable object data after creating it | This hook allows to modify order return state identifiable object forms data after it was created |
actionAfterCreateOrderStateFormHandler | Modify order state identifiable object data after creating it | This hook allows to modify order state identifiable object forms data after it was created |
actionAfterCreateProductImageFormHandler | Modify product image identifiable object data after creating it | This hook allows to modify product image identifiable object forms data after it was created |
actionAfterCreateProductShopsFormHandler | Modify product shops identifiable object data after creating it | This hook allows to modify product shops identifiable object forms data after it was created |
actionAfterCreateProfileFormHandler | Modify profile identifiable object data after creating it | This hook allows to modify profile identifiable object forms data after it was created |
actionAfterCreateRootCategoryFormHandler | Modify root category identifiable object data after creating it | This hook allows to modify root category identifiable object forms data after it was created |
actionAfterCreateSearchEngineFormHandler | Modify search engine identifiable object data after creating it | This hook allows to modify search engine identifiable object forms data after it was created |
actionAfterCreateSearchTermFormHandler | Modify search term identifiable object data after creating it | This hook allows to modify search term identifiable object forms data after it was created |
actionAfterCreateSqlRequestFormHandler | Modify sql request identifiable object data after creating it | This hook allows to modify sql request identifiable object forms data after it was created |
actionAfterCreateStateFormHandler | Modify state identifiable object data after creating it | This hook allows to modify state identifiable object forms data after it was created |
actionAfterCreateTaxFormHandler | Modify tax identifiable object data after creating it | This hook allows to modify tax identifiable object forms data after it was created |
actionAfterCreateTaxRulesGroupFormHandler | Modify tax rules group identifiable object data after creating it | This hook allows to modify tax rules group identifiable object forms data after it was created |
actionAfterCreateTitleFormHandler | Modify title identifiable object data after creating it | This hook allows to modify title identifiable object forms data after it was created |
actionAfterCreateWebserviceKeyFormHandler | Modify webservice key identifiable object data after creating it | This hook allows to modify webservice key identifiable object forms data after it was created |
actionAfterCreateZoneFormHandler | Modify zone identifiable object data after creating it | This hook allows to modify zone identifiable object forms data after it was created |
actionAfterLoadRoutes | Triggers after loading routes | Allow modules to modify routes in any way or add their own multilanguage routes. |
actionAfterUpdateApiClientFormHandler | Modify api client identifiable object data after updating it | This hook allows to modify api client identifiable object forms data after it was updated |
actionAfterUpdateAttachmentFormHandler | Modify attachment identifiable object data after updating it | This hook allows to modify attachment identifiable object forms data after it was updated |
actionAfterUpdateAttributeFormHandler | actionAfterUpdateAttributeFormHandler | |
actionAfterUpdateAttributeGroupFormHandler | actionAfterUpdateAttributeGroupFormHandler | |
actionAfterUpdateCarrierFormHandler | Modify carrier identifiable object data after updating it | This hook allows to modify carrier identifiable object forms data after it was updated |
actionAfterUpdateCartRuleFormHandler | Modify cart rule identifiable object data after updating it | This hook allows to modify cart rule identifiable object forms data after it was updated |
actionAfterUpdateCatalogPriceRuleFormHandler | Modify catalog price rule identifiable object data after updating it | This hook allows to modify catalog price rule identifiable object forms data after it was updated |
actionAfterUpdateCategoryFormHandler | Modify category identifiable object data after updating it | This hook allows to modify category identifiable object forms data after it was updated |
actionAfterUpdateCategoryTreeSelectorFormHandler | Modify category tree selector identifiable object data after updating it | This hook allows to modify category tree selector identifiable object forms data after it was updated |
actionAfterUpdateCmsPageCategoryFormHandler | Modify cms page category identifiable object data after updating it | This hook allows to modify cms page category identifiable object forms data after it was updated |
actionAfterUpdateCmsPageFormHandler | Modify cms page identifiable object data after updating it | This hook allows to modify cms page identifiable object forms data after it was updated |
actionAfterUpdateCombinationListFormHandler | Modify combination list identifiable object data after updating it | This hook allows to modify combination list identifiable object forms data after it was updated |
actionAfterUpdateContactFormHandler | Modify contact identifiable object data after updating it | This hook allows to modify contact identifiable object forms data after it was updated |
actionAfterUpdateCountryFormHandler | Modify country identifiable object data after updating it | This hook allows to modify country identifiable object forms data after it was updated |
actionAfterUpdateCreateProductFormHandler | Modify create product identifiable object data after updating it | This hook allows to modify create product identifiable object forms data after it was updated |
actionAfterUpdateCurrencyFormHandler | Modify currency identifiable object data after updating it | This hook allows to modify currency identifiable object forms data after it was updated |
actionAfterUpdateCustomerFormHandler | Modify customer identifiable object data after updating it | This hook allows to modify customer identifiable object forms data after it was updated |
actionAfterUpdateEmployeeFormHandler | Modify employee identifiable object data after updating it | This hook allows to modify employee identifiable object forms data after it was updated |
actionAfterUpdateFeatureFormHandler | Modify feature identifiable object data after updating it | This hook allows to modify feature identifiable object forms data after it was updated |
actionAfterUpdateFeatureValueFormHandler | Modify feature value identifiable object data after updating it | This hook allows to modify feature value identifiable object forms data after it was updated |
actionAfterUpdateImageTypeFormHandler | Modify image type identifiable object data after updating it | This hook allows to modify image type identifiable object forms data after it was updated |
actionAfterUpdateLanguageFormHandler | Modify language identifiable object data after updating it | This hook allows to modify language identifiable object forms data after it was updated |
actionAfterUpdateManufacturerAddressFormHandler | Modify manufacturer address identifiable object data after updating it | This hook allows to modify manufacturer address identifiable object forms data after it was updated |
actionAfterUpdateManufacturerFormHandler | Modify manufacturer identifiable object data after updating it | This hook allows to modify manufacturer identifiable object forms data after it was updated |
actionAfterUpdateMetaFormHandler | Modify meta identifiable object data after updating it | This hook allows to modify meta identifiable object forms data after it was updated |
actionAfterUpdateOrderMessageFormHandler | Modify order message identifiable object data after updating it | This hook allows to modify order message identifiable object forms data after it was updated |
actionAfterUpdateOrderReturnFormHandler | Modify order return identifiable object data after updating it | This hook allows to modify order return identifiable object forms data after it was updated |
actionAfterUpdateOrderReturnStateFormHandler | Modify order return state identifiable object data after updating it | This hook allows to modify order return state identifiable object forms data after it was updated |
actionAfterUpdateOrderStateFormHandler | Modify order state identifiable object data after updating it | This hook allows to modify order state identifiable object forms data after it was updated |
actionAfterUpdateProductFormHandler | Modify product identifiable object data after updating it | This hook allows to modify product identifiable object form data after it was updated |
actionAfterUpdateProductImageFormHandler | Modify product image identifiable object data after updating it | This hook allows to modify product image identifiable object forms data after it was updated |
actionAfterUpdateProductShopsFormHandler | Modify product shops identifiable object data after updating it | This hook allows to modify product shops identifiable object forms data after it was updated |
actionAfterUpdateProfileFormHandler | Modify profile identifiable object data after updating it | This hook allows to modify profile identifiable object forms data after it was updated |
actionAfterUpdateRootCategoryFormHandler | Modify root category identifiable object data after updating it | This hook allows to modify root category identifiable object forms data after it was updated |
actionAfterUpdateSearchEngineFormHandler | Modify search engine identifiable object data after updating it | This hook allows to modify search engine identifiable object forms data after it was updated |
actionAfterUpdateSearchTermFormHandler | Modify search term identifiable object data after updating it | This hook allows to modify search term identifiable object forms data after it was updated |
actionAfterUpdateSqlRequestFormHandler | Modify sql request identifiable object data after updating it | This hook allows to modify sql request identifiable object forms data after it was updated |
actionAfterUpdateStateFormHandler | Modify state identifiable object data after updating it | This hook allows to modify state identifiable object forms data after it was updated |
actionAfterUpdateTaxFormHandler | Modify tax identifiable object data after updating it | This hook allows to modify tax identifiable object forms data after it was updated |
actionAfterUpdateTaxRulesGroupFormHandler | Modify tax rules group identifiable object data after updating it | This hook allows to modify tax rules group identifiable object forms data after it was updated |
actionAfterUpdateTitleFormHandler | Modify title identifiable object data after updating it | This hook allows to modify title identifiable object forms data after it was updated |
actionAfterUpdateWebserviceKeyFormHandler | Modify webservice key identifiable object data after updating it | This hook allows to modify webservice key identifiable object forms data after it was updated |
actionAfterUpdateZoneFormHandler | Modify zone identifiable object data after updating it | This hook allows to modify zone identifiable object forms data after it was updated |
actionAjaxDieProductControllerDisplayAjaxQuickviewAfter | actionAjaxDieProductControllerDisplayAjaxQuickviewAfter | |
actionApiClientFormBuilderModifier | Modify api client identifiable object form | This hook allows to modify api client identifiable object forms content by modifying form builder data or FormBuilder itself |
actionApiClientFormDataProviderData | Provide api client identifiable object form data for update | This hook allows to provide api client identifiable object form data which will prefill the form in update/edition page |
actionApiClientFormDataProviderDefaultData | Provide api client identifiable object default form data for creation | This hook allows to provide api client identifiable object form data which will prefill the form in creation page |
actionAttachmentFormBuilderModifier | Modify attachment identifiable object form | This hook allows to modify attachment identifiable object forms content by modifying form builder data or FormBuilder itself |
actionAttachmentFormDataProviderData | Provide attachment identifiable object form data for update | This hook allows to provide attachment identifiable object form data which will prefill the form in update/edition page |
actionAttachmentFormDataProviderDefaultData | Provide attachment identifiable object default form data for creation | This hook allows to provide attachment identifiable object form data which will prefill the form in creation page |
actionAttachmentGridDataModifier | Modify attachment grid data | This hook allows to modify attachment grid data |
actionAttachmentGridDefinitionModifier | Modify attachment grid definition | This hook allows to alter attachment grid columns, actions and filters |
actionAttachmentGridFilterFormModifier | Modify attachment grid filters | This hook allows to modify filters for attachment grid |
actionAttachmentGridPresenterModifier | Modify attachment grid template data | This hook allows to modify data which is about to be used in template for attachment grid |
actionAttachmentGridQueryBuilderModifier | Modify attachment grid query builder | This hook allows to alter Doctrine query builder for attachment grid |
actionAttributeCombinationDelete | ||
actionAttributeCombinationSave | ||
actionAttributeDelete | Deleting an attributes features value | This hook is called while deleting an attributes features value |
actionAttributeFormBuilderModifier | actionAttributeFormBuilderModifier | |
actionAttributeFormDataProviderData | actionAttributeFormDataProviderData | |
actionAttributeGroupDelete | Deleting attribute group | This hook is called while deleting an attributes group |
actionAttributeGroupFormBuilderModifier | actionAttributeGroupFormBuilderModifier | |
actionAttributeGroupFormDataProviderData | actionAttributeGroupFormDataProviderData | |
actionAttributeGroupGridDataModifier | Modify attribute group grid data | This hook allows to modify attribute group grid data |
actionAttributeGroupGridDefinitionModifier | Modify attribute group grid definition | This hook allows to alter attribute group grid columns, actions and filters |
actionAttributeGroupGridFilterFormModifier | Modify attribute group grid filters | This hook allows to modify filters for attribute group grid |
actionAttributeGroupGridPresenterModifier | Modify attribute group grid template data | This hook allows to modify data which is about to be used in template for attribute group grid |
actionAttributeGroupGridQueryBuilderModifier | Modify attribute group grid query builder | This hook allows to alter Doctrine query builder for attribute group grid |
actionAttributeGroupSave | Saving an attribute group | This hook is called while saving an attributes group |
actionAttributePostProcess | On post-process in admin feature value | This hook is called on post-process in admin feature value |
actionAttributeSave | Saving an attributes features value | This hook is called while saving an attributes features value |
actionAuthentication | Successful customer authentication | This hook is displayed after a customer successfully signs in |
actionAuthenticationBefore | Triggers before customer logs in | Triggers after successful validation of login form, before the login process itself. |
actionBackOfficeLoginForm | Modify back office login options form content | This hook allows to modify back office login options form FormBuilder |
actionBackOfficeLoginSave | Modify back office login options form saved data | This hook allows to modify data of back office login options form after it was saved |
actionBackupForm | Modify backup options form content | This hook allows to modify backup options form FormBuilder |
actionBackupGridDataModifier | Modify backup grid data | This hook allows to modify backup grid data |
actionBackupGridDefinitionModifier | Modifying DB Backup grid definition | This hook allows to alter DB Backup grid columns, actions and filters |
actionBackupGridFilterFormModifier | Modify filters form for DB Backup grid | This hook allows to alter filters form used in DB Backup |
actionBackupGridPresenterModifier | Modify DB Backup grid view data | This hook allows to alter presented DB Backup grid data |
actionBackupGridQueryBuilderModifier | Modify backup grid query builder | This hook allows to alter Doctrine query builder for backup grid |
actionBackupSave | Modify backup options form saved data | This hook allows to modify data of backup options form after it was saved |
actionBeforeCreateApiClientFormHandler | Modify api client identifiable object data before creating it | This hook allows to modify api client identifiable object forms data before it was created |
actionBeforeCreateAttachmentFormHandler | Modify attachment identifiable object data before creating it | This hook allows to modify attachment identifiable object forms data before it was created |
actionBeforeCreateCarrierFormHandler | Modify carrier identifiable object data before creating it | This hook allows to modify carrier identifiable object forms data before it was created |
actionBeforeCreateCartRuleFormHandler | Modify cart rule identifiable object data before creating it | This hook allows to modify cart rule identifiable object forms data before it was created |
actionBeforeCreateCartSummaryFormHandler | Modify back office order data before creating it | This hook allows to modify order created from back office data before it is created |
actionBeforeCreateCatalogPriceRuleFormHandler | Modify catalog price rule identifiable object data before creating it | This hook allows to modify catalog price rule identifiable object forms data before it was created |
actionBeforeCreateCategoryFormHandler | Modify category identifiable object data before creating it | This hook allows to modify category identifiable object forms data before it was created |
actionBeforeCreateCategoryTreeSelectorFormHandler | Modify category tree selector identifiable object data before creating it | This hook allows to modify category tree selector identifiable object forms data before it was created |
actionBeforeCreateCmsPageCategoryFormHandler | Modify cms page category identifiable object data before creating it | This hook allows to modify cms page category identifiable object forms data before it was created |
actionBeforeCreateCmsPageFormHandler | Modify cms page identifiable object data before creating it | This hook allows to modify cms page identifiable object forms data before it was created |
actionBeforeCreateCombinationListFormHandler | Modify combination list identifiable object data before creating it | This hook allows to modify combination list identifiable object forms data before it was created |
actionBeforeCreateContactFormHandler | Modify contact identifiable object data before creating it | This hook allows to modify contact identifiable object forms data before it was created |
actionBeforeCreateCountryFormHandler | Modify country identifiable object data before creating it | This hook allows to modify country identifiable object forms data before it was created |
actionBeforeCreateCreateProductFormHandler | Modify create product identifiable object data before creating it | This hook allows to modify create product identifiable object forms data before it was created |
actionBeforeCreateCurrencyFormHandler | Modify currency identifiable object data before creating it | This hook allows to modify currency identifiable object forms data before it was created |
actionBeforeCreateCustomerFormHandler | Modify customer identifiable object data before creating it | This hook allows to modify customer identifiable object forms data before it was created |
actionBeforeCreateEmployeeFormHandler | Modify employee identifiable object data before creating it | This hook allows to modify employee identifiable object forms data before it was created |
actionBeforeCreateFeatureFormHandler | Modify feature identifiable object data before creating it | This hook allows to modify feature identifiable object forms data before it was created |
actionBeforeCreateFeatureValueFormHandler | Modify feature value identifiable object data before creating it | This hook allows to modify feature value identifiable object forms data before it was created |
actionBeforeCreateImageTypeFormHandler | Modify image type identifiable object data before creating it | This hook allows to modify image type identifiable object forms data before it was created |
actionBeforeCreateLanguageFormHandler | Modify language identifiable object data before creating it | This hook allows to modify language identifiable object forms data before it was created |
actionBeforeCreateManufacturerAddressFormHandler | Modify manufacturer address identifiable object data before creating it | This hook allows to modify manufacturer address identifiable object forms data before it was created |
actionBeforeCreateManufacturerFormHandler | Modify manufacturer identifiable object data before creating it | This hook allows to modify manufacturer identifiable object forms data before it was created |
actionBeforeCreateMetaFormHandler | Modify meta identifiable object data before creating it | This hook allows to modify meta identifiable object forms data before it was created |
actionBeforeCreateOrderMessageFormHandler | Modify order message identifiable object data before creating it | This hook allows to modify order message identifiable object forms data before it was created |
actionBeforeCreateOrderReturnFormHandler | Modify order return identifiable object data before creating it | This hook allows to modify order return identifiable object forms data before it was created |
actionBeforeCreateOrderReturnStateFormHandler | Modify order return state identifiable object data before creating it | This hook allows to modify order return state identifiable object forms data before it was created |
actionBeforeCreateOrderStateFormHandler | Modify order state identifiable object data before creating it | This hook allows to modify order state identifiable object forms data before it was created |
actionBeforeCreateProductFormHandler | Modify product identifiable object data before creating it | This hook allows to modify product identifiable object form data before it was created |
actionBeforeCreateProductImageFormHandler | Modify product image identifiable object data before creating it | This hook allows to modify product image identifiable object forms data before it was created |
actionBeforeCreateProductShopsFormHandler | Modify product shops identifiable object data before creating it | This hook allows to modify product shops identifiable object forms data before it was created |
actionBeforeCreateProfileFormHandler | Modify profile identifiable object data before creating it | This hook allows to modify profile identifiable object forms data before it was created |
actionBeforeCreateRootCategoryFormHandler | Modify root category identifiable object data before creating it | This hook allows to modify root category identifiable object forms data before it was created |
actionBeforeCreateSearchEngineFormHandler | Modify search engine identifiable object data before creating it | This hook allows to modify search engine identifiable object forms data before it was created |
actionBeforeCreateSearchTermFormHandler | Modify search term identifiable object data before creating it | This hook allows to modify search term identifiable object forms data before it was created |
actionBeforeCreateSqlRequestFormHandler | Modify sql request identifiable object data before creating it | This hook allows to modify sql request identifiable object forms data before it was created |
actionBeforeCreateStateFormHandler | Modify state identifiable object data before creating it | This hook allows to modify state identifiable object forms data before it was created |
actionBeforeCreateTaxFormHandler | Modify tax identifiable object data before creating it | This hook allows to modify tax identifiable object forms data before it was created |
actionBeforeCreateTaxRulesGroupFormHandler | Modify tax rules group identifiable object data before creating it | This hook allows to modify tax rules group identifiable object forms data before it was created |
actionBeforeCreateTitleFormHandler | Modify title identifiable object data before creating it | This hook allows to modify title identifiable object forms data before it was created |
actionBeforeCreateWebserviceKeyFormHandler | Modify webservice key identifiable object data before creating it | This hook allows to modify webservice key identifiable object forms data before it was created |
actionBeforeCreateZoneFormHandler | Modify zone identifiable object data before creating it | This hook allows to modify zone identifiable object forms data before it was created |
actionBeforeDisableModule | Before a module is disabled | This hook is called just before a module is disabled |
actionBeforeEnableModule | Before a module is enabled | This hook is called just before a module is enabled |
actionBeforeInstallModule | Before a module is installed | This hook is called just before a module is installed |
actionBeforePostInstallModule | Before method `postInstall()` is called | This hook is called juste before a module execute its `postInstall()` method |
actionBeforeResetModule | Before a module is reset | This hook is called just before a module is reset |
actionBeforeUninstallModule | Before a module is uninstalled | This hook is called just before a module is uninstalled |
actionBeforeUpdateApiClientFormHandler | Modify api client identifiable object data before updating it | This hook allows to modify api client identifiable object forms data before it was updated |
actionBeforeUpdateAttachmentFormHandler | Modify attachment identifiable object data before updating it | This hook allows to modify attachment identifiable object forms data before it was updated |
actionBeforeUpdateCarrierFormHandler | Modify carrier identifiable object data before updating it | This hook allows to modify carrier identifiable object forms data before it was updated |
actionBeforeUpdateCartRuleFormHandler | Modify cart rule identifiable object data before updating it | This hook allows to modify cart rule identifiable object forms data before it was updated |
actionBeforeUpdateCatalogPriceRuleFormHandler | Modify catalog price rule identifiable object data before updating it | This hook allows to modify catalog price rule identifiable object forms data before it was updated |
actionBeforeUpdateCategoryFormHandler | Modify category identifiable object data before updating it | This hook allows to modify category identifiable object forms data before it was updated |
actionBeforeUpdateCategoryTreeSelectorFormHandler | Modify category tree selector identifiable object data before updating it | This hook allows to modify category tree selector identifiable object forms data before it was updated |
actionBeforeUpdateCmsPageCategoryFormHandler | Modify cms page category identifiable object data before updating it | This hook allows to modify cms page category identifiable object forms data before it was updated |
actionBeforeUpdateCmsPageFormHandler | Modify cms page identifiable object data before updating it | This hook allows to modify cms page identifiable object forms data before it was updated |
actionBeforeUpdateCombinationListFormHandler | Modify combination list identifiable object data before updating it | This hook allows to modify combination list identifiable object forms data before it was updated |
actionBeforeUpdateContactFormHandler | Modify contact identifiable object data before updating it | This hook allows to modify contact identifiable object forms data before it was updated |
actionBeforeUpdateCountryFormHandler | Modify country identifiable object data before updating it | This hook allows to modify country identifiable object forms data before it was updated |
actionBeforeUpdateCreateProductFormHandler | Modify create product identifiable object data before updating it | This hook allows to modify create product identifiable object forms data before it was updated |
actionBeforeUpdateCurrencyFormHandler | Modify currency identifiable object data before updating it | This hook allows to modify currency identifiable object forms data before it was updated |
actionBeforeUpdateCustomerFormHandler | Modify customer identifiable object data before updating it | This hook allows to modify customer identifiable object forms data before it was updated |
actionBeforeUpdateEmployeeFormHandler | Modify employee identifiable object data before updating it | This hook allows to modify employee identifiable object forms data before it was updated |
actionBeforeUpdateFeatureFormHandler | Modify feature identifiable object data before updating it | This hook allows to modify feature identifiable object forms data before it was updated |
actionBeforeUpdateFeatureValueFormHandler | Modify feature value identifiable object data before updating it | This hook allows to modify feature value identifiable object forms data before it was updated |
actionBeforeUpdateImageTypeFormHandler | Modify image type identifiable object data before updating it | This hook allows to modify image type identifiable object forms data before it was updated |
actionBeforeUpdateLanguageFormHandler | Modify language identifiable object data before updating it | This hook allows to modify language identifiable object forms data before it was updated |
actionBeforeUpdateManufacturerAddressFormHandler | Modify manufacturer address identifiable object data before updating it | This hook allows to modify manufacturer address identifiable object forms data before it was updated |
actionBeforeUpdateManufacturerFormHandler | Modify manufacturer identifiable object data before updating it | This hook allows to modify manufacturer identifiable object forms data before it was updated |
actionBeforeUpdateMetaFormHandler | Modify meta identifiable object data before updating it | This hook allows to modify meta identifiable object forms data before it was updated |
actionBeforeUpdateOrderMessageFormHandler | Modify order message identifiable object data before updating it | This hook allows to modify order message identifiable object forms data before it was updated |
actionBeforeUpdateOrderReturnFormHandler | Modify order return identifiable object data before updating it | This hook allows to modify order return identifiable object forms data before it was updated |
actionBeforeUpdateOrderReturnStateFormHandler | Modify order return state identifiable object data before updating it | This hook allows to modify order return state identifiable object forms data before it was updated |
actionBeforeUpdateOrderStateFormHandler | Modify order state identifiable object data before updating it | This hook allows to modify order state identifiable object forms data before it was updated |
actionBeforeUpdateProductFormHandler | Modify product identifiable object data before updating it | This hook allows to modify product identifiable object form data before it was updated |
actionBeforeUpdateProductImageFormHandler | Modify product image identifiable object data before updating it | This hook allows to modify product image identifiable object forms data before it was updated |
actionBeforeUpdateProductShopsFormHandler | Modify product shops identifiable object data before updating it | This hook allows to modify product shops identifiable object forms data before it was updated |
actionBeforeUpdateProfileFormHandler | Modify profile identifiable object data before updating it | This hook allows to modify profile identifiable object forms data before it was updated |
actionBeforeUpdateRootCategoryFormHandler | Modify root category identifiable object data before updating it | This hook allows to modify root category identifiable object forms data before it was updated |
actionBeforeUpdateSearchEngineFormHandler | Modify search engine identifiable object data before updating it | This hook allows to modify search engine identifiable object forms data before it was updated |
actionBeforeUpdateSearchTermFormHandler | Modify search term identifiable object data before updating it | This hook allows to modify search term identifiable object forms data before it was updated |
actionBeforeUpdateSqlRequestFormHandler | Modify sql request identifiable object data before updating it | This hook allows to modify sql request identifiable object forms data before it was updated |
actionBeforeUpdateStateFormHandler | Modify state identifiable object data before updating it | This hook allows to modify state identifiable object forms data before it was updated |
actionBeforeUpdateTaxFormHandler | Modify tax identifiable object data before updating it | This hook allows to modify tax identifiable object forms data before it was updated |
actionBeforeUpdateTaxRulesGroupFormHandler | Modify tax rules group identifiable object data before updating it | This hook allows to modify tax rules group identifiable object forms data before it was updated |
actionBeforeUpdateTitleFormHandler | Modify title identifiable object data before updating it | This hook allows to modify title identifiable object forms data before it was updated |
actionBeforeUpdateWebserviceKeyFormHandler | Modify webservice key identifiable object data before updating it | This hook allows to modify webservice key identifiable object forms data before it was updated |
actionBeforeUpdateZoneFormHandler | Modify zone identifiable object data before updating it | This hook allows to modify zone identifiable object forms data before it was updated |
actionBeforeUpgradeModule | Before a module is upgraded | This hook is called just before a module is upgraded |
actionBuildFrontEndObject | Manage elements added to the "prestashop" javascript object | This hook allows you to customize the "prestashop" javascript object that is included in all front office pages |
actionBuildMailLayoutVariables | Build the variables used in email layout rendering | This hook allows to change the variables used when an email layout is rendered |
actionCarrierFormBuilderModifier | Modify carrier identifiable object form | This hook allows to modify carrier identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCarrierFormDataProviderData | Provide carrier identifiable object form data for update | This hook allows to provide carrier identifiable object form data which will prefill the form in update/edition page |
actionCarrierFormDataProviderDefaultData | Provide carrier identifiable object default form data for creation | This hook allows to provide carrier identifiable object form data which will prefill the form in creation page |
actionCarrierGridDataModifier | Modify carrier grid data | This hook allows to modify carrier grid data |
actionCarrierGridDefinitionModifier | Modify carrier grid definition | This hook allows to alter carrier grid columns, actions and filters |
actionCarrierGridFilterFormModifier | Modify carrier grid filters | This hook allows to modify filters for carrier grid |
actionCarrierGridPresenterModifier | Modify carrier grid template data | This hook allows to modify data which is about to be used in template for carrier grid |
actionCarrierGridQueryBuilderModifier | Modify carrier grid query builder | This hook allows to alter Doctrine query builder for carrier grid |
actionCarrierProcess | Carrier process | |
actionCarrierUpdate | Carrier Update | This hook is called when a carrier is updated |
actionCartGetPackageShippingCost | After getting package shipping cost value | This hook is called in order to allow to modify package shipping cost |
actionCartRuleFormBuilderModifier | Modify cart rule identifiable object form | This hook allows to modify cart rule identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCartRuleFormDataProviderData | Provide cart rule identifiable object form data for update | This hook allows to provide cart rule identifiable object form data which will prefill the form in update/edition page |
actionCartRuleFormDataProviderDefaultData | Provide cart rule identifiable object default form data for creation | This hook allows to provide cart rule identifiable object form data which will prefill the form in creation page |
actionCartRuleGridDataModifier | Modify cart rule grid data | This hook allows to modify cart rule grid data |
actionCartRuleGridDefinitionModifier | Modify cart rule grid definition | This hook allows to alter cart rule grid columns, actions and filters |
actionCartRuleGridFilterFormModifier | Modify cart rule grid filters | This hook allows to modify filters for cart rule grid |
actionCartRuleGridPresenterModifier | Modify cart rule grid template data | This hook allows to modify data which is about to be used in template for cart rule grid |
actionCartRuleGridQueryBuilderModifier | Modify cart rule grid query builder | This hook allows to alter Doctrine query builder for cart rule grid |
actionCartSave | Cart creation and update | This hook is displayed when a product is added to the cart or if the cart's content is modified |
actionCartSummary | ||
actionCartUpdateQuantityBefore | Triggers before product is added to cart | Allows responding to add to cart events. |
actionCatalogPriceRuleFormBuilderModifier | Modify catalog price rule identifiable object form | This hook allows to modify catalog price rule identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCatalogPriceRuleFormDataProviderData | Provide catalog price rule identifiable object form data for update | This hook allows to provide catalog price rule identifiable object form data which will prefill the form in update/edition page |
actionCatalogPriceRuleFormDataProviderDefaultData | Provide catalog price rule identifiable object default form data for creation | This hook allows to provide catalog price rule identifiable object form data which will prefill the form in creation page |
actionCatalogPriceRuleGridDataModifier | Modify catalog price rule grid data | This hook allows to modify catalog price rule grid data |
actionCatalogPriceRuleGridDefinitionModifier | Modify catalog price rule grid definition | This hook allows to alter catalog price rule grid columns, actions and filters |
actionCatalogPriceRuleGridFilterFormModifier | Modify catalog price rule grid filters | This hook allows to modify filters for catalog price rule grid |
actionCatalogPriceRuleGridPresenterModifier | Modify catalog price rule grid template data | This hook allows to modify data which is about to be used in template for catalog price rule grid |
actionCatalogPriceRuleGridQueryBuilderModifier | Modify catalog price rule grid query builder | This hook allows to alter Doctrine query builder for catalog price rule grid |
actionCategoryAdd | Category creation | This hook is displayed when a category is created |
actionCategoryDelete | Category deletion | This hook is displayed when a category is deleted |
actionCategoryFormBuilderModifier | Modify category identifiable object form | This hook allows to modify category identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCategoryFormDataProviderData | Provide category identifiable object form data for update | This hook allows to provide category identifiable object form data which will prefill the form in update/edition page |
actionCategoryFormDataProviderDefaultData | Provide category identifiable object default form data for creation | This hook allows to provide category identifiable object form data which will prefill the form in creation page |
actionCategoryGridDataModifier | Modify category grid data | This hook allows to modify category grid data |
actionCategoryGridDefinitionModifier | Modify category grid definition | This hook allows to alter category grid columns, actions and filters |
actionCategoryGridFilterFormModifier | Modify category grid filters | This hook allows to modify filters for category grid |
actionCategoryGridPresenterModifier | Modify category grid template data | This hook allows to modify data which is about to be used in template for category grid |
actionCategoryGridQueryBuilderModifier | Modify category grid query builder | This hook allows to alter Doctrine query builder for category grid |
actionCategoryTreeSelectorFormBuilderModifier | Modify category tree selector identifiable object form | This hook allows to modify category tree selector identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCategoryTreeSelectorFormDataProviderData | Provide category tree selector identifiable object form data for update | This hook allows to provide category tree selector identifiable object form data which will prefill the form in update/edition page |
actionCategoryTreeSelectorFormDataProviderDefaultData | Provide category tree selector identifiable object default form data for creation | This hook allows to provide category tree selector identifiable object form data which will prefill the form in creation page |
actionCategoryUpdate | Category modification | This hook is displayed when a category is modified |
actionCheckoutRender | Modify checkout process | This hook is called when constructing the checkout process |
actionClearCache | Clear smarty cache | This hook is called when smarty's cache is cleared |
actionClearCompileCache | Clear smarty compile cache | This hook is called when smarty's compile cache is cleared |
actionClearSf2Cache | Clear Sf2 cache | This hook is called when the Symfony cache is cleared |
actionCmsPageCategoryFormBuilderModifier | Modify cms page category identifiable object form | This hook allows to modify cms page category identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCmsPageCategoryFormDataProviderData | Provide cms page category identifiable object form data for update | This hook allows to provide cms page category identifiable object form data which will prefill the form in update/edition page |
actionCmsPageCategoryFormDataProviderDefaultData | Provide cms page category identifiable object default form data for creation | This hook allows to provide cms page category identifiable object form data which will prefill the form in creation page |
actionCmsPageCategoryGridDataModifier | Modify cms page category grid data | This hook allows to modify cms page category grid data |
actionCmsPageCategoryGridDefinitionModifier | Modify cms page category grid definition | This hook allows to alter cms page category grid columns, actions and filters |
actionCmsPageCategoryGridFilterFormModifier | Modify cms page category grid filters | This hook allows to modify filters for cms page category grid |
actionCmsPageCategoryGridPresenterModifier | Modify cms page category grid template data | This hook allows to modify data which is about to be used in template for cms page category grid |
actionCmsPageCategoryGridQueryBuilderModifier | Modify cms page category grid query builder | This hook allows to alter Doctrine query builder for cms page category grid |
actionCmsPageFormBuilderModifier | Modify cms page identifiable object form | This hook allows to modify cms page identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCmsPageFormDataProviderData | Provide cms page identifiable object form data for update | This hook allows to provide cms page identifiable object form data which will prefill the form in update/edition page |
actionCmsPageFormDataProviderDefaultData | Provide cms page identifiable object default form data for creation | This hook allows to provide cms page identifiable object form data which will prefill the form in creation page |
actionCmsPageGridDataModifier | Modify cms page grid data | This hook allows to modify cms page grid data |
actionCmsPageGridDefinitionModifier | Modify cms page grid definition | This hook allows to alter cms page grid columns, actions and filters |
actionCmsPageGridFilterFormModifier | Modify cms page grid filters | This hook allows to modify filters for cms page grid |
actionCmsPageGridPresenterModifier | Modify cms page grid template data | This hook allows to modify data which is about to be used in template for cms page grid |
actionCmsPageGridQueryBuilderModifier | Modify cms page grid query builder | This hook allows to alter Doctrine query builder for cms page grid |
actionCombinationListFormBuilderModifier | Modify combination list identifiable object form | This hook allows to modify combination list identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCombinationListFormDataProviderData | Provide combination list identifiable object form data for update | This hook allows to provide combination list identifiable object form data which will prefill the form in update/edition page |
actionCombinationListFormDataProviderDefaultData | Provide combination list identifiable object default form data for creation | This hook allows to provide combination list identifiable object form data which will prefill the form in creation page |
actionContactFormBuilderModifier | Modify contact identifiable object form | This hook allows to modify contact identifiable object forms content by modifying form builder data or FormBuilder itself |
actionContactFormDataProviderData | Provide contact identifiable object form data for update | This hook allows to provide contact identifiable object form data which will prefill the form in update/edition page |
actionContactFormDataProviderDefaultData | Provide contact identifiable object default form data for creation | This hook allows to provide contact identifiable object form data which will prefill the form in creation page |
actionContactGridDataModifier | Modify contact grid data | This hook allows to modify contact grid data |
actionContactGridDefinitionModifier | Modify contact grid definition | This hook allows to alter contact grid columns, actions and filters |
actionContactGridFilterFormModifier | Modify contact grid filters | This hook allows to modify filters for contact grid |
actionContactGridPresenterModifier | Modify contact grid template data | This hook allows to modify data which is about to be used in template for contact grid |
actionContactGridQueryBuilderModifier | Modify contact grid query builder | This hook allows to alter Doctrine query builder for contact grid |
actionControllerInitAfter | Perform actions after controller initialization | This hook is launched after the initialization of all controllers |
actionControllerInitBefore | Perform actions before controller initialization | This hook is launched before the initialization of all controllers |
actionCountryFormBuilderModifier | Modify country identifiable object form | This hook allows to modify country identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCountryFormDataProviderData | Provide country identifiable object form data for update | This hook allows to provide country identifiable object form data which will prefill the form in update/edition page |
actionCountryFormDataProviderDefaultData | Provide country identifiable object default form data for creation | This hook allows to provide country identifiable object form data which will prefill the form in creation page |
actionCountryGridDataModifier | Modify country grid data | This hook allows to modify country grid data |
actionCountryGridDefinitionModifier | Modify country grid definition | This hook allows to alter country grid columns, actions and filters |
actionCountryGridFilterFormModifier | Modify country grid filters | This hook allows to modify filters for country grid |
actionCountryGridPresenterModifier | Modify country grid template data | This hook allows to modify data which is about to be used in template for country grid |
actionCountryGridQueryBuilderModifier | Modify country grid query builder | This hook allows to alter Doctrine query builder for country grid |
actionCreateProductFormBuilderModifier | Modify create product identifiable object form | This hook allows to modify create product identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCreateProductFormDataProviderData | Provide create product identifiable object form data for update | This hook allows to provide create product identifiable object form data which will prefill the form in update/edition page |
actionCreateProductFormDataProviderDefaultData | Provide create product identifiable object default form data for creation | This hook allows to provide create product identifiable object form data which will prefill the form in creation page |
actionCreditSlipForm | Modify credit slip options form content | This hook allows to modify credit slip options form FormBuilder |
actionCreditSlipGridDataModifier | Modify credit slip grid data | This hook allows to modify credit slip grid data |
actionCreditSlipGridDefinitionModifier | Modify credit slip grid definition | This hook allows to alter credit slip grid columns, actions and filters |
actionCreditSlipGridFilterFormModifier | Modify credit slip grid filters | This hook allows to modify filters for credit slip grid |
actionCreditSlipGridPresenterModifier | Modify credit slip grid template data | This hook allows to modify data which is about to be used in template for credit slip grid |
actionCreditSlipGridQueryBuilderModifier | Modify credit slip grid query builder | This hook allows to alter Doctrine query builder for credit slip grid |
actionCreditSlipSave | Modify credit slip options form saved data | This hook allows to modify data of credit slip options form after it was saved |
actionCurrencyForm | Modify currency options form content | This hook allows to modify currency options form FormBuilder |
actionCurrencyFormBuilderModifier | Modify currency identifiable object form | This hook allows to modify currency identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCurrencyFormDataProviderData | Provide currency identifiable object form data for update | This hook allows to provide currency identifiable object form data which will prefill the form in update/edition page |
actionCurrencyFormDataProviderDefaultData | Provide currency identifiable object default form data for creation | This hook allows to provide currency identifiable object form data which will prefill the form in creation page |
actionCurrencyGridDataModifier | Modify currency grid data | This hook allows to modify currency grid data |
actionCurrencyGridDefinitionModifier | Modify currency grid definition | This hook allows to alter currency grid columns, actions and filters |
actionCurrencyGridFilterFormModifier | Modify currency grid filters | This hook allows to modify filters for currency grid |
actionCurrencyGridPresenterModifier | Modify currency grid template data | This hook allows to modify data which is about to be used in template for currency grid |
actionCurrencyGridQueryBuilderModifier | Modify currency grid query builder | This hook allows to alter Doctrine query builder for currency grid |
actionCurrencySave | Modify currency options form saved data | This hook allows to modify data of currency options form after it was saved |
actionCustomerAccountAdd | Successful customer account creation | This hook is called when a new customer creates an account successfully |
actionCustomerAccountUpdate | Successful customer account update | This hook is called when a customer updates its account successfully |
actionCustomerAddGroups | ||
actionCustomerAddressGridDataModifier | Modify customer address grid data | This hook allows to modify customer address grid data |
actionCustomerAddressGridDefinitionModifier | Modify customer address grid definition | This hook allows to alter customer address grid columns, actions and filters |
actionCustomerAddressGridFilterFormModifier | Modify customer address grid filters | This hook allows to modify filters for customer address grid |
actionCustomerAddressGridPresenterModifier | Modify customer address grid template data | This hook allows to modify data which is about to be used in template for customer address grid |
actionCustomerAddressGridQueryBuilderModifier | Modify customer address grid query builder | This hook allows to alter Doctrine query builder for customer address grid |
actionCustomerBeforeUpdateGroup | ||
actionCustomerBoughtProductGridDataModifier | Modify customer bought product grid data | This hook allows to modify customer bought product grid data |
actionCustomerBoughtProductGridDefinitionModifier | Modify customer bought product grid definition | This hook allows to alter customer bought product grid columns, actions and filters |
actionCustomerBoughtProductGridFilterFormModifier | Modify customer bought product grid filters | This hook allows to modify filters for customer bought product grid |
actionCustomerBoughtProductGridPresenterModifier | Modify customer bought product grid template data | This hook allows to modify data which is about to be used in template for customer bought product grid |
actionCustomerBoughtProductGridQueryBuilderModifier | Modify customer bought product grid query builder | This hook allows to alter Doctrine query builder for customer bought product grid |
actionCustomerCartGridDataModifier | Modify customer cart grid data | This hook allows to modify customer cart grid data |
actionCustomerCartGridDefinitionModifier | Modify customer cart grid definition | This hook allows to alter customer cart grid columns, actions and filters |
actionCustomerCartGridFilterFormModifier | Modify customer cart grid filters | This hook allows to modify filters for customer cart grid |
actionCustomerCartGridPresenterModifier | Modify customer cart grid template data | This hook allows to modify data which is about to be used in template for customer cart grid |
actionCustomerCartGridQueryBuilderModifier | Modify customer cart grid query builder | This hook allows to alter Doctrine query builder for customer cart grid |
actionCustomerDiscountGridDataModifier | Modify customer discount grid data | This hook allows to modify customer discount grid data |
actionCustomerDiscountGridDefinitionModifier | Modify customer discount grid definition | This hook allows to alter customer discount grid columns, actions and filters |
actionCustomerDiscountGridFilterFormModifier | Modify customer discount grid filters | This hook allows to modify filters for customer discount grid |
actionCustomerDiscountGridPresenterModifier | Modify customer discount grid template data | This hook allows to modify data which is about to be used in template for customer discount grid |
actionCustomerDiscountGridQueryBuilderModifier | Modify customer discount grid query builder | This hook allows to alter Doctrine query builder for customer discount grid |
actionCustomerFormBuilderModifier | Modify customer identifiable object form | This hook allows to modify customer identifiable object forms content by modifying form builder data or FormBuilder itself |
actionCustomerFormDataProviderData | Provide customer identifiable object form data for update | This hook allows to provide customer identifiable object form data which will prefill the form in update/edition page |
actionCustomerFormDataProviderDefaultData | Provide customer identifiable object default form data for creation | This hook allows to provide customer identifiable object form data which will prefill the form in creation page |
actionCustomerGridDataModifier | Modify customer grid data | This hook allows to modify customer grid data |
actionCustomerGridDefinitionModifier | Modify customer grid definition | This hook allows to alter customer grid columns, actions and filters |
actionCustomerGridFilterFormModifier | Modify customer grid filters | This hook allows to modify filters for customer grid |
actionCustomerGridPresenterModifier | Modify customer grid template data | This hook allows to modify data which is about to be used in template for customer grid |
actionCustomerGridQueryBuilderModifier | Modify customer grid query builder | This hook allows to alter Doctrine query builder for customer grid |
actionCustomerGroupsGridDataModifier | Modify customer groups grid data | This hook allows to modify customer groups grid data |
actionCustomerGroupsGridDefinitionModifier | Modify customer groups grid definition | This hook allows to alter customer groups grid columns, actions and filters |
actionCustomerGroupsGridFilterFormModifier | Modify customer groups grid filters | This hook allows to modify filters for customer groups grid |
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 |
actionCustomerGroupsGridQueryBuilderModifier | Modify customer groups grid query builder | This hook allows to alter Doctrine query builder for customer groups grid |
actionCustomerLogoutAfter | After customer logout | This hook allows you to execute code after customer logout |
actionCustomerLogoutBefore | Before customer logout | This hook allows you to execute code before customer logout |
actionCustomerOrderGridDataModifier | Modify customer order grid data | This hook allows to modify customer order grid data |
actionCustomerOrderGridDefinitionModifier | Modify customer order grid definition | This hook allows to alter customer order grid columns, actions and filters |
actionCustomerOrderGridFilterFormModifier | Modify customer order grid filters | This hook allows to modify filters for customer order grid |
actionCustomerOrderGridPresenterModifier | Modify customer order grid template data | This hook allows to modify data which is about to be used in template for customer order grid |
actionCustomerOrderGridQueryBuilderModifier | Modify customer order grid query builder | This hook allows to alter Doctrine query builder for customer order grid |
actionCustomerPreferencesPageForm | Modify customer preferences page options form content | This hook allows to modify customer preferences page options form FormBuilder |
actionCustomerPreferencesPageSave | Modify customer preferences page options form saved data | This hook allows to modify data of customer preferences page options form after it was saved |
actionCustomerThreadGridDataModifier | Modify customer thread grid data | This hook allows to modify customer thread grid data |
actionCustomerThreadGridDefinitionModifier | Modify customer thread grid definition | This hook allows to alter customer thread grid columns, actions and filters |
actionCustomerThreadGridFilterFormModifier | Modify customer thread grid filters | This hook allows to modify filters for customer thread grid |
actionCustomerThreadGridPresenterModifier | Modify customer thread grid template data | This hook allows to modify data which is about to be used in template for customer thread grid |
actionCustomerThreadGridQueryBuilderModifier | Modify customer thread grid query builder | This hook allows to alter Doctrine query builder for customer thread grid |
actionCustomerViewedProductGridDataModifier | Modify customer viewed product grid data | This hook allows to modify customer viewed product grid data |
actionCustomerViewedProductGridDefinitionModifier | Modify customer viewed product grid definition | This hook allows to alter customer viewed product grid columns, actions and filters |
actionCustomerViewedProductGridFilterFormModifier | Modify customer viewed product grid filters | This hook allows to modify filters for customer viewed product grid |
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 |
actionCustomerViewedProductGridQueryBuilderModifier | Modify customer viewed product grid query builder | This hook allows to alter Doctrine query builder for customer viewed product grid |
actionDeleteGDPRCustomer | ||
actionDeliveryPriceByPrice | ||
actionDeliveryPriceByWeight | ||
actionDisabledProductGridDataModifier | Modify disabled product grid data | This hook allows to modify disabled product grid data |
actionDisabledProductGridDefinitionModifier | Modify disabled product grid definition | This hook allows to alter disabled product grid columns, actions and filters |
actionDisabledProductGridFilterFormModifier | Modify disabled product grid filters | This hook allows to modify filters for disabled product grid |
actionDisabledProductGridPresenterModifier | Modify disabled product grid template data | This hook allows to modify data which is about to be used in template for disabled product grid |
actionDisabledProductGridQueryBuilderModifier | Modify disabled product grid query builder | This hook allows to alter Doctrine query builder for disabled product grid |
actionDispatcher | ||
actionDispatcherAfter | After dispatch | This hook is called at the end of the dispatch method of the Dispatcher |
actionDispatcherBefore | Before dispatch | This hook is called at the beginning of the dispatch method of the Dispatcher |
actionDownloadAttachment | ||
actionDuplicateCartData | Cart duplication | This hook is triggered after all the cart related data has been duplicated |
actionEmailAddAfterContent | Add extra content after mail content | This hook is called just after fetching mail template |
actionEmailAddBeforeContent | Add extra content before mail content | This hook is called just before fetching mail template |
actionEmailConfigurationForm | Modify email configuration options form content | This hook allows to modify email configuration options form FormBuilder |
actionEmailConfigurationSave | Modify email configuration options form saved data | This hook allows to modify data of email configuration options form after it was saved |
actionEmailLogsGridDataModifier | Modify email logs grid data | This hook allows to modify email logs grid data |
actionEmailLogsGridDefinitionModifier | Modifying E-mail grid definition | This hook allows to alter E-mail grid columns, actions and filters |
actionEmailLogsGridFilterFormModifier | Modify filters form for E-mail grid | This hook allows to alter filters form used in E-mail |
actionEmailLogsGridPresenterModifier | Modify E-mail grid view data | This hook allows to alter presented E-mail grid data |
actionEmailLogsGridQueryBuilderModifier | Modify E-mail grid query builder | This hook allows to alter Doctrine query builder for E-mail grid |
actionEmailSendBefore | Before sending an email | This hook is used to filter the content or the metadata of an email before sending it or even prevent its sending |
actionEmployeeForm | Modify employee options form content | This hook allows to modify employee options form FormBuilder |
actionEmployeeFormBuilderModifier | Modify employee identifiable object form | This hook allows to modify employee identifiable object forms content by modifying form builder data or FormBuilder itself |
actionEmployeeFormDataProviderData | Provide employee identifiable object form data for update | This hook allows to provide employee identifiable object form data which will prefill the form in update/edition page |
actionEmployeeFormDataProviderDefaultData | Provide employee identifiable object default form data for creation | This hook allows to provide employee identifiable object form data which will prefill the form in creation page |
actionEmployeeGridDataModifier | Modify employee grid data | This hook allows to modify employee grid data |
actionEmployeeGridDefinitionModifier | Modify employee grid definition | This hook allows to alter employee grid columns, actions and filters |
actionEmployeeGridFilterFormModifier | Modify employee grid filters | This hook allows to modify filters for employee grid |
actionEmployeeGridPresenterModifier | Modify employee grid template data | This hook allows to modify data which is about to be used in template for employee grid |
actionEmployeeGridQueryBuilderModifier | Modify employee grid query builder | This hook allows to alter Doctrine query builder for employee grid |
actionEmployeeRequestPasswordResetForm | Modify employee request password reset options form content | This hook allows to modify employee request password reset options form FormBuilder |
actionEmployeeRequestPasswordResetSave | Modify employee request password reset options form saved data | This hook allows to modify data of employee request password reset options form after it was saved |
actionEmployeeResetPasswordForm | Modify employee reset password options form content | This hook allows to modify employee reset password options form FormBuilder |
actionEmployeeResetPasswordSave | Modify employee reset password options form saved data | This hook allows to modify data of employee reset password options form after it was saved |
actionEmployeeSave | Modify employee options form saved data | This hook allows to modify data of employee options form after it was saved |
actionEmptyCategoryGridDataModifier | Modify empty category grid data | This hook allows to modify empty category grid data |
actionEmptyCategoryGridDefinitionModifier | Modify empty category grid definition | This hook allows to alter empty category grid columns, actions and filters |
actionEmptyCategoryGridFilterFormModifier | Modify empty category grid filters | This hook allows to modify filters for empty category grid |
actionEmptyCategoryGridPresenterModifier | Modify empty category grid template data | This hook allows to modify data which is about to be used in template for empty category grid |
actionEmptyCategoryGridQueryBuilderModifier | Modify empty category grid query builder | This hook allows to alter Doctrine query builder for empty category grid |
actionExportGDPRData | ||
actionFacebookCallPixel | actionFacebookCallPixel | |
actionFeatureDelete | Deleting attributes' features | This hook is called while deleting an attributes features |
actionFeatureFlagBetaForm | Modify feature flag beta options form content | This hook allows to modify feature flag beta options form FormBuilder |
actionFeatureFlagBetaSave | Modify feature flag beta options form saved data | This hook allows to modify data of feature flag beta options form after it was saved |
actionFeatureFlagForm | Modify feature flag page form content | This hook allows to modify the Feature Flag page form's FormBuilder |
actionFeatureFlagSave | Modify feature flag form submitted data | This hook allows to modify the Feature Flag data being submitted through the form after it was saved |
actionFeatureFlagStableForm | Modify feature flag stable options form content | This hook allows to modify feature flag stable options form FormBuilder |
actionFeatureFlagStableSave | Modify feature flag stable options form saved data | This hook allows to modify data of feature flag stable options form after it was saved |
actionFeatureFormBuilderModifier | Modify feature identifiable object form | This hook allows to modify feature identifiable object forms content by modifying form builder data or FormBuilder itself |
actionFeatureFormDataProviderData | Provide feature identifiable object form data for update | This hook allows to provide feature identifiable object form data which will prefill the form in update/edition page |
actionFeatureFormDataProviderDefaultData | Provide feature identifiable object default form data for creation | This hook allows to provide feature identifiable object form data which will prefill the form in creation page |
actionFeatureSave | Saving attributes' features | This hook is called while saving an attributes features |
actionFeatureValueDelete | Deleting attributes' features' values | This hook is called while deleting an attributes features value |
actionFeatureValueFormBuilderModifier | Modify feature value identifiable object form | This hook allows to modify feature value identifiable object forms content by modifying form builder data or FormBuilder itself |
actionFeatureValueFormDataProviderData | Provide feature value identifiable object form data for update | This hook allows to provide feature value identifiable object form data which will prefill the form in update/edition page |
actionFeatureValueFormDataProviderDefaultData | Provide feature value identifiable object default form data for creation | This hook allows to provide feature value identifiable object form data which will prefill the form in creation page |
actionFeatureValueSave | Saving an attributes features value | This hook is called while saving an attributes features value |
actionFilterDeliveryOptionList | Modify delivery option list result | This hook allows you to modify delivery option list |
actionFrontControllerInitAfter | Perform actions after front office controller initialization | This hook is launched after the initialization of all front office controllers |
actionFrontControllerInitBefore | Perform actions before front office controller initialization | This hook is launched before the initialization of all front office controllers |
actionFrontControllerSetMedia | ||
actionFrontControllerSetVariables | Add variables in JavaScript object and Smarty templates | Add variables to javascript object that is available in Front Office. These are also available in smarty templates in modules.your_module_name. |
actionFrontControllerSetVariablesBefore | Add general purpose variables in JavaScript object and Smarty templates before assignation. | Allows defining variables for the JavaScript object before the core does it. |
actionGeneralPageForm | Modify general page options form content | This hook allows to modify general page options form FormBuilder |
actionGeneralPageSave | Modify general page options form saved data | This hook allows to modify data of general page options form after it was saved |
actionGenerateDocumentReference | Modify document reference | This hook allows modules to return custom document references |
actionGeolocationPageByAddressForm | Modify geolocation page by address options form content | This hook allows to modify geolocation page by address options form FormBuilder |
actionGeolocationPageByAddressSave | Modify geolocation page by address options form saved data | This hook allows to modify data of geolocation page by address options form after it was saved |
actionGeolocationPageForm | Modify geolocation page options form content | This hook allows to modify geolocation page options form FormBuilder |
actionGeolocationPageOptionsForm | Modify geolocation page options options form content | This hook allows to modify geolocation page options options form FormBuilder |
actionGeolocationPageOptionsSave | Modify geolocation page options options form saved data | This hook allows to modify data of geolocation page options options form after it was saved |
actionGeolocationPageSave | Modify geolocation page options form saved data | This hook allows to modify data of geolocation page options form after it was saved |
actionGeolocationPageWhitelistForm | Modify geolocation page whitelist options form content | This hook allows to modify geolocation page whitelist options form FormBuilder |
actionGeolocationPageWhitelistSave | Modify geolocation page whitelist options form saved data | This hook allows to modify data of geolocation page whitelist options form after it was saved |
actionGetAdminOrderButtons | Admin Order Buttons | This hook is used to generate the buttons collection on the order view page (see ActionsBarButtonsCollection) |
actionGetAdminToolbarButtons | Allows to add buttons in any toolbar in the back office | This hook allows you to define descriptions of buttons to add in any toolbar of the back office |
actionGetAlternativeSearchPanels | Additional search panel | This hook allows to add an additional search panel for external providers in PrestaShop back office |
actionGetExtraMailTemplateVars | ||
actionGetIDZoneByAddressID | ||
actionGetMailLayoutTransformations | Define the transformation to apply on layout | This hook allows to add/remove TransformationInterface used to generate an email layout |
actionGetMailThemeFolder | Define the folder of an email theme | This hook allows to change the folder of an email theme (useful if you theme is in a module for example) |
actionGetPdfRenderer | Provide a PDF renderer | This hook allows to provide a custom PDF renderer to generate PDF files |
actionGetProductPropertiesAfter | ||
actionGetProductPropertiesAfterUnitPrice | Product Properties | This hook is called after defining the properties of a product |
actionGetProductPropertiesBefore | ||
actionHtaccessCreate | After htaccess creation | This hook is displayed after the htaccess creation |
actionImageSettingsPageForm | Modify image settings page options form content | This hook allows to modify image settings page options form FormBuilder |
actionImageSettingsPageSave | Modify image settings page options form saved data | This hook allows to modify data of image settings page options form after it was saved |
actionImageTypeFormBuilderModifier | Modify image type identifiable object form | This hook allows to modify image type identifiable object forms content by modifying form builder data or FormBuilder itself |
actionImageTypeFormDataProviderData | Provide image type identifiable object form data for update | This hook allows to provide image type identifiable object form data which will prefill the form in update/edition page |
actionImageTypeFormDataProviderDefaultData | Provide image type identifiable object default form data for creation | This hook allows to provide image type identifiable object form data which will prefill the form in creation page |
actionInvoiceNumberFormatted | ||
actionLanguageFormBuilderModifier | Modify language identifiable object form | This hook allows to modify language identifiable object forms content by modifying form builder data or FormBuilder itself |
actionLanguageFormDataProviderData | Provide language identifiable object form data for update | This hook allows to provide language identifiable object form data which will prefill the form in update/edition page |
actionLanguageFormDataProviderDefaultData | Provide language identifiable object default form data for creation | This hook allows to provide language identifiable object form data which will prefill the form in creation page |
actionLanguageGridDataModifier | Modify language grid data | This hook allows to modify language grid data |
actionLanguageGridDefinitionModifier | Modify language grid definition | This hook allows to alter language grid columns, actions and filters |
actionLanguageGridFilterFormModifier | Modify language grid filters | This hook allows to modify filters for language grid |
actionLanguageGridPresenterModifier | Modify language grid template data | This hook allows to modify data which is about to be used in template for language grid |
actionLanguageGridQueryBuilderModifier | Modify language grid query builder | This hook allows to alter Doctrine query builder for language grid |
actionLanguageLinkParameters | Add parameters to language link | Allows modules to provide proper parameters for links in other languages. |
actionListMailThemes | List the available email themes and layouts | This hook allows to add/remove available email themes (ThemeInterface) and/or to add/remove their layouts (LayoutInterface) |
actionListModules | Add modules to the module manager list | This hook allows you to add modules to the list of modules displayed in the module manager page |
actionLocalizationPageAdvancedForm | Modify localization page advanced options form content | This hook allows to modify localization page advanced options form FormBuilder |
actionLocalizationPageAdvancedSave | Modify localization page advanced options form saved data | This hook allows to modify data of localization page advanced options form after it was saved |
actionLocalizationPageConfigurationForm | Modify localization page configuration options form content | This hook allows to modify localization page configuration options form FormBuilder |
actionLocalizationPageConfigurationSave | Modify localization page configuration options form saved data | This hook allows to modify data of localization page configuration options form after it was saved |
actionLocalizationPageForm | Modify localization page options form content | This hook allows to modify localization page options form FormBuilder |
actionLocalizationPageLocalUnitsForm | Modify localization page local units options form content | This hook allows to modify localization page local units options form FormBuilder |
actionLocalizationPageLocalUnitsSave | Modify localization page local units options form saved data | This hook allows to modify data of localization page local units options form after it was saved |
actionLocalizationPageSave | Modify localization page options form saved data | This hook allows to modify data of localization page options form after it was saved |
actionLoggerLogMessage | Allows to make extra action while a log is triggered | This hook allows to make an extra action while an exception is thrown and the logger logs it |
actionLogsGridDataModifier | Modify logs grid data | This hook allows to modify logs grid data |
actionLogsGridDefinitionModifier | Modifying Logs grid definition | This hook allows to alter Logs grid columns, actions and filters |
actionLogsGridFilterFormModifier | Modify filters form for Logs grid | This hook allows to alter filters form used in Logs |
actionLogsGridPresenterModifier | Modify Logs grid view data | This hook allows to alter presented Logs grid data |
actionLogsGridQueryBuilderModifier | Modify Logs grid query builder | This hook allows to alter Doctrine query builder for Logs grid |
actionLogsPageForm | Modify logs page options form content | This hook allows to modify logs page options form FormBuilder |
actionLogsPageSave | Modify logs page options form saved data | This hook allows to modify data of logs page options form after it was saved |
actionMailAlterMessageBeforeSend | Modify Swift Message before sending | This hook is called before the Swift Message is sent in Mail.php |
actionMailThemeForm | Modify mail theme options form content | This hook allows to modify mail theme options form FormBuilder |
actionMailThemeSave | Modify mail theme options form saved data | This hook allows to modify data of mail theme options form after it was saved |
actionMaintenancePageForm | Manage Maintenance Page form fields | This hook adds, update or remove fields of the Maintenance Page form |
actionMaintenancePageSave | Modify maintenance page options form saved data | This hook allows to modify data of maintenance page options form after it was saved |
actionManufacturerAddressFormBuilderModifier | Modify manufacturer address identifiable object form | This hook allows to modify manufacturer address identifiable object forms content by modifying form builder data or FormBuilder itself |
actionManufacturerAddressGridDataModifier | Modify manufacturer address grid data | This hook allows to modify manufacturer address grid data |
actionManufacturerAddressGridDefinitionModifier | Modify manufacturer address grid definition | This hook allows to alter manufacturer address grid columns, actions and filters |
actionManufacturerAddressGridFilterFormModifier | Modify manufacturer address grid filters | This hook allows to modify filters for manufacturer address grid |
actionManufacturerAddressGridPresenterModifier | Modify manufacturer address grid template data | This hook allows to modify data which is about to be used in template for manufacturer address grid |
actionManufacturerAddressGridQueryBuilderModifier | Modify manufacturer address grid query builder | This hook allows to alter Doctrine query builder for manufacturer address grid |
actionManufacturerFormBuilderModifier | Modify manufacturer identifiable object form | This hook allows to modify manufacturer identifiable object forms content by modifying form builder data or FormBuilder itself |
actionManufacturerFormDataProviderData | Provide manufacturer identifiable object form data for update | This hook allows to provide manufacturer identifiable object form data which will prefill the form in update/edition page |
actionManufacturerFormDataProviderDefaultData | Provide manufacturer identifiable object default form data for creation | This hook allows to provide manufacturer identifiable object form data which will prefill the form in creation page |
actionManufacturerGridDataModifier | Modify manufacturer grid data | This hook allows to modify manufacturer grid data |
actionManufacturerGridDefinitionModifier | Modify manufacturer grid definition | This hook allows to alter manufacturer grid columns, actions and filters |
actionManufacturerGridFilterFormModifier | Modify manufacturer grid filters | This hook allows to modify filters for manufacturer grid |
actionManufacturerGridPresenterModifier | Modify manufacturer grid template data | This hook allows to modify data which is about to be used in template for manufacturer grid |
actionManufacturerGridQueryBuilderModifier | Modify manufacturer grid query builder | This hook allows to alter Doctrine query builder for manufacturer grid |
actionMboRecommendedModules | ||
actionMerchandiseReturnForm | Modify merchandise return options form content | This hook allows to modify merchandise return options form FormBuilder |
actionMerchandiseReturnGridDataModifier | Modify merchandise return grid data | This hook allows to modify merchandise return grid data |
actionMerchandiseReturnGridDefinitionModifier | Modify merchandise return grid definition | This hook allows to alter merchandise return grid columns, actions and filters |
actionMerchandiseReturnGridFilterFormModifier | Modify merchandise return grid filters | This hook allows to modify filters for merchandise return grid |
actionMerchandiseReturnGridPresenterModifier | Modify merchandise return grid template data | This hook allows to modify data which is about to be used in template for merchandise return grid |
actionMerchandiseReturnGridQueryBuilderModifier | Modify merchandise return grid query builder | This hook allows to alter Doctrine query builder for merchandise return grid |
actionMerchandiseReturnSave | Modify merchandise return options form saved data | This hook allows to modify data of merchandise return options form after it was saved |
actionMetaFormBuilderModifier | Modify meta identifiable object form | This hook allows to modify meta identifiable object forms content by modifying form builder data or FormBuilder itself |
actionMetaFormDataProviderData | Provide meta identifiable object form data for update | This hook allows to provide meta identifiable object form data which will prefill the form in update/edition page |
actionMetaFormDataProviderDefaultData | Provide meta identifiable object default form data for creation | This hook allows to provide meta identifiable object form data which will prefill the form in creation page |
actionMetaGridDataModifier | Modify meta grid data | This hook allows to modify meta grid data |
actionMetaGridDefinitionModifier | Modifying SEO and URLs grid definition | This hook allows to alter SEO and URLs grid columns, actions and filters |
actionMetaGridFilterFormModifier | Modify filters form for SEO and URLs grid | This hook allows to alter filters form used in SEO and URLs |
actionMetaGridPresenterModifier | Modify SEO and URLs grid view data | This hook allows to alter presented SEO and URLs grid data |
actionMetaGridQueryBuilderModifier | Modify SEO and URLs grid query builder | This hook allows to alter Doctrine query builder for SEO and URLs grid |
actionMetaPageForm | Modify meta page options form content | This hook allows to modify meta page options form FormBuilder |
actionMetaPageSave | Modify meta page options form saved data | This hook allows to modify data of meta page options form after it was saved |
actionModifyFrontendSitemap | Add or remove links on sitemap page | This hook allows to modify links on sitemap page of your shop. Useful to improve indexation of your modules. |
actionModuleInstallAfter | actionModuleInstallAfter | |
actionModuleInstallBefore | actionModuleInstallBefore | |
actionModuleMailAlertSendCustomer | ||
actionModuleRegisterHookAfter | ||
actionModuleRegisterHookBefore | ||
actionModuleUninstallAfter | actionModuleUninstallAfter | |
actionModuleUninstallBefore | actionModuleUninstallBefore | |
actionModuleUnRegisterHookAfter | ||
actionModuleUnRegisterHookBefore | ||
actionNewsletterRegistrationAfter | ||
actionNewsletterRegistrationBefore | ||
actionNoQtyProductWithCombinationGridDataModifier | Modify no qty product with combination grid data | This hook allows to modify no qty product with combination grid data |
actionNoQtyProductWithCombinationGridDefinitionModifier | Modify no qty product with combination grid definition | This hook allows to alter no qty product with combination grid columns, actions and filters |
actionNoQtyProductWithCombinationGridFilterFormModifier | Modify no qty product with combination grid filters | This hook allows to modify filters for no qty product with combination grid |
actionNoQtyProductWithCombinationGridPresenterModifier | Modify no qty product with combination grid template data | This hook allows to modify data which is about to be used in template for no qty product with combination grid |
actionNoQtyProductWithCombinationGridQueryBuilderModifier | Modify no qty product with combination grid query builder | This hook allows to alter Doctrine query builder for no qty product with combination grid |
actionNoQtyProductWithoutCombinationGridDataModifier | Modify no qty product without combination grid data | This hook allows to modify no qty product without combination grid data |
actionNoQtyProductWithoutCombinationGridDefinitionModifier | Modify no qty product without combination grid definition | This hook allows to alter no qty product without combination grid columns, actions and filters |
actionNoQtyProductWithoutCombinationGridFilterFormModifier | Modify no qty product without combination grid filters | This hook allows to modify filters for no qty product without combination grid |
actionNoQtyProductWithoutCombinationGridPresenterModifier | Modify no qty product without combination grid template data | This hook allows to modify data which is about to be used in template for no qty product without combination grid |
actionNoQtyProductWithoutCombinationGridQueryBuilderModifier | Modify no qty product without combination grid query builder | This hook allows to alter Doctrine query builder for no qty product without combination grid |
actionObjectAddAfter | ||
actionObjectAddBefore | ||
actionObjectCarrierAddAfter | actionObjectCarrierAddAfter | |
actionObjectCarrierDeleteAfter | actionObjectCarrierDeleteAfter | |
actionObjectCarrierUpdateAfter | actionObjectCarrierUpdateAfter | |
actionObjectCartAddAfter | actionObjectCartAddAfter | |
actionObjectCartRuleAddAfter | actionObjectCartRuleAddAfter | |
actionObjectCartRuleDeleteAfter | actionObjectCartRuleDeleteAfter | |
actionObjectCartRuleUpdateAfter | actionObjectCartRuleUpdateAfter | |
actionObjectCartUpdateAfter | actionObjectCartUpdateAfter | |
actionObjectCategoryAddAfter | actionObjectCategoryAddAfter | |
actionObjectCategoryDeleteAfter | actionObjectCategoryDeleteAfter | |
actionObjectCategoryUpdateAfter | actionObjectCategoryUpdateAfter | |
actionObjectCmsAddAfter | actionObjectCmsAddAfter | |
actionObjectCmsDeleteAfter | actionObjectCmsDeleteAfter | |
actionObjectCmsUpdateAfter | actionObjectCmsUpdateAfter | |
actionObjectCombinationAddAfter | actionObjectCombinationAddAfter | |
actionObjectCombinationDeleteAfter | actionObjectCombinationDeleteAfter | |
actionObjectCombinationUpdateAfter | actionObjectCombinationUpdateAfter | |
actionObjectContactAddAfter | actionObjectContactAddAfter | |
actionObjectCurrencyAddAfter | actionObjectCurrencyAddAfter | |
actionObjectCurrencyDeleteAfter | actionObjectCurrencyDeleteAfter | |
actionObjectCurrencyUpdateAfter | actionObjectCurrencyUpdateAfter | |
actionObjectCustomerAddAfter | actionObjectCustomerAddAfter | |
actionObjectCustomerDeleteAfter | actionObjectCustomerDeleteAfter | |
actionObjectCustomerMessageAddAfter | actionObjectCustomerMessageAddAfter | |
actionObjectCustomerThreadAddAfter | actionObjectCustomerThreadAddAfter | |
actionObjectCustomerUpdateAfter | actionObjectCustomerUpdateAfter | |
actionObjectCustomerUpdateBefore | actionObjectCustomerUpdateBefore | |
actionObjectDeleteAfter | ||
actionObjectDeleteBefore | ||
actionObjectDuplicateAfter | After duplicating an object | This hook is called after duplicating an object by the core. |
actionObjectEmployeeAddAfter | actionObjectEmployeeAddAfter | |
actionObjectEmployeeDeleteAfter | actionObjectEmployeeDeleteAfter | |
actionObjectEmployeeUpdateAfter | actionObjectEmployeeUpdateAfter | |
actionObjectImageAddAfter | actionObjectImageAddAfter | |
actionObjectImageDeleteAfter | actionObjectImageDeleteAfter | |
actionObjectImageTypeAddAfter | actionObjectImageTypeAddAfter | |
actionObjectImageTypeDeleteAfter | actionObjectImageTypeDeleteAfter | |
actionObjectImageTypeUpdateAfter | actionObjectImageTypeUpdateAfter | |
actionObjectImageUpdateAfter | actionObjectImageUpdateAfter | |
actionObjectLanguageAddAfter | actionObjectLanguageAddAfter | |
actionObjectLanguageDeleteAfter | actionObjectLanguageDeleteAfter | |
actionObjectLanguageUpdateAfter | actionObjectLanguageUpdateAfter | |
actionObjectManufacturerAddAfter | actionObjectManufacturerAddAfter | |
actionObjectManufacturerDeleteAfter | actionObjectManufacturerDeleteAfter | |
actionObjectManufacturerUpdateAfter | actionObjectManufacturerUpdateAfter | |
actionObjectOrderAddAfter | actionObjectOrderAddAfter | |
actionObjectOrderCarrierAddAfter | actionObjectOrderCarrierAddAfter | |
actionObjectOrderCarrierUpdateAfter | actionObjectOrderCarrierUpdateAfter | |
actionObjectOrderCartRuleAddAfter | actionObjectOrderCartRuleAddAfter | |
actionObjectOrderCartRuleUpdateAfter | actionObjectOrderCartRuleUpdateAfter | |
actionObjectOrderDetailAddAfter | actionObjectOrderDetailAddAfter | |
actionObjectOrderDetailUpdateAfter | actionObjectOrderDetailUpdateAfter | |
actionObjectOrderHistoryAddAfter | actionObjectOrderHistoryAddAfter | |
actionObjectOrderHistoryUpdateAfter | actionObjectOrderHistoryUpdateAfter | |
actionObjectOrderPaymentAddAfter | actionObjectOrderPaymentAddAfter | |
actionObjectOrderPaymentUpdateAfter | actionObjectOrderPaymentUpdateAfter | |
actionObjectOrderUpdateAfter | actionObjectOrderUpdateAfter | |
actionObjectProductAddAfter | actionObjectProductAddAfter | |
actionObjectProductCommentValidateAfter | ||
actionObjectProductDeleteAfter | actionObjectProductDeleteAfter | |
actionObjectProductInCartDeleteAfter | Cart product removal | This hook is called after a product is removed from a cart |
actionObjectProductInCartDeleteBefore | Cart product removal | This hook is called before a product is removed from a cart |
actionObjectProductUpdateAfter | actionObjectProductUpdateAfter | |
actionObjectShopAddAfter | actionObjectShopAddAfter | |
actionObjectShopDeleteAfter | actionObjectShopDeleteAfter | |
actionObjectShopDeleteBefore | actionObjectShopDeleteBefore | |
actionObjectShopGroupAddAfter | actionObjectShopGroupAddAfter | |
actionObjectShopUpdateAfter | actionObjectShopUpdateAfter | |
actionObjectShopUrlUpdateAfter | actionObjectShopUrlUpdateAfter | |
actionObjectSpecificPriceAddAfter | actionObjectSpecificPriceAddAfter | |
actionObjectSpecificPriceCoreAddAfter | actionObjectSpecificPriceCoreAddAfter | |
actionObjectSpecificPriceCoreDeleteAfter | actionObjectSpecificPriceCoreDeleteAfter | |
actionObjectSpecificPriceCoreUpdateAfter | actionObjectSpecificPriceCoreUpdateAfter | |
actionObjectSpecificPriceDeleteAfter | actionObjectSpecificPriceDeleteAfter | |
actionObjectSpecificPriceRuleUpdateBefore | actionObjectSpecificPriceRuleUpdateBefore | |
actionObjectSpecificPriceUpdateAfter | actionObjectSpecificPriceUpdateAfter | |
actionObjectStockAvailableAddAfter | actionObjectStockAvailableAddAfter | |
actionObjectStockAvailableUpdateAfter | actionObjectStockAvailableUpdateAfter | |
actionObjectStockMvtAddAfter | actionObjectStockMvtAddAfter | |
actionObjectStoreAddAfter | actionObjectStoreAddAfter | |
actionObjectStoreDeleteAfter | actionObjectStoreDeleteAfter | |
actionObjectStoreUpdateAfter | actionObjectStoreUpdateAfter | |
actionObjectSupplierAddAfter | actionObjectSupplierAddAfter | |
actionObjectSupplierDeleteAfter | actionObjectSupplierDeleteAfter | |
actionObjectSupplierUpdateAfter | actionObjectSupplierUpdateAfter | |
actionObjectUpdateAfter | ||
actionObjectUpdateBefore | ||
actionObjectWishlistAddAfter | actionObjectWishlistAddAfter | |
actionObjectWishlistDeleteAfter | actionObjectWishlistDeleteAfter | |
actionObjectWishlistUpdateAfter | actionObjectWishlistUpdateAfter | |
actionOnImageCutAfter | ||
actionOnImageResizeAfter | ||
actionOrderDeliverySlipOptionsForm | Modify order delivery slip options options form content | This hook allows to modify order delivery slip options options form FormBuilder |
actionOrderDeliverySlipOptionsSave | Modify order delivery slip options options form saved data | This hook allows to modify data of order delivery slip options options form after it was saved |
actionOrderDeliverySlipPdfForm | Modify order delivery slip pdf options form content | This hook allows to modify order delivery slip pdf options form FormBuilder |
actionOrderDeliverySlipPdfSave | Modify order delivery slip pdf options form saved data | This hook allows to modify data of order delivery slip pdf options form after it was saved |
actionOrderEdited | Order edited | This hook is called when an order is edited |
actionOrderGridDataModifier | Modify order grid data | This hook allows to modify order grid data |
actionOrderGridDefinitionModifier | Modify order grid definition | This hook allows to alter order grid columns, actions and filters |
actionOrderGridFilterFormModifier | Modify order grid filters | This hook allows to modify filters for order grid |
actionOrderGridPresenterModifier | Modify order grid template data | This hook allows to modify data which is about to be used in template for order grid |
actionOrderGridQueryBuilderModifier | Modify order grid query builder | This hook allows to alter Doctrine query builder for order grid |
actionOrderHistoryAddAfter | ||
actionOrderMessageFormBuilderModifier | Modify order message identifiable object form | This hook allows to modify order message identifiable object forms content by modifying form builder data or FormBuilder itself |
actionOrderMessageFormDataProviderData | Provide order message identifiable object form data for update | This hook allows to provide order message identifiable object form data which will prefill the form in update/edition page |
actionOrderMessageFormDataProviderDefaultData | Provide order message identifiable object default form data for creation | This hook allows to provide order message identifiable object form data which will prefill the form in creation page |
actionOrderMessageGridDataModifier | Modify order message grid data | This hook allows to modify order message grid data |
actionOrderMessageGridDefinitionModifier | Modify order message grid definition | This hook allows to alter order message grid columns, actions and filters |
actionOrderMessageGridFilterFormModifier | Modify order message grid filters | This hook allows to modify filters for order message grid |
actionOrderMessageGridPresenterModifier | Modify order message grid template data | This hook allows to modify data which is about to be used in template for order message grid |
actionOrderMessageGridQueryBuilderModifier | Modify order message grid query builder | This hook allows to alter Doctrine query builder for order message grid |
actionOrderPreferencesPageForm | Modify order preferences page options form content | This hook allows to modify order preferences page options form FormBuilder |
actionOrderPreferencesPageGeneralForm | Modify order preferences page general options form content | This hook allows to modify order preferences page general options form FormBuilder |
actionOrderPreferencesPageGeneralSave | Modify order preferences page general options form saved data | This hook allows to modify data of order preferences page general options form after it was saved |
actionOrderPreferencesPageGiftOptionsForm | Modify order preferences page gift options options form content | This hook allows to modify order preferences page gift options options form FormBuilder |
actionOrderPreferencesPageGiftOptionsSave | Modify order preferences page gift options options form saved data | This hook allows to modify data of order preferences page gift options options form after it was saved |
actionOrderPreferencesPageSave | Modify order preferences page options form saved data | This hook allows to modify data of order preferences page options form after it was saved |
actionOrderReturn | Returned product | This hook is displayed when a customer returns a product |
actionOrderReturnFormBuilderModifier | Modify order return identifiable object form | This hook allows to modify order return identifiable object forms content by modifying form builder data or FormBuilder itself |
actionOrderReturnFormDataProviderData | Provide order return identifiable object form data for update | This hook allows to provide order return identifiable object form data which will prefill the form in update/edition page |
actionOrderReturnFormDataProviderDefaultData | Provide order return identifiable object default form data for creation | This hook allows to provide order return identifiable object form data which will prefill the form in creation page |
actionOrderReturnStateFormBuilderModifier | Modify order return state identifiable object form | This hook allows to modify order return state identifiable object forms content by modifying form builder data or FormBuilder itself |
actionOrderReturnStateFormDataProviderData | Provide order return state identifiable object form data for update | This hook allows to provide order return state identifiable object form data which will prefill the form in update/edition page |
actionOrderReturnStateFormDataProviderDefaultData | Provide order return state identifiable object default form data for creation | This hook allows to provide order return state identifiable object form data which will prefill the form in creation page |
actionOrderReturnStatesGridDataModifier | Modify order return states grid data | This hook allows to modify order return states grid data |
actionOrderReturnStatesGridDefinitionModifier | Modify order return states grid definition | This hook allows to alter order return states grid columns, actions and filters |
actionOrderReturnStatesGridFilterFormModifier | Modify order return states grid filters | This hook allows to modify filters for order return states grid |
actionOrderReturnStatesGridPresenterModifier | Modify order return states grid template data | This hook allows to modify data which is about to be used in template for order return states grid |
actionOrderReturnStatesGridQueryBuilderModifier | Modify order return states grid query builder | This hook allows to alter Doctrine query builder for order return states grid |
actionOrdersInvoicesByDateForm | Modify orders invoices by date options form content | This hook allows to modify orders invoices by date options form FormBuilder |
actionOrdersInvoicesByDateSave | Modify orders invoices by date options form saved data | This hook allows to modify data of orders invoices by date options form after it was saved |
actionOrdersInvoicesByStatusForm | Modify orders invoices by status options form content | This hook allows to modify orders invoices by status options form FormBuilder |
actionOrdersInvoicesByStatusSave | Modify orders invoices by status options form saved data | This hook allows to modify data of orders invoices by status options form after it was saved |
actionOrdersInvoicesOptionsForm | Modify orders invoices options options form content | This hook allows to modify orders invoices options options form FormBuilder |
actionOrdersInvoicesOptionsSave | Modify orders invoices options options form saved data | This hook allows to modify data of orders invoices options options form after it was saved |
actionOrderSlipAdd | Order slip creation | This hook is called when a new credit slip is added regarding client order |
actionOrderStateFormBuilderModifier | Modify order state identifiable object form | This hook allows to modify order state identifiable object forms content by modifying form builder data or FormBuilder itself |
actionOrderStateFormDataProviderData | Provide order state identifiable object form data for update | This hook allows to provide order state identifiable object form data which will prefill the form in update/edition page |
actionOrderStateFormDataProviderDefaultData | Provide order state identifiable object default form data for creation | This hook allows to provide order state identifiable object form data which will prefill the form in creation page |
actionOrderStatesGridDataModifier | Modify order states grid data | This hook allows to modify order states grid data |
actionOrderStatesGridDefinitionModifier | Modify order states grid definition | This hook allows to alter order states grid columns, actions and filters |
actionOrderStatesGridFilterFormModifier | Modify order states grid filters | This hook allows to modify filters for order states grid |
actionOrderStatesGridPresenterModifier | Modify order states grid template data | This hook allows to modify data which is about to be used in template for order states grid |
actionOrderStatesGridQueryBuilderModifier | Modify order states grid query builder | This hook allows to alter Doctrine query builder for order states grid |
actionOrderStatusPostUpdate | Post update of order status | |
actionOrderStatusUpdate | Order status update - Event | This hook launches modules when the status of an order changes |
actionOutputHTMLBefore | Before HTML output | This hook is used to filter the whole HTML page before it is rendered (only front) |
actionOutstandingGridDataModifier | Modify outstanding grid data | This hook allows to modify outstanding grid data |
actionOutstandingGridDefinitionModifier | Modify outstanding grid definition | This hook allows to alter outstanding grid columns, actions and filters |
actionOutstandingGridFilterFormModifier | Modify outstanding grid filters | This hook allows to modify filters for outstanding grid |
actionOutstandingGridPresenterModifier | Modify outstanding grid template data | This hook allows to modify data which is about to be used in template for outstanding grid |
actionOutstandingGridQueryBuilderModifier | Modify outstanding grid query builder | This hook allows to alter Doctrine query builder for outstanding grid |
actionOverrideEmployeeImage | Get Employee Image | This hook is used to get the employee image |
actionPasswordRenew | ||
actionPaymentCCAdd | Payment CC added | |
actionPaymentConfirmation | Payment confirmation | This hook displays new elements after the payment is validated |
actionPaymentPreferencesForm | Modify payment preferences options form content | This hook allows to modify payment preferences options form FormBuilder |
actionPaymentPreferencesSave | Modify payment preferences options form saved data | This hook allows to modify data of payment preferences options form after it was saved |
actionPDFInvoiceRender | PDF Invoice - Render | This hook is called when a PDF invoice is rendered from the Front Office and the Back Office |
actionPerformancePagecachingForm | Modify performance pagecaching options form content | This hook allows to modify performance pagecaching options form FormBuilder |
actionPerformancePagecachingSave | Modify performance pagecaching options form saved data | This hook allows to modify data of performance pagecaching options form after it was saved |
actionPerformancePageCombineCompressCacheForm | Modify performance page combine compress cache options form content | This hook allows to modify performance page combine compress cache options form FormBuilder |
actionPerformancePageCombineCompressCacheSave | Modify performance page combine compress cache options form saved data | This hook allows to modify data of performance page combine compress cache options form after it was saved |
actionPerformancePageDebugModeForm | Modify performance page debug mode options form content | This hook allows to modify performance page debug mode options form FormBuilder |
actionPerformancePageDebugModeSave | Modify performance page debug mode options form saved data | This hook allows to modify data of performance page debug mode options form after it was saved |
actionPerformancePageForm | Manage Performance Page form fields | This hook adds, update or remove fields of the Performance Page form |
actionPerformancePageMediaServersForm | Modify performance page media servers options form content | This hook allows to modify performance page media servers options form FormBuilder |
actionPerformancePageMediaServersSave | Modify performance page media servers options form saved data | This hook allows to modify data of performance page media servers options form after it was saved |
actionPerformancePageOptionalFeaturesForm | Modify performance page optional features options form content | This hook allows to modify performance page optional features options form FormBuilder |
actionPerformancePageOptionalFeaturesSave | Modify performance page optional features options form saved data | This hook allows to modify data of performance page optional features options form after it was saved |
actionPerformancePageSave | Modify performance page options form saved data | This hook allows to modify data of performance page options form after it was saved |
actionPerformancePageSmartyForm | Modify performance page smarty options form content | This hook allows to modify performance page smarty options form FormBuilder |
actionPerformancePageSmartySave | Modify performance page smarty options form saved data | This hook allows to modify data of performance page smarty options form after it was saved |
actionPresentCart | Cart Presenter | This hook is called before a cart is presented |
actionPresentCategory | Category Presenter | This hook is called before a category is presented |
actionPresentManufacturer | Manufacturer Presenter | This hook is called before a manufacturer is presented |
actionPresentModule | ||
actionPresentObject | Object Presenter | This hook is called before an object is presented |
actionPresentOrder | Order Presenter | This hook is called before an order is presented |
actionPresentOrderReturn | Order Return Presenter | This hook is called before an order return is presented |
actionPresentPaymentOptions | Payment options Presenter | This hook is called before payment options are presented |
actionPresentProduct | Product Presenter | This hook is called before a product is presented |
actionPresentProductListing | Product Listing Presenter | This hook is called before a product listing is presented |
actionPresentStore | Store Presenter | This hook is called before a store is presented |
actionPresentSupplier | Supplier Presenter | This hook is called before a supplier is presented |
actionProductAdd | Product creation | This hook is displayed after a product is created |
actionProductAttributeDelete | Product attribute deletion | This hook is displayed when a product's attribute is deleted |
actionProductAttributeUpdate | Product attribute update | This hook is displayed when a product's attribute is updated |
actionProductCancel | Product cancelled | This hook is called when you cancel a product in an order |
actionProductCoverage | ||
actionProductDelete | Product deletion | This hook is called when a product is deleted |
actionProductFlagsModifier | Customize product labels displayed on the product list on FO | This hook allows to add and remove product labels displayed on top of product images |
actionProductFormBuilderModifier | Modify product identifiable object form | This hook allows to modify product identifiable object form content by modifying form builder data or FormBuilder itself |
actionProductGetAttributesGroupsAfter | Triggers after getting product attributes groups | Allows to modify product attributes groups after they are retrieved from the database. |
actionProductGetAttributesGroupsBefore | Triggers before getting product attributes groups | Allows to modify product attributes groups SQL query before they are retrieved from the database. |
actionProductGridDataModifier | Modify product grid data | This hook allows to modify product grid data |
actionProductGridDefinitionModifier | Modify product grid definition | This hook allows to alter product grid columns, actions and filters |
actionProductGridFilterFormModifier | Modify product grid filters | This hook allows to modify filters for product grid |
actionProductGridPresenterModifier | Modify product grid template data | This hook allows to modify data which is about to be used in template for product grid |
actionProductGridQueryBuilderModifier | Modify product grid query builder | This hook allows to alter Doctrine query builder for product grid |
actionProductImageFormBuilderModifier | Modify product image identifiable object form | This hook allows to modify product image identifiable object forms content by modifying form builder data or FormBuilder itself |
actionProductImageFormDataProviderData | Provide product image identifiable object form data for update | This hook allows to provide product image identifiable object form data which will prefill the form in update/edition page |
actionProductImageFormDataProviderDefaultData | Provide product image identifiable object default form data for creation | This hook allows to provide product image identifiable object form data which will prefill the form in creation page |
actionProductOutOfStock | Out-of-stock product | This hook displays new action buttons if a product is out of stock |
actionProductPreferencesPageForm | Modify product preferences page options form content | This hook allows to modify product preferences page options form FormBuilder |
actionProductPreferencesPageGeneralForm | Modify product preferences page general options form content | This hook allows to modify product preferences page general options form FormBuilder |
actionProductPreferencesPageGeneralSave | Modify product preferences page general options form saved data | This hook allows to modify data of product preferences page general options form after it was saved |
actionProductPreferencesPagePageForm | Modify product preferences page page options form content | This hook allows to modify product preferences page page options form FormBuilder |
actionProductPreferencesPagePageSave | Modify product preferences page page options form saved data | This hook allows to modify data of product preferences page page options form after it was saved |
actionProductPreferencesPagePaginationForm | Modify product preferences page pagination options form content | This hook allows to modify product preferences page pagination options form FormBuilder |
actionProductPreferencesPagePaginationSave | Modify product preferences page pagination options form saved data | This hook allows to modify data of product preferences page pagination options form after it was saved |
actionProductPreferencesPageSave | Modify product preferences page options form saved data | This hook allows to modify data of product preferences page options form after it was saved |
actionProductPreferencesPageStockForm | Modify product preferences page stock options form content | This hook allows to modify product preferences page stock options form FormBuilder |
actionProductPreferencesPageStockSave | Modify product preferences page stock options form saved data | This hook allows to modify data of product preferences page stock options form after it was saved |
actionProductPriceCalculation | Product Price Calculation | This hook is called into the priceCalculation method to be able to override the price calculation |
actionProductSave | Saving products | This hook is called while saving products |
actionProductSearchAfter | Event triggered after search product completed | This hook is called after the product search. Parameters are already filter |
actionProductSearchProviderRunQueryAfter | Runs an action after ProductSearchProviderInterface::RunQuery() | Required to return a previous state of an SQL query or/and to change a result of the SQL query after executing it |
actionProductSearchProviderRunQueryBefore | Runs an action before ProductSearchProviderInterface::RunQuery() | Required to modify an SQL query before executing it |
actionProductShopsFormBuilderModifier | Modify product shops identifiable object form | This hook allows to modify product shops identifiable object forms content by modifying form builder data or FormBuilder itself |
actionProductShopsFormDataProviderData | Provide product shops identifiable object form data for update | This hook allows to provide product shops identifiable object form data which will prefill the form in update/edition page |
actionProductShopsFormDataProviderDefaultData | Provide product shops identifiable object default form data for creation | This hook allows to provide product shops identifiable object form data which will prefill the form in creation page |
actionProductUpdate | Product update | This hook is displayed after a product has been updated |
actionProductWithoutDescriptionGridDataModifier | Modify product without description grid data | This hook allows to modify product without description grid data |
actionProductWithoutDescriptionGridDefinitionModifier | Modify product without description grid definition | This hook allows to alter product without description grid columns, actions and filters |
actionProductWithoutDescriptionGridFilterFormModifier | Modify product without description grid filters | This hook allows to modify filters for product without description grid |
actionProductWithoutDescriptionGridPresenterModifier | Modify product without description grid template data | This hook allows to modify data which is about to be used in template for product without description grid |
actionProductWithoutDescriptionGridQueryBuilderModifier | Modify product without description grid query builder | This hook allows to alter Doctrine query builder for product without description grid |
actionProductWithoutImageGridDataModifier | Modify product without image grid data | This hook allows to modify product without image grid data |
actionProductWithoutImageGridDefinitionModifier | Modify product without image grid definition | This hook allows to alter product without image grid columns, actions and filters |
actionProductWithoutImageGridFilterFormModifier | Modify product without image grid filters | This hook allows to modify filters for product without image grid |
actionProductWithoutImageGridPresenterModifier | Modify product without image grid template data | This hook allows to modify data which is about to be used in template for product without image grid |
actionProductWithoutImageGridQueryBuilderModifier | Modify product without image grid query builder | This hook allows to alter Doctrine query builder for product without image grid |
actionProductWithoutPriceGridDataModifier | Modify product without price grid data | This hook allows to modify product without price grid data |
actionProductWithoutPriceGridDefinitionModifier | Modify product without price grid definition | This hook allows to alter product without price grid columns, actions and filters |
actionProductWithoutPriceGridFilterFormModifier | Modify product without price grid filters | This hook allows to modify filters for product without price grid |
actionProductWithoutPriceGridPresenterModifier | Modify product without price grid template data | This hook allows to modify data which is about to be used in template for product without price grid |
actionProductWithoutPriceGridQueryBuilderModifier | Modify product without price grid query builder | This hook allows to alter Doctrine query builder for product without price grid |
actionProfileFormBuilderModifier | Modify profile identifiable object form | This hook allows to modify profile identifiable object forms content by modifying form builder data or FormBuilder itself |
actionProfileFormDataProviderData | Provide profile identifiable object form data for update | This hook allows to provide profile identifiable object form data which will prefill the form in update/edition page |
actionProfileFormDataProviderDefaultData | Provide profile identifiable object default form data for creation | This hook allows to provide profile identifiable object form data which will prefill the form in creation page |
actionProfileGridDataModifier | Modify profile grid data | This hook allows to modify profile grid data |
actionProfileGridDefinitionModifier | Modify profile grid definition | This hook allows to alter profile grid columns, actions and filters |
actionProfileGridFilterFormModifier | Modify profile grid filters | This hook allows to modify filters for profile grid |
actionProfileGridPresenterModifier | Modify profile grid template data | This hook allows to modify data which is about to be used in template for profile grid |
actionProfileGridQueryBuilderModifier | Modify profile grid query builder | This hook allows to alter Doctrine query builder for profile grid |
actionRequestSqlForm | Modify request sql options form content | This hook allows to modify request sql options form FormBuilder |
actionRequestSqlSave | Modify request sql options form saved data | This hook allows to modify data of request sql options form after it was saved |
actionRootCategoryFormBuilderModifier | Modify root category identifiable object form | This hook allows to modify root category identifiable object forms content by modifying form builder data or FormBuilder itself |
actionRootCategoryFormDataProviderData | Provide root category identifiable object form data for update | This hook allows to provide root category identifiable object form data which will prefill the form in update/edition page |
actionRootCategoryFormDataProviderDefaultData | Provide root category identifiable object default form data for creation | This hook allows to provide root category identifiable object form data which will prefill the form in creation page |
actionSearch | ||
actionSearchEngineFormBuilderModifier | Modify search engine identifiable object form | This hook allows to modify search engine identifiable object forms content by modifying form builder data or FormBuilder itself |
actionSearchEngineFormDataProviderData | Provide search engine identifiable object form data for update | This hook allows to provide search engine identifiable object form data which will prefill the form in update/edition page |
actionSearchEngineFormDataProviderDefaultData | Provide search engine identifiable object default form data for creation | This hook allows to provide search engine identifiable object form data which will prefill the form in creation page |
actionSearchEngineGridDataModifier | Modify search engine grid data | This hook allows to modify search engine grid data |
actionSearchEngineGridDefinitionModifier | Modify search engine grid definition | This hook allows to alter search engine grid columns, actions and filters |
actionSearchEngineGridFilterFormModifier | Modify search engine grid filters | This hook allows to modify filters for search engine grid |
actionSearchEngineGridPresenterModifier | Modify search engine grid template data | This hook allows to modify data which is about to be used in template for search engine grid |
actionSearchEngineGridQueryBuilderModifier | Modify search engine grid query builder | This hook allows to alter Doctrine query builder for search engine grid |
actionSearchTermFormBuilderModifier | Modify search term identifiable object form | This hook allows to modify search term identifiable object forms content by modifying form builder data or FormBuilder itself |
actionSearchTermFormDataProviderData | Provide search term identifiable object form data for update | This hook allows to provide search term identifiable object form data which will prefill the form in update/edition page |
actionSearchTermFormDataProviderDefaultData | Provide search term identifiable object default form data for creation | This hook allows to provide search term identifiable object form data which will prefill the form in creation page |
actionSecurityPageGeneralForm | Modify security page general options form content | This hook allows to modify security page general options form FormBuilder |
actionSecurityPageGeneralSave | Modify security page general options form saved data | This hook allows to modify data of security page general options form after it was saved |
actionSecurityPagePasswordPolicyForm | Modify security page password policy options form content | This hook allows to modify security page password policy options form FormBuilder |
actionSecurityPagePasswordPolicySave | Modify security page password policy options form saved data | This hook allows to modify data of security page password policy options form after it was saved |
actionSecuritySessionCustomerGridDataModifier | Modify security session customer grid data | This hook allows to modify security session customer grid data |
actionSecuritySessionCustomerGridDefinitionModifier | Modify security session customer grid definition | This hook allows to alter security session customer grid columns, actions and filters |
actionSecuritySessionCustomerGridFilterFormModifier | Modify security session customer grid filters | This hook allows to modify filters for security session customer grid |
actionSecuritySessionCustomerGridPresenterModifier | Modify security session customer grid template data | This hook allows to modify data which is about to be used in template for security session customer grid |
actionSecuritySessionCustomerGridQueryBuilderModifier | Modify security session customer grid query builder | This hook allows to alter Doctrine query builder for security session customer grid |
actionSecuritySessionEmployeeGridDataModifier | Modify security session employee grid data | This hook allows to modify security session employee grid data |
actionSecuritySessionEmployeeGridDefinitionModifier | Modify security session employee grid definition | This hook allows to alter security session employee grid columns, actions and filters |
actionSecuritySessionEmployeeGridFilterFormModifier | Modify security session employee grid filters | This hook allows to modify filters for security session employee grid |
actionSecuritySessionEmployeeGridPresenterModifier | Modify security session employee grid template data | This hook allows to modify data which is about to be used in template for security session employee grid |
actionSecuritySessionEmployeeGridQueryBuilderModifier | Modify security session employee grid query builder | This hook allows to alter Doctrine query builder for security session employee grid |
actionSetInvoice | ||
actionShippingPreferencesPageCarrierOptionsForm | Modify shipping preferences page carrier options options form content | This hook allows to modify shipping preferences page carrier options options form FormBuilder |
actionShippingPreferencesPageCarrierOptionsSave | Modify shipping preferences page carrier options options form saved data | This hook allows to modify data of shipping preferences page carrier options options form after it was saved |
actionShippingPreferencesPageForm | Modify shipping preferences page options form content | This hook allows to modify shipping preferences page options form FormBuilder |
actionShippingPreferencesPageHandlingForm | Modify shipping preferences page handling options form content | This hook allows to modify shipping preferences page handling options form FormBuilder |
actionShippingPreferencesPageHandlingSave | Modify shipping preferences page handling options form saved data | This hook allows to modify data of shipping preferences page handling options form after it was saved |
actionShippingPreferencesPageSave | Modify shipping preferences page options form saved data | This hook allows to modify data of shipping preferences page options form after it was saved |
actionShopAccessTokenRefreshAfter | Shop access token refreshed event | Shop access token refreshed event |
actionShopAccountLinkAfter | Shop linked event | Shop linked with PrestaShop Account |
actionShopAccountUnlinkAfter | Shop unlinked event | Shop unlinked with PrestaShop Account |
actionShopDataDuplication | ||
actionShopLogoForm | Modify shop logo options form content | This hook allows to modify shop logo options form FormBuilder |
actionShopLogoSave | Modify shop logo options form saved data | This hook allows to modify data of shop logo options form after it was saved |
actionSqlRequestFormBuilderModifier | Modify sql request identifiable object form | This hook allows to modify sql request identifiable object forms content by modifying form builder data or FormBuilder itself |
actionSqlRequestFormDataProviderData | Provide sql request identifiable object form data for update | This hook allows to provide sql request identifiable object form data which will prefill the form in update/edition page |
actionSqlRequestFormDataProviderDefaultData | Provide sql request identifiable object default form data for creation | This hook allows to provide sql request identifiable object form data which will prefill the form in creation page |
actionSqlRequestGridDataModifier | Modify sql request grid data | This hook allows to modify sql request grid data |
actionSqlRequestGridDefinitionModifier | Modifying SQL Manager grid definition | This hook allows to alter SQL Manager grid columns, actions and filters |
actionSqlRequestGridFilterFormModifier | Modify filters form for SQL Manager grid | This hook allows to alter filters form used in SQL Manager |
actionSqlRequestGridPresenterModifier | Modify SQL Manager grid view data | This hook allows to alter presented SQL Manager grid data |
actionSqlRequestGridQueryBuilderModifier | Modify SQL Manager grid query builder | This hook allows to alter Doctrine query builder for SQL Manager grid |
actionStateFormBuilderModifier | Modify state identifiable object form | This hook allows to modify state identifiable object forms content by modifying form builder data or FormBuilder itself |
actionStateFormDataProviderData | Provide state identifiable object form data for update | This hook allows to provide state identifiable object form data which will prefill the form in update/edition page |
actionStateFormDataProviderDefaultData | Provide state identifiable object default form data for creation | This hook allows to provide state identifiable object form data which will prefill the form in creation page |
actionStateGridDataModifier | Modify state grid data | This hook allows to modify state grid data |
actionStateGridDefinitionModifier | Modify state grid definition | This hook allows to alter state grid columns, actions and filters |
actionStateGridFilterFormModifier | Modify state grid filters | This hook allows to modify filters for state grid |
actionStateGridPresenterModifier | Modify state grid template data | This hook allows to modify data which is about to be used in template for state grid |
actionStateGridQueryBuilderModifier | Modify state grid query builder | This hook allows to alter Doctrine query builder for state grid |
actionSubmitAccountBefore | Before customer account creation | This hook is called before a customer account creation |
actionSubmitCustomerAddressForm | ||
actionSupplierGridDataModifier | Modify supplier grid data | This hook allows to modify supplier grid data |
actionSupplierGridDefinitionModifier | Modify supplier grid definition | This hook allows to alter supplier grid columns, actions and filters |
actionSupplierGridFilterFormModifier | Modify supplier grid filters | This hook allows to modify filters for supplier grid |
actionSupplierGridPresenterModifier | Modify supplier grid template data | This hook allows to modify data which is about to be used in template for supplier grid |
actionSupplierGridQueryBuilderModifier | Modify supplier grid query builder | This hook allows to alter Doctrine query builder for supplier grid |
actionTaxForm | Modify tax options form content | This hook allows to modify tax options form FormBuilder |
actionTaxFormBuilderModifier | Modify tax identifiable object form | This hook allows to modify tax identifiable object forms content by modifying form builder data or FormBuilder itself |
actionTaxFormDataProviderData | Provide tax identifiable object form data for update | This hook allows to provide tax identifiable object form data which will prefill the form in update/edition page |
actionTaxFormDataProviderDefaultData | Provide tax identifiable object default form data for creation | This hook allows to provide tax identifiable object form data which will prefill the form in creation page |
actionTaxGridDataModifier | Modify tax grid data | This hook allows to modify tax grid data |
actionTaxGridDefinitionModifier | Modify tax grid definition | This hook allows to alter tax grid columns, actions and filters |
actionTaxGridFilterFormModifier | Modify tax grid filters | This hook allows to modify filters for tax grid |
actionTaxGridPresenterModifier | Modify tax grid template data | This hook allows to modify data which is about to be used in template for tax grid |
actionTaxGridQueryBuilderModifier | Modify tax grid query builder | This hook allows to alter Doctrine query builder for tax grid |
actionTaxManager | Tax Manager Factory | |
actionTaxRulesGroupFormBuilderModifier | Modify tax rules group identifiable object form | This hook allows to modify tax rules group identifiable object forms content by modifying form builder data or FormBuilder itself |
actionTaxRulesGroupFormDataProviderData | Provide tax rules group identifiable object form data for update | This hook allows to provide tax rules group identifiable object form data which will prefill the form in update/edition page |
actionTaxRulesGroupFormDataProviderDefaultData | Provide tax rules group identifiable object default form data for creation | This hook allows to provide tax rules group identifiable object form data which will prefill the form in creation page |
actionTaxRulesGroupGridDataModifier | Modify tax rules group grid data | This hook allows to modify tax rules group grid data |
actionTaxRulesGroupGridDefinitionModifier | Modify tax rules group grid definition | This hook allows to alter tax rules group grid columns, actions and filters |
actionTaxRulesGroupGridFilterFormModifier | Modify tax rules group grid filters | This hook allows to modify filters for tax rules group grid |
actionTaxRulesGroupGridPresenterModifier | Modify tax rules group grid template data | This hook allows to modify data which is about to be used in template for tax rules group grid |
actionTaxRulesGroupGridQueryBuilderModifier | Modify tax rules group grid query builder | This hook allows to alter Doctrine query builder for tax rules group grid |
actionTaxSave | Modify tax options form saved data | This hook allows to modify data of tax options form after it was saved |
actionTitleFormBuilderModifier | Modify title identifiable object form | This hook allows to modify title identifiable object forms content by modifying form builder data or FormBuilder itself |
actionTitleFormDataProviderData | Provide title identifiable object form data for update | This hook allows to provide title identifiable object form data which will prefill the form in update/edition page |
actionTitleFormDataProviderDefaultData | Provide title identifiable object default form data for creation | This hook allows to provide title identifiable object form data which will prefill the form in creation page |
actionTitleGridDataModifier | Modify title grid data | This hook allows to modify title grid data |
actionTitleGridDefinitionModifier | Modify title grid definition | This hook allows to alter title grid columns, actions and filters |
actionTitleGridFilterFormModifier | Modify title grid filters | This hook allows to modify filters for title grid |
actionTitleGridPresenterModifier | Modify title grid template data | This hook allows to modify data which is about to be used in template for title grid |
actionTitleGridQueryBuilderModifier | Modify title grid query builder | This hook allows to alter Doctrine query builder for title grid |
actionUpdateCartAddress | Triggers after changing address on the cart | This hook is called after address is changed on the cart |
actionUpdateLangAfter | Update "lang" tables | Update "lang" tables after adding or updating a language |
actionUpdateQuantity | Quantity update | Quantity is updated only when a customer effectively places their order |
actionValidateCartRule | Alter cart rule validation process | Allow modules to implement their own rules to validate a cart rule. |
actionValidateCustomerAddressForm | Customer address form validation | This hook is called when a customer submit its address form |
actionValidateOrder | New orders | |
actionValidateOrderAfter | After validating an order | This hook is called after validating an order by core |
actionValidateOrderBefore | Before validating an order | This hook is called before validating an order by core |
actionValidateStepComplete | ||
actionWatermark | Watermark | |
actionWebserviceKeyFormBuilderModifier | Modify webservice key identifiable object form | This hook allows to modify webservice key identifiable object forms content by modifying form builder data or FormBuilder itself |
actionWebserviceKeyFormDataProviderData | Provide webservice key identifiable object form data for update | This hook allows to provide webservice key identifiable object form data which will prefill the form in update/edition page |
actionWebserviceKeyFormDataProviderDefaultData | Provide webservice key identifiable object default form data for creation | This hook allows to provide webservice key identifiable object form data which will prefill the form in creation page |
actionWebserviceKeyGridDataModifier | Modify webservice key grid data | This hook allows to modify webservice key grid data |
actionWebserviceKeyGridDefinitionModifier | Modifying Webservice grid definition | This hook allows to alter Webservice grid columns, actions and filters |
actionWebserviceKeyGridFilterFormModifier | Modify filters form for Webservice grid | This hook allows to alter filters form used in Webservice |
actionWebserviceKeyGridPresenterModifier | Modify Webservice grid view data | This hook allows to alter presented Webservice grid data |
actionWebserviceKeyGridQueryBuilderModifier | Modify Webservice grid query builder | This hook allows to alter Doctrine query builder for Webservice grid |
actionWebservicePageForm | Modify webservice page options form content | This hook allows to modify webservice page options form FormBuilder |
actionWebservicePageSave | Modify webservice page options form saved data | This hook allows to modify data of webservice page options form after it was saved |
actionWishlistAddProduct | ||
actionZoneFormBuilderModifier | Modify zone identifiable object form | This hook allows to modify zone identifiable object forms content by modifying form builder data or FormBuilder itself |
actionZoneFormDataProviderData | Provide zone identifiable object form data for update | This hook allows to provide zone identifiable object form data which will prefill the form in update/edition page |
actionZoneFormDataProviderDefaultData | Provide zone identifiable object default form data for creation | This hook allows to provide zone identifiable object form data which will prefill the form in creation page |
actionZoneGridDataModifier | Modify zone grid data | This hook allows to modify zone grid data |
actionZoneGridDefinitionModifier | Modify zone grid definition | This hook allows to alter zone grid columns, actions and filters |
actionZoneGridFilterFormModifier | Modify zone grid filters | This hook allows to modify filters for zone grid |
actionZoneGridPresenterModifier | Modify zone grid template data | This hook allows to modify data which is about to be used in template for zone grid |
actionZoneGridQueryBuilderModifier | Modify zone grid query builder | This hook allows to alter Doctrine query builder for zone grid |
additionalCustomerAddressFields | Add fields to the Customer address form | This hook returns an array of FormFields to add them to the customer address registration form |
additionalCustomerFormFields | Add fields to the Customer form | This hook returns an array of FormFields to add them to the customer registration form |
addWebserviceResources | Add extra webservice resource | This hook is called when webservice resources list in webservice controller |
dashboardData | ||
dashboardZoneOne | ||
dashboardZoneThree | Dashboard column three | This hook is displayed in the third column of the dashboard |
dashboardZoneTwo | ||
deleteProductAttribute | ||
displayAccountUpdateWarning | Display account update warning | Show a warning message when the user wants to update his shop configuration |
displayAdditionalCustomerAddressFields | Display additional customer address fields | This hook allows to display extra field values added in an address form using hook 'additionalCustomerAddressFields' |
displayAddressSelectorBottom | After address selection on checkout page | This hook is displayed after the address selection in checkout step. |
displayAdminAfterHeader | ||
displayAdminCustomers | Display new elements in the Back Office, tab AdminCustomers | This hook launches modules when the AdminCustomers tab is displayed in the Back Office |
displayAdminCustomersAddressesItemAction | Display new elements in the Back Office, tab AdminCustomers, Addresses actions | This hook launches modules when the Addresses list into the AdminCustomers tab is displayed in the Back Office |
displayAdminCustomersForm | displayAdminCustomersForm | |
displayAdminEndContent | Administration end of content | This hook is displayed at the end of the main content, before the footer |
displayAdminForm | ||
displayAdminGridTableAfter | Display after Grid table | This hook adds new blocks after Grid component table |
displayAdminGridTableBefore | Display before Grid table | This hook adds new blocks before Grid component table |
displayAdminListAfter | ||
displayAdminListBefore | ||
displayAdminLogin | ||
displayAdminNavBarBeforeEnd | ||
displayAdminOptions | ||
displayAdminOrder | Display new elements in the Back Office, tab AdminOrder | This hook launches modules when the AdminOrder tab is displayed in the Back Office |
displayAdminOrderBottom | Admin Order Side Column Bottom | This hook displays content in the order view page at the bottom of the side column |
displayAdminOrderContentOrder | Display new elements in Back Office, AdminOrder, panel Order | This hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Order panel content |
displayAdminOrderContentShip | Display new elements in Back Office, AdminOrder, panel Shipping | This hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Shipping panel content |
displayAdminOrderCreateExtraButtons | Add buttons on the create order page dropdown | Add buttons on the create order page dropdown |
displayAdminOrderMain | Admin Order Main Column | This hook displays content in the order view page in the main column under the details view |
displayAdminOrderMainBottom | Admin Order Main Column Bottom | This hook displays content in the order view page at the bottom of the main column |
displayAdminOrderSide | Admin Order Side Column | This hook displays content in the order view page in the side column under the customer view |
displayAdminOrderSideBottom | ||
displayAdminOrderTabContent | Admin Order Tab Content | This hook displays new tab contents on the order view page |
displayAdminOrderTabLink | Admin Order Tab Link | This hook displays new tab links on the order view page |
displayAdminOrderTabOrder | Display new elements in Back Office, AdminOrder, panel Order | This hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Order panel tabs |
displayAdminOrderTabShip | Display new elements in Back Office, AdminOrder, panel Shipping | This hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Shipping panel tabs |
displayAdminOrderTop | Admin Order Top | This hook displays content at the top of the order view page |
displayAdminProductsCombinationBottom | Display new elements in back office product page, Combination tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsExtra | Admin Product Extra Module Tab | This hook displays extra content in the Module tab on the product edit page |
displayAdminProductsMainStepLeftColumnBottom | Display new elements in back office product page, left column of the Basic settings tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsMainStepLeftColumnMiddle | Display new elements in back office product page, left column of the Basic settings tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsMainStepRightColumnBottom | Display new elements in back office product page, right column of the Basic settings tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsOptionsStepBottom | Display new elements in back office product page, Options tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsOptionsStepTop | Display new elements in back office product page, Options tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsPriceStepBottom | Display new elements in back office product page, Price tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsQuantitiesStepBottom | Display new elements in back office product page, Quantities/Combinations tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsSeoStepBottom | Display new elements in back office product page, SEO tab | This hook launches modules when the back office product page is displayed |
displayAdminProductsShippingStepBottom | Display new elements in back office product page, Shipping tab | This hook launches modules when the back office product page is displayed |
displayAdminStatsGraphEngine | Graph engines | |
displayAdminStatsGridEngine | Grid engines | |
displayAdminStatsModules | Stats - Modules | |
displayAdminStoreInformation | Display extra store information | This hook displays content in the Information page to add store information |
displayAdminThemesListAfter | BO themes list extra content | This hook displays content after the themes list in the back office |
displayAdminView | ||
displayAfterBodyOpeningTag | Very top of pages | Use this hook for advertisement or modals you want to load first |
displayAfterCarrier | After carriers list | This hook is displayed after the carrier list in Front Office |
displayAfterProductThumbs | Display extra content below product thumbs | This hook displays new elements below product images ex. additional media |
displayAfterTitleTag | After title tag | Use this hook to add content after title tag |
displayAttributeForm | Add fields to the form 'attribute value' | This hook adds fields to the form 'attribute value' |
displayAttributeGroupForm | Add fields to the form 'attribute group' | This hook adds fields to the form 'attribute group' |
displayAttributeGroupPostProcess | On post-process in admin attribute group | This hook is called on post-process in admin attribute group |
displayAuthenticateFormBottom | Customer authentication form | This hook displays some information on the bottom of the authentication form |
displayBackOfficeCategory | Display new elements in the Back Office, tab AdminCategories | This hook launches modules when the AdminCategories tab is displayed in the Back Office |
displayBackOfficeEmployeeMenu | Administration Employee menu | This hook is displayed in the employee menu |
displayBackOfficeFooter | Administration panel footer | This hook is displayed within the admin panel's footer |
displayBackOfficeHeader | Administration panel header | This hook is displayed in the header of the admin panel |
displayBackOfficeHome | Administration panel homepage | This hook is displayed on the admin panel's homepage |
displayBackOfficeOrderActions | Admin Order Actions | This hook displays content in the order view page after action buttons (or aliased to side column in migrated page) |
displayBackOfficeTop | Administration panel hover the tabs | This hook is displayed on the roll hover of the tabs within the admin panel |
displayBanner | Very top of pages | Use this hook for banners on top of every pages |
displayBeforeBodyClosingTag | Very bottom of pages | Use this hook for your modals or any content you want to load at the very end |
displayBeforeCarrier | Before carriers list | This hook is displayed before the carrier list in Front Office |
displayCarrierExtraContent | Display additional content for a carrier (e.g pickup points) | This hook calls only the module related to the carrier, in order to add options when needed |
displayCarrierList | Extra carrier (module mode) | |
displayCartExtraProductActions | Extra buttons in shopping cart | This hook adds extra buttons to the product lines, in the shopping cart |
displayCartExtraProductInfo | Extra information in shopping cart product line | This hook adds extra information to the product lines, in the shopping cart |
displayCartModalContent | Content of Add-to-cart modal | This hook displays content in the middle of the window that appears after adding product to cart |
displayCartModalFooter | Bottom of Add-to-cart modal | This hook displays content in the bottom of window that appears after adding product to cart |
displayCheckoutBeforeConfirmation | Show custom content before checkout confirmation | This hook allows you to display custom content at the end of checkout process |
displayCheckoutSubtotalDetails | ||
displayCheckoutSummaryTop | Cart summary top | This hook allows you to display new elements in top of cart summary |
displayCMSDisputeInformation | ||
displayCMSPrintButton | ||
displayContactContent | Content wrapper section of the contact page | This hook displays new elements in the content wrapper of the contact page |
displayContactLeftColumn | Left column blocks on the contact page | This hook displays new elements in the left-hand column of the contact page |
displayContactRightColumn | Right column blocks of the contact page | This hook displays new elements in the right-hand column of the contact page |
displayContentWrapperBottom | Content wrapper section (bottom) | This hook displays new elements in the bottom of the content wrapper |
displayContentWrapperTop | Content wrapper section (top) | This hook displays new elements in the top of the content wrapper |
displayCreateAccountEmailFormBottom | Customer authentication form | This hook displays some information on the bottom of the email form |
displayCrossSellingShoppingCart | ||
displayCustomerAccount | Customer account displayed in Front Office | This hook displays new elements on the customer account page |
displayCustomerAccountForm | Customer account creation form | This hook displays some information on the form to create a customer account |
displayCustomerAccountFormTop | Block above the form for create an account | This hook is displayed above the customer's account creation form |
displayCustomerLoginFormAfter | Display elements after login form | This hook displays new elements after the login form |
displayCustomization | ||
displayDashboardToolbarIcons | Display new elements in back office page with dashboard, on icons list | This hook launches modules when the back office with dashboard is displayed |
displayDashboardToolbarTopMenu | Display new elements in back office page with a dashboard, on top Menu | This hook launches modules when a page with a dashboard is displayed |
displayDashboardTop | Dashboard Top | Displays the content in the dashboard's top area |
displayEmptyModuleCategoryExtraMessage | Extra message to display for an empty modules category | This hook allows to add an extra message to display in the Module manager page when a category doesn't have any module |
displayExpressCheckout | ||
displayFeatureForm | Add fields to the form 'feature' | This hook adds fields to the form 'feature' |
displayFeaturePostProcess | On post-process in admin feature | This hook is called on post-process in admin feature |
displayFeatureValueForm | Add fields to the form 'feature value' | This hook adds fields to the form 'feature value' |
displayFeatureValuePostProcess | On post-process in admin feature value | This hook is called on post-process in admin feature value |
displayFooter | Footer | This hook displays new blocks in the footer |
displayFooterAfter | ||
displayFooterBefore | ||
displayFooterCategory | Category footer | This hook adds new blocks under the products listing in a category/search |
displayFooterProduct | Product footer | This hook adds new blocks under the product's description |
displayGDPRConsent | ||
displayHeader | Pages html head section | This hook adds additional elements in the head section of your pages (head section of html) |
displayHeaderCategory | Category header | This hook adds new blocks above the products listing in a category/search |
displayHome | Homepage content | This hook displays new elements on the homepage |
displayInvoice | Invoice | This hook displays new blocks on the invoice (order) |
displayInvoiceLegalFreeText | PDF Invoice - Legal Free Text | This hook allows you to modify the legal free text on PDF invoices |
displayLeftColumn | Left column blocks | This hook displays new elements in the left-hand column |
displayLeftColumnProduct | New elements on the product page (left column) | This hook displays new elements in the left-hand column of the product page |
displayMaintenance | Maintenance Page | This hook displays new elements on the maintenance page |
displayModuleConfigureExtraButtons | Module configuration - After toolbar buttons | This hook allows to add toolbar's additional content on module configuration page |
displayMyAccountBlock | My account block | This hook displays extra information within the 'my account' block" |
displayNav | Navigation | |
displayNav1 | ||
displayNav2 | ||
displayNavFullWidth | Navigation | This hook displays full width navigation menu at the top of your pages |
displayNewsletterRegistration | ||
displayNotFound | ||
displayOrderConfirmation | Order confirmation page | This hook is called within an order's confirmation page |
displayOrderConfirmation1 | ||
displayOrderConfirmation2 | ||
displayOrderDetail | Order detail | This hook is displayed within the order's details in Front Office |
displayOrderPreview | ||
displayOverrideTemplate | Change the default template of current controller | |
displayPaymentByBinaries | Payment form generated by binaries | This hook displays form generated by binaries during the checkout |
displayPaymentReturn | Payment return | |
displayPaymentTop | Top of payment page | This hook is displayed at the top of the payment page |
displayPDFInvoice | PDF Invoice | This hook allows you to display additional information on PDF invoices |
displayPersonalInformationTop | Content in the checkout funnel, on top of the personal information panel | Display actions or additional content in the personal details tab of the checkout funnel. |
displayProductActions | Display additional action button on the product page | This hook allow additional actions to be triggered, near the add to cart button. |
displayProductAdditionalInfo | Product page additional info | This hook adds additional information on the product page |
displayProductExtraContent | Display extra content on the product page | This hook expects ProductExtraContent instances, which will be properly displayed by the template on the product page |
displayProductListFunctionalButtons | Display new elements in the Front Office, products list | This hook launches modules when the products list is displayed in the Front Office |
displayProductListReviews | ||
displayProductPageDrawer | Product Page Drawer | This hook displays content in the right sidebar of the product page |
displayProductPriceBlock | ||
displayReassurance | ||
displayRightColumn | Right column blocks | This hook displays new elements in the right-hand column |
displayRightColumnProduct | New elements on the product page (right column) | This hook displays new elements in the right-hand column of the product page |
displaySearch | ||
displayShoppingCart | Shopping cart - Additional button | This hook displays new action buttons within the shopping cart |
displayShoppingCartFooter | Shopping cart footer | This hook displays some specific information on the shopping cart's page |
displayTop | Top of pages | This hook displays additional elements at the top of your pages |
displayTopColumn | Top column blocks | This hook displays new elements in the top of columns |
displayWrapperBottom | Main wrapper section (bottom) | This hook displays new elements in the bottom of the main wrapper |
displayWrapperTop | Main wrapper section (top) | This hook displays new elements in the top of the main wrapper |
filterCategoryContent | Filter the content page category | This hook is called just before fetching content page category |
filterCmsCategoryContent | Filter the content page category | This hook is called just before fetching content page category |
filterCmsContent | Filter the content page | This hook is called just before fetching content page |
filterHtmlContent | Filter HTML field before rending a page | This hook is called just before fetching a page on HTML field |
filterManufacturerContent | Filter the content page manufacturer | This hook is called just before fetching content page manufacturer |
filterProductContent | Filter the content page product | This hook is called just before fetching content page product |
filterProductSearch | Filter search products result | This hook is called in order to allow to modify search product result |
filterSupplierContent | Filter the content page supplier | This hook is called just before fetching content page supplier |
GraphEngine | GraphEngine | |
GridEngine | GridEngine | |
gSitemapAppendUrls | GSitemap Append URLs | This hook allows a module to add URLs to a generated sitemap |
moduleRoutes | ||
newOrder | newOrder | |
overrideLayoutTemplate | ||
overrideMinimalPurchasePrice | ||
paymentOptions | paymentOptions | |
productSearchProvider | ||
registerGDPRConsent | registerGDPRConsent | |
sendMailAlterTemplateVars | Alter template vars on the fly | This hook is called when Mail::send() is called |
termsAndConditions | ||
validateCustomerFormFields | Customer registration form validation | This hook is called to a module when it has sent additional fields with additionalCustomerFormFields |
Comment les modules PrestaShop s'intègrent grâce aux hooks ?
Les hooks dans PrestaShop sont des points d'ancrage stratégiques pour insérer du contenu ou déclencher des actions. Ils permettent d'étendre les fonctionnalités sans modifier le code source, préservant la stabilité du système. L'intégration suit deux étapes : l'enregistrement du hook et l'implémentation de la méthode associée. Ces étapes assurent une compatibilité optimale avec l'écosystème PrestaShop.
L'enregistrement du hook : la "greffe"
Lors de l'installation, le module s'enregistre aux hooks via `$this->registerHook('nomDuHook')` dans la méthode `install()`. Cette fonction retourne un booléen indiquant le succès de l'opération. Voici un exemple complet :
public function install() { return parent::install() && $this->registerHook('displayHeader') && $this->registerHook('actionOrderStatusUpdate');}
Si le hook n'existe pas, PrestaShop le crée automatiquement, associant le module au nouveau point d'ancrage. Bien que possible via le back-office (menu Apparence > Positions), l'enregistrement à l'installation garantit une configuration immédiatement opérationnelle. Une demande d'amélioration a été déposée pour simplifier la gestion manuelle des hooks dans l'interface d'administration.
L'implémentation de la méthode correspondante
Chaque hook implémenté suit une convention stricte : la méthode commence par `hook` suivi du nom du hook (ex. `hookDisplayHeader($params)`). Le tableau `$params` contient des données contextuelles (ex. `$params['order']` pour un hook lié aux commandes). Le processus pour un développeur est direct :
- Identifier le hook adapté (ex. `displayFooter` pour un contenu en bas de page).
- Enregistrer le hook dans `install()` avec `$this->registerHook('nomDuHook')`.
- Créer la méthode publique `public function hookNomDuHook($params)`.
- Intégrer la logique métier (affichage ou traitement) dans cette méthode.
Trouver et déclencher des hooks dans l'écosystème PrestaShop 8 et 9
Les hooks de PrestaShop permettent de personnaliser une boutique sans modifier son cœur de fonctionnement. Avec l’intégration de Symfony, leur utilisation a évolué, imposant des méthodes d’identification et d’exécution adaptées aux architectures modernes. Cet outil est indispensable pour greffer un module à un emplacement spécifique ou déclencher une action en réponse à un événement, comme un paiement ou une mise à jour produit.
Où trouver la liste des hooks disponibles ?
Pour les non-développeurs, le menu Apparence > Positions liste les hooks "display" via le sélecteur "Greffer un module". Par exemple, le hook displayHome permet d’ajouter un module à la page d’accueil.
Les développeurs utilisent deux approches :
- Exploration du code source : Recherchez
Hook::exec()(legacy) oudispatchHook()(Symfony) dans les dossiers/src/ou/themes/pour identifier des hooks natifs ou personnalisés ; - Documentation officielle : La documentation PrestaShop référence les hooks courants, comme
actionOrderStatusUpdatepour agir sur une commande en cas de changement d’état.
Des outils comme ce script analysent le code source pour générer une liste dynamique, utile pour les hooks créés à la volée par des modules.
Les différentes syntaxes pour appeler un hook
Les architectures PrestaShop 8/9 imposent des syntaxes adaptées :
- Dans un template Smarty (.tpl) :
insère un élément dans les thèmes hérités, comme un bandeau promotionnel. - Dans un template Twig (.html.twig) :
{{ renderHook('displayAdminOrder', {'id_order': order.id}) }}passe des paramètres dynamiques, utiles pour afficher des informations contextuelles dans l’administration. - Dans un contrôleur PHP legacy :
Hook::exec('actionCartSave', ['cart' => $cart])déclenche une action après sauvegarde d’un panier, par exemple pour recalculer des remises. - Dans un contrôleur Symfony :
$this->dispatchHook('actionProductUpdate', ['id_product' => $productId])synchronise un produit avec un ERP via un module moderne, en transmettant son ID comme paramètre.
Maîtriser ces syntaxes garantit une expertise complète pour des projets hybrides ou en migration. Les templates Twig et contrôleurs Symfony dominent les développements récents, mais la compatibilité ascendante exige de reconnaître les anciennes méthodes. Par exemple, un module développé pour une boutique en architecture legacy pourra rester fonctionnel dans un projet migré vers Symfony grâce à cette connaissance croisée des deux systèmes.
Aller plus loin : créer et utiliser un hook personnalisé
La liste des hooks natifs de PrestaShop est vaste, mais parfois insuffisante pour des besoins précis. Par exemple, si vous développez un module de réservation de services, aucun hook existant ne peut cibler l’événement de validation d’un rendez-vous. Les hooks personnalisés combleront ce vide, en offrant des points d’ancrage sur mesure. Plutôt que de s’appuyer sur un hook générique comme actionOrderStatusPostUpdate pour gérer un événement spécifique, un hook personnalisé comme actionValidationRendezVous garantit une logique ciblée et propre.
Leur principal intérêt ? Rendre vos modules extensibles. Imaginez un blog développé en interne : en créant un hook comme actionBlogArticlePublished, d’autres modules pourront s’y brancher pour envoyer une notification ou générer un résumé. Cela évite de modifier votre code source, garantissant modularité et facilité de maintenance. Par exemple, un module de newsletter pourrait s’abonner à ce hook pour envoyer automatiquement un résumé de l’article aux abonnés, sans aucune modification du blog.
- Quand créer un hook personnalisé ?
- Lorsqu’aucun hook natif ne correspond à l’événement ciblé (ex: une action post-paiement pour activer une fonctionnalité premium).
- Pour permettre à d’autres développeurs d’interagir avec votre module sans altérer son code, favorisant un écosystème collaboratif.
- Pour découpler les fonctionnalités d’un module complexe, simplifiant ainsi sa mise à jour et son évolutivité.
Pour en créer un, utilisez la méthode $this->registerHook('actionMyCustomHook') dans la méthode install() de votre module. Si le hook n’existe pas, PrestaShop le génère automatiquement dans la base de données. Ensuite, déclenchez-le via Hook::exec('actionMyCustomHook', $params) dans votre logique métier ou un template. Par exemple, dans un contrôleur Symfony, vous pouvez utiliser $this->dispatchHook('actionMyCustomHook', ['order_id' => $order->id]) pour transmettre des données contextuelles. Nommez vos hooks de manière descriptive (actionMonModuleActionSpecifique ou displayMonModuleEmplacement) pour éviter les conflits et faciliter leur utilisation future.
Les hooks, la clé d'un écosystème PrestaShop performant et maîtrisé
Les hooks PrestaShop ne sont pas des détails techniques anecdotiques : ils incarnent l’ossature même de la modularité du CMS. En dissociant clairement le cœur du système des extensions, ils permettent à chaque boutique d’intégrer des fonctionnalités personnalisées sans altérer la stabilité fondamentale de la plateforme. Comprendre leur rôle, c’est saisir comment PrestaShop allie flexibilité et robustesse.
Maîtriser les hooks, c’est garantir la sérénité d’une boutique à long terme. En évitant les modifications directes du code source, les mises à jour de sécurité ou les évolutions majeures deviennent des opérations sans risque de rupture. Contrairement aux méthodes obsolètes comme les overrides, cette approche préserve la pérennité du projet tout en optimisant la performance. Un système bien structuré par des hooks reste fluide, rapide et adaptable aux défis futurs. Par exemple, un hook comme actionOrderConfirmation peut automatiser l’envoi de données à un partenaire logistique dès qu’une commande est validée, sans altérer les fichiers natifs.
Pour Prestamint, la transparence technique et l’autonomie des utilisateurs sont des priorités. La compréhension des hooks libère un potentiel souvent sous-exploité, transformant PrestaShop d’un simple outil en levier stratégique. Pour concrétiser cette vision, découvrez nos tutoriels techniques PrestaShop, illustrés par des cas pratiques comme l’optimisation des modules ou la création de hooks personnalisés.
Les hooks PrestaShop symbolisent la modularité du CMS. En séparant le cœur des personnalisations, ils assurent une boutique évolutive et compatible. Maîtriser ces "points d'ancrage" permet à développeurs et e-commerçants de déployer des solutions performantes. Pour approfondir, découvrez nos tutoriels sur PrestaShop 8 et 9.
🚀 Vous voulez aller plus loin techniquement ? Nos formations avancées PrestaShop vous donnent les clés pour développer des boutiques performantes.
Nous travaillons avec 772424 — la référence française de l’hébergement e-commerce spécialisé, avec déjà +1200 boutiques PrestaShop accompagnées.