PrestaShop 1.7.1.x
Naming scheme
- action. These hooks are triggered by specific events that take place in PrestaShop.
- display. These hooks result in something being displayed, either in the front-end or the back-end.
Updated Hooks
A couple of hooks were modified between 1.7.0.x and 1.7.1.x.
actionDeleteProductInCartAfter
has been divided into two hooks:actionObjectProductInCartDeleteBefore
.actionObjectProductInCartDeleteAfter
.
displayProductButtons
has been renamed intodisplayProductAdditionalInfo
.- Don’t worry, we kept an alias :)
Full list of Hooks
Hook name | Since | Description | File(s) | What to expect in $params | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
action<AdminControllerName><Action>After | Called after performing <Action> in any <AdminController> | /classes/controller/AdminController.php | array( 'controller' => (AdminController), 'return' => (mixed) ); | ||||||||
action<AdminControllerName><Action>Before | Called before performing <Action> in any <AdminController> | /classes/controller/AdminController.php | array( 'controller' => (AdminController) ); | ||||||||
action<AdminControllerName>FormModifier | Called when rendering a form in any <AdminController> | /classes/controller/AdminController.php |
| ||||||||
action<AdminControllerName>ListingFieldsModifier | /classes/controller/AdminController.php | array( 'where' => &(string), 'group_by' => &(string), 'order_by' => &(string), 'order_way' => &(string), 'fields' => &(array) ); | |||||||||
action<AdminControllerName>OptionsModifier | /classes/controller/AdminController.php |
| |||||||||
actionAdmin<Action>After | Called after performing <Action> in any admin controller | /classes/controller/AdminController.php |
| ||||||||
actionAdmin<Action>Before | Called before performing <Action> in any admin controller | /classes/controller/AdminController.php | array( 'controller' => (AdminController) ); | ||||||||
actionAdminControllerSetMedia | /classes/controller/AdminController.php | N/A | |||||||||
actionAdminLoginControllerSetMedia | Called after adding media to admin login page header | /controllers/admin/AdminLoginController.php | N/A | ||||||||
actionAdminMetaAfterWriteRobotsFile | Called after generating the robots.txt file | /classes/Tools.php |
| ||||||||
actionAdminMetaBeforeWriteRobotsFile | Called before generating the robots.txt file | /classes/Tools.php | array( 'rb_data' => &(array) File data ); | ||||||||
actionAdminMetaSave | Called after saving the configuration in AdminMeta | /controllers/admin/AdminMetaController.php | N/A | ||||||||
actionAdminOrdersTrackingNumberUpdate | /controllers/admin/AdminOrdersController.php |
| |||||||||
actionAdminProductsListingFieldsModifier | /src/Adapter/Product/AdminProductDataProvider.php |
| |||||||||
actionAdminProductsListingResultsModifier | /src/Adapter/Product/AdminProductDataProvider.php |
| |||||||||
actionAdminThemesControllerUpdate_optionsAfter | /controllers/admin/AdminThemesController.php | N/A | |||||||||
actionAjaxDie<ControllerName><Method>Before | /classes/controller/Controller.php | array( 'value' => (string) ); | |||||||||
/classes/controller/Controller.php | |||||||||||
actionAttributeCombinationDelete | /classes/Combination.php | ||||||||||
actionAttributeCombinationSave | /classes/Combination.php | ||||||||||
actionAttributeDelete | Called when deleting an attributes features value | /classes/Attribute.php | |||||||||
actionAttributeGroupDelete | Called while deleting an attributes group | /classes/AttributeGroup.php | |||||||||
actionAttributeGroupSave | Called while saving an attributes group | /classes/AttributeGroup.php | |||||||||
actionAttributeSave | Called while saving an attributes features value | /classes/Attribute.php | |||||||||
actionAuthentication | After successful customer authentication | /classes/form/CustomerLoginForm.php | |||||||||
actionAuthenticationBefore | Before a customer successfully signs in | /classes/form/CustomerLoginForm.php | |||||||||
→ actionAjaxDie<ControllerName><Method>Before | /classes/controller/Controller.php | ||||||||||
actionBeforeCartUpdateQty | /classes/Cart.php | ||||||||||
actionCarrierProcess | Carrier process | /classes/checkout/CheckoutDeliveryStep.php | |||||||||
actionCarrierUpdate | This hook is called when a carrier is updated | /controllers/admin/AdminCarrierWizardController.php /controllers/admin/AdminCarriersController.php | |||||||||
actionCartSave | After a product is added to the cart or if the cart's content is modified | /classes/Cart.php | |||||||||
actionCartSummary | /classes/Cart.php | ||||||||||
actionCartUpdateQuantityBefore | /classes/Cart.php | ||||||||||
actionCategoryAdd | When a category is created | /classes/Category.php | |||||||||
actionCategoryDelete | When a category is deleted | /classes/Category.php | |||||||||
actionCategoryUpdate | When a category is modified | /classes/Category.php /controllers/admin/AdminProductsController.php | |||||||||
actionClearCache | 1.7.1 | When smarty's cache is cleared | /classes/Tools.php | ||||||||
actionClearCompileCache | 1.7.1 | When smarty's compile cache is cleared | /classes/Tools.php | ||||||||
actionClearSf2Cache | 1.7.1 | Wwhen the Symfony cache is cleared | /classes/Tools.php | ||||||||
actionCustomerAccountAdd | When a new customer creates an account successfully | /classes/form/CustomerPersister.php |
| ||||||||
actionCustomerAccountUpdate | When a customer updates its account successfully | /classes/form/CustomerPersister.php | |||||||||
actionCustomerAddGroups | /classes/Customer.php | ||||||||||
actionCustomerBeforeUpdateGroup | /classes/Customer.php | ||||||||||
actionCustomerLogoutAfter | /classes/Customer.php | ||||||||||
actionCustomerLogoutBefore | /classes/Customer.php | ||||||||||
actionDeliveryPriceByPrice | /classes/Carrier.php | ||||||||||
actionDeliveryPriceByWeight | /classes/Carrier.php | ||||||||||
actionDispatcher | /classes/Dispatcher.php | ||||||||||
actionDispatcherAfter | 1.7.1 | This hook is called at the end of the dispatch method of the Dispatcher | /classes/Dispatcher.php | ||||||||
actionDispatcherBefore | 1.7.1 | This hook is called at the beginning of the dispatch method of the Dispatcher | /classes/Dispatcher.php | ||||||||
actionDownloadAttachment | /controllers/front/AttachmentController.php | ||||||||||
actionEmailAddAfterContent | Add extra content after mail content This hook is called just after fetching mail template | /classes/Mail.php | |||||||||
actionEmailAddBeforeContent | Add extra content before mail content This hook is called just before fetching mail template | /classes/Mail.php | |||||||||
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 | /classes/Mail.php | |||||||||
actionFeatureDelete | This hook is called while deleting an attributes features | /classes/Feature.php | |||||||||
actionFeatureSave | This hook is called while saving an attributes features | /classes/Feature.php | |||||||||
actionFeatureValueDelete | This hook is called while deleting an attributes features value | /classes/FeatureValue.php | |||||||||
actionFeatureValueSave | This hook is called while saving an attributes features value | /classes/FeatureValue.php | |||||||||
actionFrontControllerSetMedia | /classes/controller/FrontController.php | ||||||||||
actionGetExtraMailTemplateVars | /classes/Mail.php | ||||||||||
actionGetIDZoneByAddressID | /classes/Address.php | ||||||||||
actionGetProductPropertiesAfter | /classes/Product.php | ||||||||||
actionGetProductPropertiesBefore | /classes/Product.php | ||||||||||
actionHtaccessCreate | After .htaccess creation | /classes/Tools.php | |||||||||
actionInvoiceNumberFormatted | /classes/order/OrderInvoice.php | ||||||||||
actionModuleInstallAfter | /classes/module/Module.php | ||||||||||
actionModuleInstallBefore | /classes/module/Module.php | ||||||||||
actionModuleRegisterHookAfter | /classes/Hook.php | ||||||||||
actionModuleRegisterHookBefore | /classes/Hook.php | ||||||||||
actionModuleUnRegisterHookAfter | /classes/Hook.php | ||||||||||
actionModuleUnRegisterHookBefore | /classes/Hook.php | ||||||||||
actionObject | /classes/ObjectModel.php | ||||||||||
actionObjectAddAfter | /classes/ObjectModel.php | ||||||||||
actionObjectAddBefore | /classes/ObjectModel.php | ||||||||||
actionObjectAttributeAddBefore | /controllers/admin/AdminAttributesGroupsController.php | ||||||||||
actionObjectAttributeGroupAddBefore | /controllers/admin/AdminAttributesGroupsController.php | ||||||||||
actionObjectDeleteAfter | /classes/ObjectModel.php | ||||||||||
actionObjectDeleteBefore | /classes/ObjectModel.php | ||||||||||
actionObjectProductInCartDeleteAfter | 1.7.1 | This hook is called after a product is removed from a cart | /controllers/front/CartController.php | ||||||||
actionObjectProductInCartDeleteBefore | 1.7.1 | This hook is called before a product is removed from a cart | /controllers/front/CartController.php | ||||||||
actionObjectUpdateAfter | /classes/ObjectModel.php | ||||||||||
actionObjectUpdateBefore | /classes/ObjectModel.php | ||||||||||
actionOnImageCutAfter | /classes/ImageManager.php | ||||||||||
actionOnImageResizeAfter | /classes/ImageManager.php | ||||||||||
actionOrderEdited | This hook is called when an order is edited | /controllers/admin/AdminOrdersController.php |
| ||||||||
actionOrderHistoryAddAfter | This hook is displayed when a customer returns a product | /classes/order/OrderHistory.php | |||||||||
actionOrderReturn | Called after a new Order Return has been made. | /controllers/front/OrderFollowController.php |
| ||||||||
actionOrderSlipAdd | Called when the quantity of a product changes in an order. WARNING: only invoked when a product is actually removed from an order. | /controllers/admin/AdminOrdersController.php |
The order of IDs and quantities is important! | ||||||||
actionOrderStatusPostUpdate | Called after the status of an order changes. | /classes/order/OrderHistory.php |
| ||||||||
actionOrderStatusUpdate | Called before the status of an order changes. | /classes/order/OrderHistory.php |
| ||||||||
actionOutputHTMLBefore | 1.7.1 | Before HTML output This hook is used to filter the whole HTML page before it is rendered (only front) | /classes/controller/FrontController.php | ||||||||
actionPasswordRenew | /controllers/front/PasswordController.php | ||||||||||
actionPaymentCCAdd | Payment CC added | /classes/order/OrderPayment.php |
| ||||||||
actionPaymentConfirmation | Called after a payment has been validated | /classes/order/OrderHistory.php |
| ||||||||
actionPDFInvoiceRender | /classes/PaymentModule.php /classes/order/OrderHistory.php /controllers/admin/AdminPdfController.php /controllers/front/PdfInvoiceController.php | ||||||||||
actionProductAdd | This hook is displayed after a product is created | /controllers/admin/AdminProductsController.php | |||||||||
actionProductAttributeDelete | This hook is displayed when a product's attribute is deleted | /classes/Product.php | |||||||||
actionProductAttributeUpdate | This hook is displayed when a product's attribute is updated | /classes/Product.php | |||||||||
actionProductCancel | This hook is called when you cancel a product in an order | /controllers/admin/AdminOrdersController.php | |||||||||
actionProductCoverage | /classes/stock/StockManager.php | ||||||||||
actionProductDelete | This hook is called when a product is deleted | /classes/Product.php | |||||||||
actionProductOutOfStock | This hook displays new action buttons if a product is out of stock | /themes/classic/templates/catalog/_partials/product-details.tpl /themes/classic/templates/catalog/product.tpl | |||||||||
actionProductSave | This hook is called while saving products | /classes/Product.php | |||||||||
actionProductSearchAfter | 1.7.1 | This hook is called after the product search. Parameters are already filter | /classes/controller/ProductListingFrontController.php | ||||||||
actionProductUpdate | This hook is displayed after a product has been updated | /classes/Product.php /controllers/admin/AdminProductsController.php | |||||||||
actionSearch | 1.7.1 | After the search in the store. Includes both instant and normal search. | /src/Adapter/Search/SearchProductSearchProvider.php |
| |||||||
actionSetInvoice | /classes/order/Order.php | ||||||||||
actionShopDataDuplication | After duplicating a shop. | /classes/shop/Shop.php |
| ||||||||
actionSubmitAccountBefore | 1.7.1 | /controllers/front/AuthController.php | |||||||||
actionUpdateLangAfter | 1.7.1 | Update "lang" tables after adding or updating a language | /classes/Language.php | ||||||||
actionUpdateQuantity | After updating the quantity of a product. Quantity is updated only when a customer effectively places their order | /classes/stock/StockAvailable.php |
| ||||||||
actionValidateCustomerAddressForm | This hook is called when a customer submit its address form | /classes/form/CustomerAddressForm.php |
| ||||||||
actionValidateOrder | After an order has been validated. Doesn't necessarily have to be paid. | /classes/PaymentModule.php | |||||||||
actionWatermark | After a watermark has been added to an image. | /classes/FileUploader.php /classes/webservice/WebserviceSpecificManagementImages.php /controllers/admin/AdminImportController.php /controllers/admin/AdminProductsController.php |
| ||||||||
additionalCustomerFormFields | Add fields to the Customer form This hook returns an array of FormFields to add them to the customer registration form | /classes/form/CustomerFormatter.php | |||||||||
addWebserviceResources | This hook is called when webservice resources list in webservice controller | /classes/webservice/WebserviceRequest.php | |||||||||
dashboardData | /controllers/admin/AdminDashboardController.php | ||||||||||
dashboardZoneOne | /controllers/admin/AdminDashboardController.php | ||||||||||
dashboardZoneTwo | /controllers/admin/AdminDashboardController.php | ||||||||||
displayAdminAfterHeader | admin-dev/themes/default/template/header.tpl admin-dev/themes/new-theme/template/layout.tpl | ||||||||||
displayAdminCustomers | Display new elements in the Back Office, tab AdminCustomers This hook launches modules when the AdminCustomers tab is displayed in the Back Office | admin-dev/themes/default/template/controllers/customers/helpers/view/view.tpl | array( | ||||||||
displayAdminForm | admin-dev/themes/default/template/helpers/form/form.tpl | ||||||||||
displayAdminListAfter | admin-dev/themes/default/template/controllers/countries/helpers/list/list_footer.tpl admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_footer.tpl admin-dev/themes/default/template/helpers/list/list_footer.tpl | ||||||||||
displayAdminListBefore | admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_header.tpl admin-dev/themes/default/template/helpers/list/list_header.tpl | ||||||||||
displayAdminLogin | admin-dev/themes/default/template/controllers/login/content.tpl | ||||||||||
displayAdminNavBarBeforeEnd | Display new elements in the Back Office, tab AdminCustomers This hook launches modules when the AdminCustomers tab is displayed in the Back Office | admin-dev/themes/default/template/nav.tpl admin-dev/themes/new-theme/template/components/layout/nav_bar.tpl | |||||||||
displayAdminOptions | admin-dev/themes/default/template/helpers/options/options.tpl | ||||||||||
displayAdminOrder | Display new elements in the Back Office, tab AdminOrder This hook launches modules when the AdminOrder tab is displayed in the Back Office | admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl | array( | ||||||||
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 | /controllers/admin/AdminOrdersController.php | |||||||||
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 | /controllers/admin/AdminOrdersController.php | |||||||||
displayAdminOrderLeft | admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl | ||||||||||
displayAdminOrderRight | admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl | ||||||||||
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 | /controllers/admin/AdminOrdersController.php | |||||||||
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 | /controllers/admin/AdminOrdersController.php | |||||||||
displayAdminProductsExtra | |||||||||||
displayAdminProductsCombinationBottom | /src/PrestaShopBundle/Resources/views/Admin/Product/Include/form_combination.html.twig | ||||||||||
displayAdminProductsMainStepLeftColumnBottom | Display new elements in back office product page, left column of This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig | |||||||||
displayAdminProductsMainStepLeftColumnMiddle | Display new elements in back office product page, left column of This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig | |||||||||
displayAdminProductsMainStepRightColumnBottom | Display new elements in back office product page, right column of This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig | |||||||||
displayAdminProductsOptionsStepBottom | Display new elements in back office product page, Options tab This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig | |||||||||
displayAdminProductsOptionsStepTop | Display new elements in back office product page, Options tab This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig | |||||||||
displayAdminProductsPriceStepBottom | Display new elements in back office product page, Price tab This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig | |||||||||
displayAdminProductsQuantitiesStepBottom | Display new elements in back office product page, Quantities/Com This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/form.html.twig | |||||||||
displayAdminProductsSeoStepBottom | Display new elements in back office product page, SEO tab This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/Include/form_seo.html.twig | |||||||||
displayAdminProductsShippingStepBottom | Display new elements in back office product page, Shipping tab This hook launches modules when the back office product page is displayed | /src/PrestaShopBundle/Resources/views/Admin/Product/Include/form_shipping.html.twig | |||||||||
displayAdminStatsModules | /controllers/admin/AdminStatsTabController.php | ||||||||||
displayAdminView | admin-dev/themes/default/template/helpers/view/view.tpl | ||||||||||
displayAfterBodyOpeningTag | Very top of pages Use this hook for advertisement or modals you want to load first | /themes/classic/templates/checkout/checkout.tpl /themes/classic/templates/layouts/layout-both-columns.tpl | |||||||||
displayAfterCarrier | After carriers list This hook is displayed after the carrier list in Front Office | /classes/checkout/CheckoutDeliveryStep.php | |||||||||
displayAfterProductThumbs | 1.7.1 | Display extra content below product thumbs This hook displays new elements below product images ex. additional media | /themes/classic/templates/catalog/_partials/product-cover-thumbnails.tpl | ||||||||
displayAfterThemeInstallation | admin-dev/themes/default/template/controllers/themes/helpers/view/view.tpl | ||||||||||
displayAttributeForm | Add fields to the form 'attribute value' This hook adds fields to the form 'attribute value' | admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl | |||||||||
displayAttributeGroupForm | Add fields to the form 'attribute group' This hook adds fields to the form 'attribute group' | admin-dev/themes/default/template/controllers/attributes_groups/helpers/form/form.tpl | |||||||||
displayBackOfficeCategory | Display new elements in the Back Office, tab AdminCategories This hook launches modules when the AdminCategories tab is displayed in the Back Office | /controllers/admin/AdminCategoriesController.php | |||||||||
displayBackOfficeFooter | Displayed within the admin panel's footer | admin-dev/themes/default/template/footer.tpl admin-dev/themes/new-theme/template/footer.tpl | |||||||||
displayBackOfficeHeader | Displayed between the | /classes/controller/AdminController.php | |||||||||
displayBackOfficeOrderActions | admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl | ||||||||||
displayBackOfficeTop | Shown above the actual content of a Back Office page | /classes/controller/AdminController.php | |||||||||
displayBanner | 1.7.1 | /themes/classic/templates/_partials/header.tpl | |||||||||
displayBeforeBodyClosingTag | Very bottom of pages Use this hook for your modals or any content you want to load at the very end | /themes/classic/templates/checkout/checkout.tpl /themes/classic/templates/layouts/layout-both-columns.tpl | |||||||||
displayBeforeCarrier | This hook is displayed before the carrier list on the Front Office | /classes/checkout/CheckoutDeliveryStep.php |
NOTE: intified means an array of integers 'intified' by | ||||||||
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 | /classes/checkout/DeliveryOptionsFinder.php | |||||||||
displayCarrierList | Display extra carriers in the carrier list. | /classes/Cart.php |
| ||||||||
displayCartExtraProductActions | Extra buttons in shopping cart This hook adds extra buttons to the product lines, in the shopping cart | /themes/classic/templates/checkout/_partials/cart-detailed-product-line.tpl | |||||||||
displayCheckoutSubtotalDetails | /themes/classic/templates/checkout/_partials/cart-detailed-totals.tpl | ||||||||||
displayCheckoutSummaryTop | /themes/classic/templates/checkout/_partials/cart-summary.tpl | ||||||||||
displayCMSDisputeInformation | /themes/classic/templates/cms/page.tpl | ||||||||||
displayCMSPrintButton | /themes/classic/templates/cms/page.tpl | ||||||||||
displayCrossSellingShoppingCart | themes/classic/templates/checkout/cart-empty.tpl | ||||||||||
displayContentWrapperBottom | Content wrapper section (bottom) This hook displays new elements in the bottom of the content wrapper | themes/classic/templates/layouts/layout-both-columns.tpl themes/classic/templates/layouts/layout-content-only.tpl themes/classic/templates/layouts/layout-full-width.tpl themes/classic/templates/layouts/layout-left-column.tpl themes/classic/templates/layouts/layout-right-column.tpl | |||||||||
displayContentWrapperTop | Content wrapper section (top) This hook displays new elements in the top of the content wrapper | themes/classic/templates/layouts/layout-both-columns.tpl themes/classic/templates/layouts/layout-content-only.tpl themes/classic/templates/layouts/layout-full-width.tpl themes/classic/templates/layouts/layout-left-column.tpl themes/classic/templates/layouts/layout-right-column.tpl | |||||||||
displayCrossSellingShoppingCart | /themes/classic/templates/checkout/cart-empty.tpl | ||||||||||
displayCustomerAccount | Displays new elements on the customer account page in Front Office | /themes/classic/templates/customer/my-account.tpl | |||||||||
displayCustomerAccountForm | Displays information on the customer account creation form | /classes/form/CustomerForm.php | |||||||||
displayCustomerAccountFormTop | Displayed above the customer's account creation form | /controllers/front/AuthController.php | |||||||||
displayCustomerLoginFormAfter | Displays new elements after the login form | /themes/classic/templates/customer/authentication.tpl | |||||||||
displayCustomization | /classes/Product.php | ||||||||||
displayDashboardTop | Dashboard Top Displays the content in the dashboard's top area | admin-dev/themes/default/template/page_header_toolbar.tpl | |||||||||
displayExpressCheckout | /themes/classic/templates/checkout/_partials/cart-detailed-actions.tpl | ||||||||||
displayFeatureForm | Add fields to the form 'feature' This hook adds fields to the form 'feature' | admin-dev/themes/default/template/controllers/features/helpers/form/form.tpl | |||||||||
displayFeaturePostProcess | On post-process in admin feature This hook is called on post-process in admin feature | /controllers/admin/AdminFeaturesController.php | |||||||||
displayFeatureValueForm | Add fields to the form 'feature value' This hook adds fields to the form 'feature value' | admin-dev/themes/default/template/controllers/feature_value/helpers/form/form.tpl | |||||||||
displayFeatureValuePostProcess | On post-process in admin feature value This hook is called on post-process in admin feature value | /controllers/admin/AdminFeaturesController.php | |||||||||
displayFooter | Displays new blocks in the footer | /themes/classic/templates/_partials/footer.tpl | |||||||||
displayFooterAfter | /themes/classic/templates/_partials/footer.tpl | ||||||||||
displayFooterBefore | /themes/classic/templates/_partials/footer.tpl | ||||||||||
displayFooterProduct | Added under the product's description | /themes/classic/templates/catalog/product.tpl | |||||||||
displayHeader | Added in the header of every page | /classes/controller/FrontController.php | |||||||||
displayHome | Displayed on the content of the home page. | /controllers/front/IndexController.php | |||||||||
displayInvoice | Invoice This hook displays new blocks on the invoice (order) | admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl | |||||||||
displayInvoiceLegalFreeText | PDF Invoice - Legal Free Text This hook allows you to modify the legal free text on PDF invoices | /classes/pdf/HTMLTemplateInvoice.php | |||||||||
displayLeftColumn | Displays new elements in the left-hand column | /themes/classic/templates/layouts/layout-both-columns.tpl | |||||||||
displayLeftColumnProduct | Displays new elements in the left-hand column of the product page | /themes/classic/templates/layouts/layout-both-columns.tpl | |||||||||
displayMaintenance | Maintenance Page This hook displays new elements on the maintenance page | /classes/controller/FrontController.php | |||||||||
displayMyAccountBlock | Displays extra information within the "my account: block | /themes/classic/modules/ps_customeraccountlinks/ps_customeraccountlinks.tpl | |||||||||
displayNav1 | /themes/classic/templates/_partials/header.tpl /themes/classic/templates/checkout/_partials/header.tpl | ||||||||||
displayNav2 | /themes/classic/templates/_partials/header.tpl /themes/classic/templates/checkout/_partials/header.tpl | ||||||||||
displayNavFullWidth | Navigation This hook displays full width navigation menu at the top of your pages | /themes/classic/templates/_partials/header.tpl /themes/classic/templates/checkout/_partials/header.tpl | |||||||||
displayNotFound | /themes/classic/templates/errors/not-found.tpl | ||||||||||
displayOrderConfirmation | Called within an order's confirmation page | /controllers/front/OrderConfirmationController.php |
| ||||||||
displayOrderConfirmation1 | /themes/classic/templates/checkout/order-confirmation.tpl | ||||||||||
displayOrderConfirmation2 | /themes/classic/templates/checkout/order-confirmation.tpl | ||||||||||
displayOrderDetail | Displayed within the order's details in Front Office | /controllers/front/GuestTrackingController.php /controllers/front/OrderDetailController.php |
| ||||||||
displayPaymentByBinaries | Payment form generated by binaries This hook displays form generated by binaries during the checkout | /themes/classic/templates/checkout/_partials/steps/payment.tpl | |||||||||
displayPaymentEU | /modules/ps_legalcompliance/ps_legalcompliance.php | ||||||||||
displayPaymentReturn | Payment return | /controllers/front/OrderConfirmationController.php | |||||||||
displayPaymentTop | Top of payment page This hook is displayed at the top of the payment page | /themes/classic/templates/checkout/_partials/steps/payment.tpl | |||||||||
displayProductAdditionalInfo | 1.7.1 | Product page additional info This hook adds additional information on the product page | /themes/classic/templates/catalog/_partials/product-additional-info.tpl /themes/classic/templates/catalog/_partials/quickview.tpl | ||||||||
displayProductListReviews | 1.7.1 | /themes/classic/templates/catalog/_partials/miniatures/product.tpl | |||||||||
displayProductPriceBlock | /themes/classic/templates/catalog/_partials/miniatures/product.tpl /themes/classic/templates/catalog/_partials/product-prices.tpl /themes/classic/templates/checkout/_partials/cart-summary-product-line.tpl /themes/classic/templates/checkout/_partials/order-confirmation-table.tpl | ||||||||||
displayReassurance | /themes/classic/templates/catalog/product.tpl /themes/classic/templates/checkout/cart.tpl /themes/classic/templates/checkout/checkout.tpl | ||||||||||
displayRightColumn | Displays new elements in the right-hand column | /themes/classic/templates/layouts/layout-both-columns.tpl |
Note that the | ||||||||
displayRightColumnProduct | Displays new elements in the right-hand column of the product page | /themes/classic/templates/layouts/layout-both-columns.tpl | |||||||||
displaySearch | /themes/classic/templates/errors/not-found.tpl | ||||||||||
displayShoppingCart | Displays new action buttons within the shopping cart | /themes/classic/templates/checkout/cart.tpl | |||||||||
displayShoppingCartFooter | Shopping cart footer This hook displays some specific information on the shopping cart's page | /themes/classic/templates/checkout/cart.tpl | |||||||||
displayTop | Top of pages This hook displays additional elements at the top of your pages | /themes/classic/templates/_partials/header.tpl /themes/classic/templates/checkout/_partials/header.tpl | |||||||||
displayWrapperBottom | Main wrapper section (bottom) This hook displays new elements in the bottom of the main wrapper | themes/classic/templates/checkout/checkout.tpl themes/classic/templates/layouts/layout-both-columns.tpl | |||||||||
displayWrapperTop | Main wrapper section (top) This hook displays new elements in the top of the main wrapper | themes/classic/templates/checkout/checkout.tpl themes/classic/templates/layouts/layout-both-columns.tpl | |||||||||
filterCmsCategoryContent | Filter the content page category This hook is called just before fetching content page category | /controllers/front/CmsController.php | |||||||||
filterCmsContent | Filter the content page This hook is called just before fetching content page | /controllers/front/CmsController.php | |||||||||
filterHtmlContent | Filter HTML field before rending a page This hook is called just before fetching a page on HTML field | /src/Adapter/ObjectPresenter.php | |||||||||
filterManufacturerContent | Filter the content page manufacturer This hook is called just before fetching content page manufacturer | /controllers/front/listing/ManufacturerController.php | |||||||||
filterProductContent | Filter the content page product This hook is called just before fetching content page product | /controllers/front/ProductController.php | |||||||||
filterProductSearch | 1.7.1 | /classes/controller/ProductListingFrontController.php | |||||||||
filterSupplierContent | /controllers/front/listing/SupplierController.php | ||||||||||
moduleRoutes | /classes/Dispatcher.php | ||||||||||
overrideMinimalPurchasePrice | /classes/controller/ModuleFrontController.php /src/Adapter/Cart/CartPresenter.php | ||||||||||
sendMailAlterTemplateVars | /prestashop/classes/Mail.php | ||||||||||
termsAndConditions | /classes/checkout/ConditionsToApproveFinder.php | ||||||||||
updateProduct | /classes/Product.php /classes/webservice/WebserviceSpecificManagementImages.php | ||||||||||
validateCustomerFormFields | /classes/form/CustomerForm.php |