Guest Posted May 7, 2020 Posted May 7, 2020 I need to display my module in administration, product detail on the modules tab. Thank you. Share this post Link to post Share on other sites More sharing options...
Janett Posted May 7, 2020 Posted May 7, 2020 https://devdocs.prestashop.com/1.7/modules/concepts/hooks/list-of-hooks/ displayAdminProductsExtra Share this post Link to post Share on other sites More sharing options...
EvaF Posted May 7, 2020 Posted May 7, 2020 (edited) try to add hook "displayAdminProductsExtra" into your module Edited May 7, 2020 by EvaF (see edit history) Share this post Link to post Share on other sites More sharing options...
EvaF Posted May 7, 2020 Posted May 7, 2020 try to add hook "displayAdminProductsExtra" into your module Share this post Link to post Share on other sites More sharing options...
Guest Posted May 7, 2020 Posted May 7, 2020 The hook is built-in. Thank you. And how do I display the module configuration window without an external tpl? public function install() { $this->installTab(); if (!parent::install() && !$this->registerHook('displayAdminProductsExtra')) { return false; } return true; } public function hookdisplayAdminProductsExtra() { // get module configuration return $this; } Share this post Link to post 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