Kid_JM Posted May 24, 2019 Share Posted May 24, 2019 I made a module that should display a template on the displayAdminProductsExtra hook but somehow it didn't. Its wierd cause when i was working on my local (Prestashop 1.7.5.1) it works fine. and when i uploaded it on a certain server with prestashop version 1.7.5.0 the issue appeared. I already checked positions, set performances caches to false. Here is my code. public function install() { if (!parent::install()) { return false; } if (!$this->registerHook('header') || !$this->registerHook('footer') || !$this->registerHook('productfooter') || !$this->registerHook('displayMyMadeInLabel') || !$this->registerHook('displayProductButtons') || !$this->registerHook('displayAdminProductsExtra')) { return false; } return true; } And for the Hook : public function hookDisplayAdminProductsExtra($params) { return "Some Content"; } 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