Hooks Prestashop

Nombre técnicoNombreDescripción
1displayPaymentPaymentThis hook displays new elements on the payment page
2actionValidateOrderNew orders
3displayMaintenanceMaintenance PageThis hook displays new elements on the maintenance page
4actionPaymentConfirmationPayment confirmationThis hook displays new elements after the payment is validated
5displayPaymentReturnPayment return
6actionUpdateQuantityQuantity updateQuantity is updated only when a customer effectively places their order
7displayRightColumnRight column blocksThis hook displays new elements in the right-hand column
8displayLeftColumnLeft column blocksThis hook displays new elements in the left-hand column
9displayHomeHomepage contentThis hook displays new elements on the homepage
10HeaderPages html head sectionThis hook adds additional elements in the head section of your pages (head section of html)
11actionCartSaveCart creation and updateThis hook is displayed when a product is added to the cart or if the cart’s content is modified
12actionAuthenticationSuccessful customer authenticationThis hook is displayed after a customer successfully signs in
13actionProductAddProduct creationThis hook is displayed after a product is created
14actionProductUpdateProduct updateThis hook is displayed after a product has been updated
15displayTopTop of pagesThis hook displays additional elements at the top of your pages
16displayRightColumnProductNew elements on the product page (right column)This hook displays new elements in the right-hand column of the product page
17actionProductDeleteProduct deletionThis hook is called when a product is deleted
18displayFooterProductProduct footerThis hook adds new blocks under the product’s description
19displayInvoiceInvoiceThis hook displays new blocks on the invoice (order)
20actionOrderStatusUpdateOrder status update – EventThis hook launches modules when the status of an order changes.
21displayAdminOrderDisplay new elements in the Back Office, tab AdminOrderThis hook launches modules when the AdminOrder tab is displayed in the Back Office
22displayAdminOrderTabOrderDisplay new elements in Back Office, AdminOrder, panel OrderThis hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Order panel tabs
23displayAdminOrderTabShipDisplay new elements in Back Office, AdminOrder, panel ShippingThis hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Shipping panel tabs
24displayAdminOrderContentOrderDisplay new elements in Back Office, AdminOrder, panel OrderThis hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Order panel content
25displayAdminOrderContentShipDisplay new elements in Back Office, AdminOrder, panel ShippingThis hook launches modules when the AdminOrder tab is displayed in the Back Office and extends / override Shipping panel content
26displayFooterFooterThis hook displays new blocks in the footer
27displayPDFInvoicePDF InvoiceThis hook allows you to display additional information on PDF invoices
28displayInvoiceLegalFreeTextPDF Invoice – Legal Free TextThis hook allows you to modify the legal free text on PDF invoices
29displayAdminCustomersDisplay new elements in the Back Office, tab AdminCustomersThis hook launches modules when the AdminCustomers tab is displayed in the Back Office
30displayOrderConfirmationOrder confirmation pageThis hook is called within an order’s confirmation page
31actionCustomerAccountAddSuccessful customer account creationThis hook is called when a new customer creates an account successfully
32displayCustomerAccountCustomer account displayed in Front OfficeThis hook displays new elements on the customer account page
33displayCustomerIdentityFormCustomer identity form displayed in Front OfficeThis hook displays new elements on the form to update a customer identity
34actionOrderSlipAddOrder slip creationThis hook is called when a new credit slip is added regarding client order
35displayProductTabTabs on product pageThis hook is called on the product page’s tab
36displayProductTabContentTabs content on the product pageThis hook is called on the product page’s tab
37displayShoppingCartFooterShopping cart footerThis hook displays some specific information on the shopping cart’s page
38displayCustomerAccountFormCustomer account creation formThis hook displays some information on the form to create a customer account
39displayAdminStatsModulesStats – Modules
40displayAdminStatsGraphEngineGraph engines
41actionOrderReturnReturned productThis hook is displayed when a customer returns a product
42displayProductButtonsProduct page actionsThis hook adds new action buttons on the product page
43displayBackOfficeHomeAdministration panel homepageThis hook is displayed on the admin panel’s homepage
44displayAdminStatsGridEngineGrid engines
45actionWatermarkWatermark
46actionProductCancelProduct cancelledThis hook is called when you cancel a product in an order
47displayLeftColumnProductNew elements on the product page (left column)This hook displays new elements in the left-hand column of the product page
48actionProductOutOfStockOut-of-stock productThis hook displays new action buttons if a product is out of stock
49actionProductAttributeUpdateProduct attribute updateThis hook is displayed when a product’s attribute is updated
50displayCarrierListExtra carrier (module mode)
51displayShoppingCartShopping cart – Additional buttonThis hook displays new action buttons within the shopping cart
52actionSearchSearch
53displayBeforePaymentRedirect during the order processThis hook redirects the user to the module instead of displaying payment modules
54actionCarrierUpdateCarrier UpdateThis hook is called when a carrier is updated
55actionOrderStatusPostUpdatePost update of order status
56displayCustomerAccountFormTopBlock above the form for create an accountThis hook is displayed above the customer’s account creation form
57displayBackOfficeHeaderAdministration panel headerThis hook is displayed in the header of the admin panel
58displayBackOfficeTopAdministration panel hover the tabsThis hook is displayed on the roll hover of the tabs within the admin panel
59displayBackOfficeFooterAdministration panel footerThis hook is displayed within the admin panel’s footer
60actionProductAttributeDeleteProduct attribute deletionThis hook is displayed when a product’s attribute is deleted
61actionCarrierProcessCarrier process
62actionOrderDetailOrder detailThis hook is used to set the follow-up in Smarty when an order’s detail is called
63displayBeforeCarrierBefore carriers listThis hook is displayed before the carrier list in Front Office
64displayOrderDetailOrder detailThis hook is displayed within the order’s details in Front Office
65actionPaymentCCAddPayment CC added
66displayProductComparisonExtra product comparison
67actionCategoryAddCategory creationThis hook is displayed when a category is created
68actionCategoryUpdateCategory modificationThis hook is displayed when a category is modified
69actionCategoryDeleteCategory deletionThis hook is displayed when a category is deleted
70actionBeforeAuthenticationBefore authenticationThis hook is displayed before the customer’s authentication
71displayPaymentTopTop of payment pageThis hook is displayed at the top of the payment page
72actionHtaccessCreateAfter htaccess creationThis hook is displayed after the htaccess creation
73actionAdminMetaSaveAfter saving the configuration in AdminMetaThis hook is displayed after saving the configuration in AdminMeta
74displayAttributeGroupFormAdd fields to the form ‘attribute group’This hook adds fields to the form ‘attribute group’
75actionAttributeGroupSaveSaving an attribute groupThis hook is called while saving an attributes group
76actionAttributeGroupDeleteDeleting attribute groupThis hook is called while deleting an attributes group
77displayFeatureFormAdd fields to the form ‘feature’This hook adds fields to the form ‘feature’
78actionFeatureSaveSaving attributes’ featuresThis hook is called while saving an attributes features
79actionFeatureDeleteDeleting attributes’ featuresThis hook is called while deleting an attributes features
80actionProductSaveSaving productsThis hook is called while saving products
81actionProductListOverrideAssign a products list to a categoryThis hook assigns a products list to a category
82displayAttributeGroupPostProcessOn post-process in admin attribute groupThis hook is called on post-process in admin attribute group
83displayFeaturePostProcessOn post-process in admin featureThis hook is called on post-process in admin feature
84displayFeatureValueFormAdd fields to the form ‘feature value’This hook adds fields to the form ‘feature value’
85displayFeatureValuePostProcessOn post-process in admin feature valueThis hook is called on post-process in admin feature value
86actionFeatureValueDeleteDeleting attributes’ features’ valuesThis hook is called while deleting an attributes features value
87actionFeatureValueSaveSaving an attributes features valueThis hook is called while saving an attributes features value
88displayAttributeFormAdd fields to the form ‘attribute value’This hook adds fields to the form ‘attribute value’
89actionAttributePostProcessOn post-process in admin feature valueThis hook is called on post-process in admin feature value
90actionAttributeDeleteDeleting an attributes features valueThis hook is called while deleting an attributes features value
91actionAttributeSaveSaving an attributes features valueThis hook is called while saving an attributes features value
92actionTaxManagerTax Manager Factory
93displayMyAccountBlockMy account blockThis hook displays extra information within the ‘my account’ block»
94actionModuleInstallBeforeactionModuleInstallBefore
95actionModuleInstallAfteractionModuleInstallAfter
96displayHomeTabHome Page TabsThis hook displays new elements on the homepage tabs
97displayHomeTabContentHome Page Tabs ContentThis hook displays new elements on the homepage tabs content
98displayTopColumnTop column blocksThis hook displays new elements in the top of columns
99displayBackOfficeCategoryDisplay new elements in the Back Office, tab AdminCategoriesThis hook launches modules when the AdminCategories tab is displayed in the Back Office
100displayProductListFunctionalButtonsDisplay new elements in the Front Office, products listThis hook launches modules when the products list is displayed in the Front Office
101displayNavNavigation
102displayOverrideTemplateChange the default template of current controller
103actionAdminLoginControllerSetMediaSet media on admin login page headerThis hook is called after adding media to admin login page header
104actionOrderEditedOrder editedThis hook is called when an order is edited.
105actionEmailAddBeforeContentAdd extra content before mail contentThis hook is called just before fetching mail template
106actionEmailAddAfterContentAdd extra content after mail contentThis hook is called just after fetching mail template
107displayCartExtraProductActionsExtra buttons in shopping cartThis hook adds extra buttons to the product lines, in the shopping cart
108actionObjectProductUpdateAfteractionObjectProductUpdateAfter
109actionObjectProductDeleteAfteractionObjectProductDeleteAfter
110displayCompareExtraInformationdisplayCompareExtraInformation
111displaySocialSharingdisplaySocialSharing
112displayBannerdisplayBanner
113actionObjectLanguageAddAfteractionObjectLanguageAddAfter
114displayPaymentEUdisplayPaymentEU
115actionCartListOverrideactionCartListOverride
116actionAdminMetaControllerUpdate_optionsBefore
117actionAdminLanguagesControllerStatusBefore
118actionObjectCmsUpdateAfteractionObjectCmsUpdateAfter
119actionObjectCmsDeleteAfteractionObjectCmsDeleteAfter
120actionShopDataDuplicationactionShopDataDuplication
121actionAdminStoresControllerUpdate_optionsAfter
122actionObjectManufacturerDeleteAfteractionObjectManufacturerDeleteAfter
123actionObjectManufacturerAddAfteractionObjectManufacturerAddAfter
124actionObjectManufacturerUpdateAfteractionObjectManufacturerUpdateAfter
126actionModuleRegisterHookAfteractionModuleRegisterHookAfter
127actionModuleUnRegisterHookAfteractionModuleUnRegisterHookAfter
128displayMyAccountBlockfooterMy account blockDisplay extra informations inside the «my account» block
129displayMobileTopSiteMapdisplayMobileTopSiteMap
130displaySearchdisplaySearch
131actionObjectSupplierDeleteAfteractionObjectSupplierDeleteAfter
132actionObjectSupplierAddAfteractionObjectSupplierAddAfter
133actionObjectSupplierUpdateAfteractionObjectSupplierUpdateAfter
134actionObjectCategoryUpdateAfteractionObjectCategoryUpdateAfter
135actionObjectCategoryDeleteAfteractionObjectCategoryDeleteAfter
136actionObjectCategoryAddAfteractionObjectCategoryAddAfter
137actionObjectCmsAddAfteractionObjectCmsAddAfter
138actionObjectProductAddAfteractionObjectProductAddAfter
139dashboardZoneOnedashboardZoneOne
140dashboardDatadashboardData
141actionObjectOrderAddAfteractionObjectOrderAddAfter
142actionObjectCustomerAddAfteractionObjectCustomerAddAfter
143actionObjectCustomerMessageAddAfteractionObjectCustomerMessageAddAfter
144actionObjectCustomerThreadAddAfteractionObjectCustomerThreadAddAfter
145actionObjectOrderReturnAddAfteractionObjectOrderReturnAddAfter
146actionAdminControllerSetMediaactionAdminControllerSetMedia
147dashboardZoneTwodashboardZoneTwo
148displayOrderproductInlistdisplayOrderproductInlist
149OrderChangeShippingOrderChangeShipping
150orderProuductLideEditorderProuductLideEdit
151actionObjectPrestoolsSuiteDataAddAfteractionObjectPrestoolsSuiteDataAddAfter
152actionProductCoverageactionProductCoverage