Wenheda Posted February 14 Share Posted February 14 Bonjour, Je cherche un hook qui se déclancherait avant la suppression d'un employé. Est-ce qu'un tel hook existe ? Je suppose sinon qu'il faudrait override le controller AdminEmployeesController.php C'est pour un prestashop en 1.6 Merci beaucoup Link to comment Share on other sites More sharing options...
Ewonta Posted February 15 Share Posted February 15 Bonjour, vous pouvez trouver tous les crochets (hooks) dans la documentation:https://devdocs.prestashop-project.org/8/modules/concepts/hooks/list-of-hooks/ Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 15 Share Posted February 15 Salut, Bon, je ne me souviens plus si cela fonctionne sur PrestaShop 1.6 mais peut-être essayer avec ces hook liés aux Object : https://devdocs.prestashop-project.org/8/modules/concepts/hooks/list-of-hooks/actionobjectclassnamedeletebefore/ Link to comment Share on other sites More sharing options...
Wenheda Posted February 17 Author Share Posted February 17 Bonjour, Merci pour votre réponse, je vais voir si ça peut fonctionner Bonne journée ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now