Jump to content

Hook ActionCustomerAccountUpdate en 1.6


Recommended Posts

Bonjour à tous,

 

Je cherche à utiliser le hookActionCustomerAccountUpdate sur un presta en 1.6. Il me semble que ce hook fonctionne à partir de la 1.7, je cherche donc a savoir si une solution existe pour le faire fonctionner en 1.6 ou pour créer un hook custom qui ferai le job similaire.

 

Merci d'avance 

Link to comment
Share on other sites

Hello:

In Prestashop 1.6 you could use any of this hooks to trigger some action after any object model is updated:

Hook::exec('actionObjectUpdateAfter', array('object' => $this));
Hook::exec('actionObject'.get_class($this).'UpdateAfter', array('object' => $this));

In you case the correct hook for after customer update is: hookActionObjectCustomerUpdateAfter

Regards

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...