Jump to content

Back-Office Dynamic Hooks (Events) Not Working


jmvaBK

Recommended Posts

Hi, I'm working on a custom module for a company and I need some help.

 

I'm trying to use the dynamic hooks on the backend to manage product stocks. I'm not able to catch this events on my module despite I've registered the hooks in my install() method and placed a specific methods.

 

public function hookActionProductDelete($params) {
}

 

I'm logging all the process with the prestashop's FileLoggerCore. The events are dispatched but I can not capture them.

 

Another point that I've noticed is that hook names change between prestashop versions. In this last version 1.5 there are a lot more hooks than in previous ones. It's possible to use same hooks in versions from 1.3 to 1.5. Sorry for my english and many thanks in advance.

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...