Search the Community
Showing results for tags 'displayadminproductsextra'.
-
Hi Dev's, I've got stucked while saving data from product page where i've craeted the field through the module via hookDisplayAdminProductsExtra. And i didn't get an idea to save new field data from the admin product page. So, please help if anyone have solution for this. Thank You.
-
- displayadminproductsextra
- hook
-
(and 3 more)
Tagged with:
-
Hi everyone, I'm trying to create a prestashop module works with displayAdminProductsExtra and actionProductUpdate. I got it working in prestashop version 1.6.1.17 and 1.7.1.2. But not working in PrestaShop v1.7.2.4. 2 modules(mine and Belvg_Sample Module) are hooked to displayAdminProductsExtra but the "Module options" tab not showing in admin side. Tried clear installation of prestashop 1.7.2.4 but didn't work. Anybody have similar problems and any work around? Thanks and regards
- 13 replies
-
- prestashop1.7.2.4
- product
-
(and 2 more)
Tagged with:
-
Bonjour, je rencontre sur une de mes boutiques une erreur sur l'affichage de l'onglet module sur la page admin des produit. Ma boutique est en 1.7.2.3, j'ai une duplication de cette boutique que j'utilise pour tester des modules qui rencontre le même problème, sur cette dernière j'ai fait une mise à jour vers la version 1.7.4.3 et le problème persiste (mode debug activé et override désactivée). J'ai une autre boutique en 1.7.2.4 qui n'a pas ce problème. Les modules ont pourtant dû bien s'activer car dans apparance->positions je les retrouve bien sous le hook displayAdminProductsExtra. Donc si quelqu'un peut m'aider à remonter à l'origine de mon problème car j'ai besoin de cet affichage pour le module Amazon. merci.
-
Hi everyone, I have a weird bug on one of my prestashop installation : no module appear in displayAdminProductsExtra hook. It is 1.7.2.3 I made a copy of it as a development platform, I tried to upgrade it but the bug is still here... I have another installation which was use in almost the same way but it does not present the bug. The module installation seems fine because I can see it in Design -> Positions I started debugging but need help to know where to look. I went up from the twig template and found the HookDispatcher class which does not return any listeners, but I don't know where the HookDispatcher is intanciated and the listener added. So if anyone can guide me to understand this problem, thank you
- 1 reply
-
- hook
- displayadminproductsextra
-
(and 2 more)
Tagged with:
-
Hi, i am creating a module on Presta 1.7.2, i would like to add a table of products in the admin product section (with the hook displayAdminProductsExtra). This is a simplified version of my code public function hookDisplayAdminProductsExtra($params) { $products = MyModel::getProducts(); $helper = new HelperList(); $helper->shopLinkType = ''; $helper->simple_header = true; $helper->identifier = 'id'; $helper->show_toolbar = true; $helper->title = 'HelperList'; $helper->table = $this->name . '_mytable'; $helper->token = Tools::getAdminTokenLite('AdminModules'); $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; return $helper->generateList($products, array( 'id' => array( 'title' => 'ID', 'type' => 'text' ), 'name' => array( 'title' => 'Nom', 'type' => 'text' ) )); } It generate the following error : Twig_Error_Runtime in form.html.twig line 951: An exception has been thrown during the rendering of a template ("Unable to load template file 'helpers/list/list_header.tpl'"). The template file exists, i tried to do some debugging in HelperList class, but no luck so far. Anyone can help ?
-
- 1
-
-
- twig
- hookDisplayAdminProductsExtra
- (and 4 more)
-
Hello Prestashop community, I am trying to develop a module that adds a new Tab on the product Add/Update Admin page. I managed to add the tab using displayAdminProductsExtra hook. I added some content there using the form helper. The problem is that the actionProductUpdate is not fired when I click the submit button on that tab. I thought I could use that hook (actionProductUpdate) to store the form data, but it's not working. I then thought about creating my own AdminController to handle that but I can't find any good documentation on how to extend that class. So can anyone tell me please how to porcess the form data ? I am working on prestashop 1.6 and I really need your help. Thanks.
- 5 replies
-
- DisplayAdminProductsExtra
- custom tab
-
(and 1 more)
Tagged with:
-
How can I know product ID (or get the product object) in hook DisplayAdminProductsExtra It is not passed in the params variable.