Jump to content

About hooks


icee

Recommended Posts

Hello,

 

I've come here for your expert opinion about hooks.

 

For start I have a very basic question:

 

Is it possible that if I unhook a module function, somehow the module will be hooked again by itself ?

 

I unhooked the function from the GUI of Presta.

 

 

 

Thanks,

icee

Link to comment
Share on other sites

No it wasn't reinstalled.

 

Maybe I just saved some settings in the module configuration.

I'm not sure if after that it re-hooked by itself

 

nope, saving would not make a difference

 

ps will 'only' add hook automatically at installation (someone may know different), so if we delete hook from positions then module will not be called for that hook, though modules can have more than one hook.

Link to comment
Share on other sites

The exact details are:

 

  • Installed a module that syncs with another marketplace;
  • That module had a function that I din not want;
  • Asked the developer how to disable it;
  • Disabled it from Prestashop UI;
  • It seems it automaticlly re-hooks;
  • Here I am asking why is that happening.

 

If you need something more, please tell me.

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