Jump to content

hookDisplaydisplayProductButtons is ot working


Recommended Posts

I have the code on my module instillation:

 

    public function install()
    {
          if (Shop::isFeatureActive())
                Shop::setContext(Shop::CONTEXT_ALL);
 
          return parent::install() &&
                $this->registerHook('displayProductButtons') &&
                $this->registerHook('header') &&
                Configuration::updateValue('MYMODULE_NAME', 'writereview');
    }

 

    public function hookDisplaydisplayProductButtons($params)
    {
        
          return 'HELLO!';
    }

 

If I use the "leftColumn" works perfectly, but if I use the "displayProductButtons" it does not, what is the problem?

 

Please help
Thank You.

 

 

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