O'Reilly logo

PrestaShop Module Development by Fabien Serny

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Native Hooks

The following table displays 145 different hooks available in PrestaShop:

Hook name

Description

Parameters

Files

actionAdminControllerSetMedia

This hook is used to include a CSS or JS file in the back office header.

None

/classes/controller/AdminController.php

actionAdminMetaSave

The AdminMeta controller corresponds to the SEO & URLs tab in the back office. The hook is used to add actions to this tab after a configuration change.

None

/controllers/admin/AdminMetaController.php

actionAdminOrdersTrackingNumberUpdate

This hook is used to trigger actions after a tracking number is updated on an order in the back office (for example, send an e-mail with the tracking number to the customer).

  • order: This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required