Child pages
  • Hooks in PrestaShop 1.5

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Hook name

Hook description

actionAdminMetaControllerUpdate_optionsBefore 
actionAdminMetaSaveAfter saving configuration in AdminMeta

actionAttributeDelete

On deleting attribute feature value

actionAttributeGroupDelete

On deleting attribute group

actionAttributeGroupSave

On saving attribute group

actionAttributePostProcess

On post-process in admin feature value

actionAttributeSave

On saving attribute feature value

actionAuthentication 
actionBeforeAuthenticationBefore authentication

actionCarrierProcess

 

actionCarrierUpdate

This hook is called when a carrier is updated

actionCartSave 

actionCategoryAdd

 

actionCategoryDelete

 

actionCategoryUpdate

 

actionCustomerAccountAddCalled when a new customer successfully creates account

actionFeatureDelete

On deleting attribute feature

actionFeatureSave

On saving attribute feature

actionFeatureValueDelete

On deleting attribute feature value

actionFeatureValueSave

On saving attribute feature value

actionHtaccessCreateAfter .htaccess creation
actionObjectCategoryDeleteAfter 
actionObjectCategoryUpdateAfter 
actionObjectCmsDeleteAfter 
actionObjectCmsUpdateAfter 
actionObjectManufacturerDeleteAfter 
actionObjectManufacturerUpdateAfter 
actionObjectProductDeleteAfter 
actionObjectProductUpdateAfter 
actionObjectSupplierDeleteAfter 
actionObjectSupplierUpdateAfter 
actionOrderDetailTo set the follow-up in Smarty when order detail is called.
actionOrderReturn 
actionOrderSlipAddCalled when a quantity of one product change in an order.
actionOrderStatusPostUpdate 
actionOrderStatusUpdateLaunch modules when the order's status changes.
actionPaymentCCAddPayment CC added
actionPaymentConfirmation 

actionProductAdd

 

actionProductAttributeDelete

 

actionProductAttributeUpdate

 

actionProductCancel

This hook is called when you cancel a product in an order

actionProductDelete

This hook is called when a product is deleted

actionProductListOverride

Assign product list to a category

actionProductOutOfStock

Make action while product is out of stock

actionProductSave

On saving products

actionProductUpdate

 

actionSearch 
actionShopDataDuplication 
actionTaxManager 
actionUpdateQuantityQuantity is updated only when the customer effectively place his order.
actionValidateOrder 
actionWatermark 
displayAdminCustomersLaunch modules when the tab AdminCustomers is displayed on back-office.
displayAdminOrderLaunch modules when the tab AdminOrder is displayed on back-office.
displayAdminStatsGraphEngine 
displayAdminStatsGridEngine 
displayAdminStatsModules 

displayAttributeForm

Add fields to the form "attribute value"

displayAttributeGroupForm

Add fields to the form "attribute group"

displayAttributeGroupPostProcess

On post-process in admin attribute group

displayBackOfficeFooter 
displayBackOfficeHeader 
displayBackOfficeHome 
displayBackOfficeTop 
displayBeforeCarrierThis hook is display before the carrier list on Front office
displayBeforePaymentRedirect user to the module instead of displaying payment modules
displayCarrierList 
displayCustomerAccountDisplay on page account of the customer
displayCustomerAccountFormDisplay some information on the form to create a customer account
displayCustomerAccountFormTop 
displayFeatureFormdisplayFooterAdd fields to the form "feature"

displayFeaturePostProcess

On post-process in admin feature

displayFeatureValueForm

Add fields to the form "feature value"

displayFeatureValuePostProcess

On post-process in admin feature value

displayFooter

Add block in footer

displayFooterProduct

Add new blocks under the product description

block in footer
displayFooterProductAdd new blocks under the product description
displayHeaderA hook which allow you to do things in the header of each pages
displayHome 
displayInvoiceAdd blocks to invoice (order)
displayLeftColumn 
displayLeftColumnProduct 
displayMyAccountBlockDisplay extra information inside the "my account" block
displayMyAccountBlockfooterDisplay extra information inside the "my account" block
displayOrderConfirmationCalled on order confirmation page
displayOrderDetailDisplayed on order detail on front office
displayPayment 
displayPaymentReturn 
displayPaymentTopTop of payment page
displayPDFInvoiceAllow the display of extra information into the PDF invoice
displayProductButtonsPut new action buttons on product page
displayProductComparisonExtra Product Comparison
displayProductTabCalled on order product page tabs
displayProductTabContentCalled on order product page tabs
displayRightColumn 
displayRightColumnProduct 
displayShoppingCartDisplay some specific information
displayShoppingCartFooterDisplay some specific information on the shopping cart page
displayTopA hook which enables you to do things at the top of each page.

displayHeader

A hook which allow you to do things in the header of each pages

displayHome

 

displayInvoice

Add blocks to invoice (order)

displayLeftColumn

 

displayLeftColumnProduct

 

displayMyAccountBlock

Display extra information inside the "my account" block

displayMyAccountBlockfooter

Display extra information inside the "my account" block

displayOrderConfirmation

Called on order confirmation page

displayOrderDetail

Displayed on order detail on front office

displayPDFInvoice

Allow the display of extra information into the PDF invoice

displayPayment

 

displayPaymentReturn

 

displayPaymentTop

Top of payment page

displayProductButtons

Put new action buttons on product page

displayProductComparison

Extra Product Comparison

displayProductTab

Called on order product page tabs

displayProductTabContent

Called on order product page tabs

displayRightColumn

 

displayRightColumnProduct

 

displayShoppingCart

Display some specific information

displayShoppingCartFooter

Display some specific information on the shopping cart page

displayTop

A hook which enables you to do things at the top of each page.

...