Jump to content

Add additional Hook to Module


Recommended Posts

Hello,

 

I've tried to override the public install function to add an additional hook position.

To be more specific, I want to hook a module to displayProductButton.

Is there a how-to somewhere or maybe a small hint could help also.

Thanks!

Link to comment
Share on other sites

Thanks for the reply, but the issue, it's an 3rd party plugin (paypal).

So I don't want to change the core plugin files or else it get's overwritten after an update.

Is there no other solution?

I tried to override it by extending the class with an additional hook, which did not work.

Any one else has experience with extending an plugin class?

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