Jump to content

Hook not showing on hookDisplayAdminProducts Extra

Recommended Posts

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 it works fine. and when i uploaded it on a certain server with prestashop version  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";



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More