usasat Posted June 10, 2016 Share Posted June 10, 2016 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 helpThank You. Link to comment Share on other sites More sharing options...
usasat Posted June 10, 2016 Author Share Posted June 10, 2016 Never mid I found the problem hookDisplaydisplayProductButtons is typed incorrectly: hookdisplayProductButtons Thank You Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now