ibrahimovich87 Posted April 24, 2018 Share Posted April 24, 2018 Hi, i need help to add custom columns in product list in backoffice, what i'd like is get Manufacturer value PS. 1.7.2.5 Thanks to all Link to comment Share on other sites More sharing options...
FuenRob Posted April 24, 2018 Share Posted April 24, 2018 Hello, You can add new columns with this function in your module: public function hookActionAdminProductsListingFieldsModifier($params) { if (isset($params['select'])) { //get data $params['select'] .= ', a.new_field as new_field'; //add new column in list $params['fields']['new_field'] = array( 'title' => $this->trans('Custom field', array(), 'Admin.Global'), 'align' => 'text-center', 'class' => 'fixed-width-xs', 'search' => true, 'havingFilter' => true, 'filter_key' => 'a!new_field' ); } If you have more questions, ask me. Regards Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted April 24, 2018 Author Share Posted April 24, 2018 1 hour ago, FuenRob said: Hello, You can add new columns with this function in your module: public function hookActionAdminProductsListingFieldsModifier($params) { if (isset($params['select'])) { //get data $params['select'] .= ', a.new_field as new_field'; //add new column in list $params['fields']['new_field'] = array( 'title' => $this->trans('Custom field', array(), 'Admin.Global'), 'align' => 'text-center', 'class' => 'fixed-width-xs', 'search' => true, 'havingFilter' => true, 'filter_key' => 'a!new_field' ); } If you have more questions, ask me. Regards Hi thanks for your answer, but the problem it's that i'm really a newbye....wich file i have to modify? Link to comment Share on other sites More sharing options...
hhennes Posted April 24, 2018 Share Posted April 24, 2018 Hi, I've written an article a couple of month ago on this subject ( in french )https://www.h-hennes.fr/blog/2017/11/15/prestashop-1-7-ajouter-des-champs-dans-le-listing-produit-admin Regards, Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted April 24, 2018 Author Share Posted April 24, 2018 Sorry but it's too difficult in this mode...we've sorry but i need this but i'm a completely newbie programmer..can you help me more? Link to comment Share on other sites More sharing options...
hhennes Posted April 25, 2018 Share Posted April 25, 2018 Hello, So in your case the best solution is to search for a module, as unfortunately there is no easier way to do this. Regards, Link to comment Share on other sites More sharing options...
FuenRob Posted April 25, 2018 Share Posted April 25, 2018 On 24/4/2018 at 5:31 PM, ibrahimovich87 said: Sorry but it's too difficult in this mode...we've sorry but i need this but i'm a completely newbie programmer..can you help me more? I can make this module. Wait. Link to comment Share on other sites More sharing options...
FuenRob Posted April 25, 2018 Share Posted April 25, 2018 Thanks for the tutorial @hhennes @ibrahimovich87 in this repository, you can download the module: https://github.com/FuenRob/Modules-Prestashop-1.7 The module is: addcolumninlist Regards 2 Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted April 26, 2018 Author Share Posted April 26, 2018 (edited) So thank you for you help ;-) i've installed it very thanks you ;-) So if i would add brand too? Edited April 26, 2018 by ibrahimovich87 (see edit history) Link to comment Share on other sites More sharing options...
FuenRob Posted April 26, 2018 Share Posted April 26, 2018 4 hours ago, ibrahimovich87 said: So thank you for you help ;-) i've installed it very thanks you ;-) So if i would add brand too? It should not be a problem Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted April 26, 2018 Author Share Posted April 26, 2018 1 hour ago, FuenRob said: It should not be a problem It was a problem if you make this one for me? ...you are my only salvation Link to comment Share on other sites More sharing options...
FuenRob Posted April 26, 2018 Share Posted April 26, 2018 2 hours ago, ibrahimovich87 said: It was a problem if you make this one for me? ...you are my only salvation Do you want me to add the field? Sorry, but I can not help you until next week. Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted April 26, 2018 Author Share Posted April 26, 2018 1 minute ago, FuenRob said: Do you want me to add the field? Sorry, but I can not help you until next week. If you do it for me no problem if i have to wait next week, thank you Link to comment Share on other sites More sharing options...
rygar Posted April 27, 2018 Share Posted April 27, 2018 On 25/04/2018 at 11:18 PM, FuenRob said: Thanks for the tutorial @hhennes @ibrahimovich87 in this repository, you can download the module: https://github.com/FuenRob/Modules-Prestashop-1.7 The module is: addcolumninlist Regards I have added this module but nothing new shows up on the product list Link to comment Share on other sites More sharing options...
rygar Posted April 27, 2018 Share Posted April 27, 2018 Is this for adding manufacturer filter field on the catalog product list or I got it all wrong? Link to comment Share on other sites More sharing options...
FuenRob Posted April 27, 2018 Share Posted April 27, 2018 59 minutes ago, rygar said: Is this for adding manufacturer filter field on the catalog product list or I got it all wrong? This is to add a new field to the product list. If you do not see that new field, can you tell me your version of prestashop? Link to comment Share on other sites More sharing options...
rygar Posted April 27, 2018 Share Posted April 27, 2018 @FuenRob I'm using 1.7.3.1 Link to comment Share on other sites More sharing options...
FuenRob Posted April 27, 2018 Share Posted April 27, 2018 (edited) 47 minutes ago, rygar said: @FuenRob I'm using 1.7.3.1 I have uploaded a new version. Can you probe it and send me your feedback? https://github.com/FuenRob/Modules-Prestashop-1.7 thanks Edited April 27, 2018 by FuenRob (see edit history) Link to comment Share on other sites More sharing options...
rygar Posted April 27, 2018 Share Posted April 27, 2018 @FuenRob thanks it is working now but is it possible to make it a searchable field instead of select form? Link to comment Share on other sites More sharing options...
rygar Posted April 27, 2018 Share Posted April 27, 2018 (edited) or if that hard to achieve then we can use searchable dropdown like this one https://harvesthq.github.io/chosen/ Edited April 27, 2018 by rygar (see edit history) Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted April 30, 2018 Author Share Posted April 30, 2018 On 26/4/2018 at 4:57 PM, FuenRob said: Do you want me to add the field? Sorry, but I can not help you until next week. Not problem for me to wait, tell me when you are done, and really thank you Link to comment Share on other sites More sharing options...
FuenRob Posted April 30, 2018 Share Posted April 30, 2018 (edited) Hello @rygar, i'm happy that my module works well in your prestashop. Hello, @ibrahimovich87, you can download new version in my github. Remember that you have to replace the files located in src/PrestaShopBundle/Resources/views/Admin/Product/ by the modules, located in view/PrestaShop/Admin/Product/ view/PrestaShop/Admin/Product/ -> src/PrestaShopBundle/Resources/views/Admin/Product/ Please, you must make a backup of the originals. Regards Thanks Edited April 30, 2018 by FuenRob (see edit history) Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted May 2, 2018 Author Share Posted May 2, 2018 On 30/4/2018 at 6:44 PM, FuenRob said: Hello @rygar, i'm happy that my module works well in your prestashop. Hello, @ibrahimovich87, you can download new version in my github. Remember that you have to replace the files located in src/PrestaShopBundle/Resources/views/Admin/Product/ by the modules, located in view/PrestaShop/Admin/Product/ view/PrestaShop/Admin/Product/ -> src/PrestaShopBundle/Resources/views/Admin/Product/ Please, you must make a backup of the originals. Regards Thanks I've replaced it but nothis appened, so i have upgraded module and after this i 've re-replaced files, but no changes Link to comment Share on other sites More sharing options...
FuenRob Posted May 2, 2018 Share Posted May 2, 2018 3 hours ago, ibrahimovich87 said: I've replaced it but nothis appened, so i have upgraded module and after this i 've re-replaced files, but no changes Hello, i've uploaded a new realease. I've probed in 1.7.2 and 1.7.3 What files have you replaced? Regards Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted May 2, 2018 Author Share Posted May 2, 2018 35 minutes ago, FuenRob said: Hello, i've uploaded a new realease. I've probed in 1.7.2 and 1.7.3 What files have you replaced? Regards 1.7.2.5 have replaced all file in your github-->addcolums list so have replaced php in modules, all in hook and > src/PrestaShopBundle/Resources/views/Admin/Product/ Link to comment Share on other sites More sharing options...
FuenRob Posted May 2, 2018 Share Posted May 2, 2018 29 minutes ago, ibrahimovich87 said: 1.7.2.5 have replaced all file in your github-->addcolums list so have replaced php in modules, all in hook and > src/PrestaShopBundle/Resources/views/Admin/Product/ You must replace the files: -catalog.html.twig -list.html.twig From the folder: src /PrestaShopBundle/Resources/views/Admin/Product/ by those in /views/Prestashop/Admin/Product/ Regards Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted May 3, 2018 Author Share Posted May 3, 2018 15 hours ago, FuenRob said: You must replace the files: -catalog.html.twig -list.html.twig From the folder: src /PrestaShopBundle/Resources/views/Admin/Product/ by those in /views/Prestashop/Admin/Product/ Regards Ok i've replaced this file but only see categories not brand Link to comment Share on other sites More sharing options...
FuenRob Posted May 3, 2018 Share Posted May 3, 2018 10 minutes ago, ibrahimovich87 said: Ok i've replaced this file but only see categories not brand Can you clear you cache of the prestashop? Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted May 3, 2018 Author Share Posted May 3, 2018 Yes...now it's function ;-) for me it's resolved.....so vert thank you Fuen Link to comment Share on other sites More sharing options...
FuenRob Posted May 3, 2018 Share Posted May 3, 2018 4 hours ago, ibrahimovich87 said: Yes...now it's function ;-) for me it's resolved.....so vert thank you Fuen Yujuuuu!! it's perfect. Please, edit the title for add "Solved", and you can choose what was the answer for you that solved your problem. In this way, we help other users. Thanks Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted June 15, 2018 Author Share Posted June 15, 2018 On 3/5/2018 at 1:58 PM, FuenRob said: Yujuuuu!! it's perfect. Please, edit the title for add "Solved", and you can choose what was the answer for you that solved your problem. In this way, we help other users. Thanks Hi fuen...i've update to 1.7.3.o but i cannot see manufactrerr i've cleared cache...can you help me pleasE? Link to comment Share on other sites More sharing options...
FuenRob Posted June 18, 2018 Share Posted June 18, 2018 On 2/5/2018 at 5:07 PM, ibrahimovich87 said: 1.7.2.5 have replaced all file in your github-->addcolums list so have replaced php in modules, all in hook and > src/PrestaShopBundle/Resources/views/Admin/Product/ Hii, Have you tried to restart the module? Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted June 26, 2018 Author Share Posted June 26, 2018 ok it's all ok !!! thank you ;-) Link to comment Share on other sites More sharing options...
JOse Posted September 13, 2018 Share Posted September 13, 2018 Hello!. I'm trying to do the same, followed the steps, Replaced the files in src/PrestaShopBundle/Resources/views/Admin/Product/ but I have troubles intalling the Module. I've got an error message as I drag and drop the Module Folder onto the "upload module"box. Where should I copy template folders files and addcolumlist.php? Thanks Link to comment Share on other sites More sharing options...
jlazaro Posted December 18, 2018 Share Posted December 18, 2018 Hello, I'm trying the module in a PS 1.7.4.2, but nothing changes on catalog product list. I've already check cache and restart module. I'm wondering if this module works with 1.7.4 version. The file tree is a little bit different : src/PrestaShopBundle/Resources/views/Admin/Product/ changes to: /httpdocs/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig and /httpdocs/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/list.html.twig I've already try to replace the files on github on this path, but nothing changes. Please, I need to add some extra columns but I can't find where to modify the files. Thanks in advance!! Link to comment Share on other sites More sharing options...
Stefand Posted January 26, 2019 Share Posted January 26, 2019 Doesn't work in 1.7.5 because catalog.html.twig is way different. 1 Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted February 15, 2019 Author Share Posted February 15, 2019 On 6/18/2018 at 11:04 AM, FuenRob said: Hii, Have you tried to restart the module? Hi fuen have changed module to 1.7.5 can you please update it? Very thank you Link to comment Share on other sites More sharing options...
FuenRob Posted February 15, 2019 Share Posted February 15, 2019 Hi ibra, You can download the module in my github: https://github.com/FuenRob/Modules-Prestashop-1.7/tree/master/addcolumninlist Thanks Link to comment Share on other sites More sharing options...
ibrahimovich87 Posted February 15, 2019 Author Share Posted February 15, 2019 Hi fuen thank's it's redy for 1.7.5? Link to comment Share on other sites More sharing options...
Maria del Pino Posted February 23, 2019 Share Posted February 23, 2019 On 2/15/2019 at 12:04 PM, ibrahimovich87 said: Hi fuen thank's it's redy for 1.7.5? I cannot make it work in 1.7.5, throws error 500 (twig error loader): Template "PrestaShopBundle:Admin/Product/Include:catalog_order_carrets.html.twig" is not defined in PrestaShop/Admin/Product/CatalogPage/catalog.html.twig at line 255. 😥 Link to comment Share on other sites More sharing options...
hands0me Posted April 12, 2019 Share Posted April 12, 2019 The same, nothing new shows up on the product list 1.7.5 Link to comment Share on other sites More sharing options...
PrestaRob Posted June 4, 2019 Share Posted June 4, 2019 (edited) Hello, try attached module - it adds Manufacturers & Suppliers to product list in admin. adminmodifications.zip Edited June 4, 2019 by PrestaRob (see edit history) 1 Link to comment Share on other sites More sharing options...
hands0me Posted June 16, 2019 Share Posted June 16, 2019 (edited) On 6/4/2019 at 6:20 PM, PrestaRob said: Hello, try attached module - it adds Manufacturers & Suppliers to product list in admin. adminmodifications.zip Hi after uploading new code, Manufacturer and Supplier filters appeared, but they don't work and the old filter tabs does not work, they are inactive. Edited June 16, 2019 by hands0me (see edit history) Link to comment Share on other sites More sharing options...
Ludovic Posted June 30, 2019 Share Posted June 30, 2019 Hi Everybody, Anybody had found a solution on this ? Thanks ! Ludovic Link to comment Share on other sites More sharing options...
Ludovic Posted June 30, 2019 Share Posted June 30, 2019 Little update: {% include 'PrestaShopBundle:Admin/Product/Include:catalog_order_carrets.html.twig' with { I didn't find any catalog_order_carret.html.twig in my src folder, maybe the error comes from this. But, I don't know by which file is replaced. Thanks, Ludo Link to comment Share on other sites More sharing options...
wagood Posted July 25, 2019 Share Posted July 25, 2019 Is any way to save filter? When I reload page or make bulk actions new filters are empty, but core filters still working. Thank you! Link to comment Share on other sites More sharing options...
Damien Forner Posted August 5, 2019 Share Posted August 5, 2019 It's the same for me than for hands0me : New filters do appear but they are not envolved on the query when search button is clicked Link to comment Share on other sites More sharing options...
Shara_AC Posted August 26, 2019 Share Posted August 26, 2019 (edited) Hello excuse me. I am sorry if my english is bad How to adding new field in customers backoffice My version prestashop 1.7.6 please help me Edited August 26, 2019 by yahyaefendy (see edit history) Link to comment Share on other sites More sharing options...
Stigz Posted August 29, 2019 Share Posted August 29, 2019 (edited) Edit: sorry for the up but it's the first result on google prestashop 1.7.3+ I think it's a clean example (adapt to your need, here it' is for manufacturer in products admin list) After install https://www.prestashop.com/forums/applications/core/interface/file/attachment.php?id=226225, modify AdminFilter.php in /admin/autoupgrade (make a search on this folder) and open AdminFilter.php After the line 'filter_column_name_category' => '', add the line 'filter_column_manufacturer' => '', And after the line 'filter_column_name_category' => FILTER_SANITIZE_STRING, Add the line 'filter_column_manufacturer' => FILTER_SANITIZE_STRING, Clean your cache in /var/.../dev + prod (delete dev & prod folders) Reload the page Catalog > products Joyeux noël overrideproductslistwithmanufacturer.zip Edited August 29, 2019 by Stigz (see edit history) 1 Link to comment Share on other sites More sharing options...
fercarazo Posted August 30, 2019 Share Posted August 30, 2019 18 hours ago, Stigz said: Edit: sorry for the up but it's the first result on google prestashop 1.7.3+ I think it's a clean example (adapt to your need, here it' is for manufacturer in products admin list) After install https://www.prestashop.com/forums/applications/core/interface/file/attachment.php?id=226225, modify AdminFilter.php in /admin/autoupgrade (make a search on this folder) and open AdminFilter.php After the line 'filter_column_name_category' => '', add the line 'filter_column_manufacturer' => '', And after the line 'filter_column_name_category' => FILTER_SANITIZE_STRING, Add the line 'filter_column_manufacturer' => FILTER_SANITIZE_STRING, Clean your cache in /var/.../dev + prod (delete dev & prod folders) Reload the page Catalog > products Joyeux noël overrideproductslistwithmanufacturer.zip try in 1.7.4 and work, but... i can't find anything, if I try, look for price, category, manufacturer, whatever ... it does not work and returns me to the administrator's main :( and this step I have not done because I do not understand .. (modify AdminFilter.php in /admin/autoupgrade can help me? 1 Link to comment Share on other sites More sharing options...
Stigz Posted August 30, 2019 Share Posted August 30, 2019 (edited) AdminFilter.php is in \admin\autoupgrade\latest\src\PrestaShopBundle\Entity\ You can add the lines in this file as mentioned before Clean your cache + delete /dev and /prod folder in /var/cache reload your admin page at BO > Catalog > products If it does not work already, now go to \src\PrestaShopBundle\Entity\ to find the other AdminFilter.php and add also the lines as mentioned before Re-clean your cache. If the module continue to not working correctly with prestashop 1.7.4, I make a try with prestashop 1.7.4... Edited August 30, 2019 by Stigz private values on screenshot (see edit history) Link to comment Share on other sites More sharing options...
fercarazo Posted August 30, 2019 Share Posted August 30, 2019 touché in this line:🤗 \src\PrestaShopBundle\Entity\ now works in 1.7.4 REALLY THX! very nice work Stigz Link to comment Share on other sites More sharing options...
dominik__w Posted September 11, 2019 Share Posted September 11, 2019 Hello I installed the module on Pres 1.7.5.1. Everything works ok. I only have problems remembering new filters. Editing the AdminFilter .php file throws out the Quote Warning: Invalid argument supplied for foreach () error in the /.../Admin / ProductController .php on line 307 file Link to comment Share on other sites More sharing options...
dominik__w Posted September 13, 2019 Share Posted September 13, 2019 Can anyone help ? Link to comment Share on other sites More sharing options...
prestol Posted September 19, 2019 Share Posted September 19, 2019 hello where is addon buy how buy in prestashop MARKETPLace?? Link to comment Share on other sites More sharing options...
Stigz Posted September 20, 2019 Share Posted September 20, 2019 (edited) This si a free addon for 1.7.3+ https://www.prestashop.com/forums/applications/core/interface/file/attachment.php?id=226225 with some configuration needed If you need only to go on the market place, it's here for module https://addons.prestashop.com/en/2-modules-prestashop and here for theme https://addons.prestashop.com/en/3-templates-prestashop Edited September 20, 2019 by Stigz (see edit history) Link to comment Share on other sites More sharing options...
ietax Posted October 22, 2019 Share Posted October 22, 2019 hello, if I wanted to insert a different column that I have in a different table... how can I do? ES. I have an additional table with "id_product" and "date". I would like to insert the "date" column associated with the product, thanks Link to comment Share on other sites More sharing options...
prestol Posted October 23, 2019 Share Posted October 23, 2019 hello how to buy addon? i not see it in marketplace for buy Link to comment Share on other sites More sharing options...
NunoACruz Posted November 20, 2019 Share Posted November 20, 2019 Hello! Is it possible to filter products with/without images in backoffice? How can I do this? Link to comment Share on other sites More sharing options...
drwebbe Posted December 14, 2019 Share Posted December 14, 2019 Hi, This module does not seem to work in PS 1.7.6.1. Does someone have an update on this ? Greets, Kurt Link to comment Share on other sites More sharing options...
Bzkofficiel Posted June 22, 2020 Share Posted June 22, 2020 (edited) On 8/30/2019 at 10:39 AM, fercarazo said: try in 1.7.4 and work, but... i can't find anything, if I try, look for price, category, manufacturer, whatever ... it does not work and returns me to the administrator's main and this step I have not done because I do not understand .. (modify AdminFilter.php in /admin/autoupgrade can help me? TESTED IN 1.7.6.4 WORKED ! Edited June 22, 2020 by Bzkofficiel (see edit history) Link to comment Share on other sites More sharing options...
Estian Posted July 27, 2020 Share Posted July 27, 2020 Implemented this on 1.7.6.5 (made my own module). There are 3 "steps" to doing this: Hook into "actionAdminProductsListingFieldsModifier" (the attached topic module does this for you). Modify the template files (as per the attached topic module - you need only copy&paste the template files included in the module). Modify the "AdminFilter.php" file under /src/PrestaShopBundle/Entity/ by adding your new values to the arrays starting on lines #249 & #352 so that the filter actually works. The files that needed modification were as follows: /modules/overrideproductslistwithmanufacturer/overrideproductslistwithmanufacturer.php - (included in the attached module) /src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig - (included in the attached module) /src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/list.html.twig - (included in the attached module) /src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/products_table.html.twig - (included in the attached module) /src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Forms/form_products.html.twig - (included in the attached module) /src/PrestaShopBundle/Entity/AdminFilter.php I hope my post helps clarify & structure what you need to do. Link to comment Share on other sites More sharing options...
Ehsanai Posted August 28, 2020 Share Posted August 28, 2020 Hi, Thank you for your module. I try your module and the column added but the filter is not working. https://prnt.sc/u7mi5x https://prnt.sc/u7mifu https://prnt.sc/u7mixl Link to comment Share on other sites More sharing options...
Ehsanai Posted August 29, 2020 Share Posted August 29, 2020 I found the problem and I have to type exact keyword! Is it possible to fix this? Link to comment Share on other sites More sharing options...
Yulia Vitun Posted October 2, 2020 Share Posted October 2, 2020 On 4/25/2018 at 11:18 PM, FuenRob said: Thanks for the tutorial @hhennes @ibrahimovich87 in this repository, you can download the module: https://github.com/FuenRob/Modules-Prestashop-1.7 The module is: addcolumninlist Regards how to configure (ps1.7.6.5) ? Link to comment Share on other sites More sharing options...
Maria del Pino Posted November 11, 2020 Share Posted November 11, 2020 On 6/4/2019 at 5:20 PM, PrestaRob said: Hello, try attached module - it adds Manufacturers & Suppliers to product list in admin. adminmodifications.zip Thanks Rob, it works perfect in 1.7.6.7, it solves problem with adminfilter.php Link to comment Share on other sites More sharing options...
Yulia Vitun Posted November 22, 2020 Share Posted November 22, 2020 Is there any Module to add "Cost price" to product list view in BO? Link to comment Share on other sites More sharing options...
NunoACruz Posted January 27, 2021 Share Posted January 27, 2021 hello, is there any solution for this with prestashop 1.7.7? Link to comment Share on other sites More sharing options...
Uaitstudio Posted February 17, 2021 Share Posted February 17, 2021 Hello, I would like to create a column with the last update as shown in the attached screenshot (most recent status). In version 1.5 I did it, in 1.7.4.4 it is complicated. Any solution? 1 Link to comment Share on other sites More sharing options...
Riva Posted March 17, 2021 Share Posted March 17, 2021 (edited) del Edited March 18, 2021 by Riva (see edit history) Link to comment Share on other sites More sharing options...
blankpage Posted March 23, 2021 Share Posted March 23, 2021 (edited) About solution of Stigz Its ok for me Tested in 1.7.7 and its fine. Only problem is with pagination. Just stop work (stack in 20 products and the number of page dont work). Any idea? Edited March 23, 2021 by soilets (see edit history) Link to comment Share on other sites More sharing options...
blankpage Posted March 25, 2021 Share Posted March 25, 2021 Ok i found the solution for the pagination i replace the code at the bottom in file ---> modules/overrideproductslistwithmanufacturer/views/PrestaShop/Admin/Product/CatalogPage/Forms/form_products.html.twig from this <div class="col-md-12"> {{ render(controller('PrestaShopBundle:Admin\\Common:pagination', {'limit': limit, 'offset': offset, 'total': product_count_filtered, 'caller_parameters': pagination_parameters, 'limit_choices': pagination_limit_choices})) }} </div> to this <div class="col-md-12"> {{ render(controller('PrestaShopBundle:Admin\\Common:pagination', { 'limit': limit, 'offset': offset, 'total': product_count_filtered, 'caller_route': app.request.attributes.get('_route'), 'caller_parameters': pagination_parameters, 'limit_choices': pagination_limit_choices })) }} </div> and all its perfect now Link to comment Share on other sites More sharing options...
cgellen Posted April 22, 2021 Share Posted April 22, 2021 The @Stigz option works great on 1.7.6.1 Only had to edit the AdminFilter.php ps: the only "inconvenience" is that if you want to filter by manufacturer, you have to input the exact name of the manufacturer, it won´t show up anything if you miss a letter. Is there any way to fix it? Link to comment Share on other sites More sharing options...
Soporte limo Posted April 27, 2021 Share Posted April 27, 2021 Im having an error when i use this module, it works fine but some times it get stuck in a filter and when i try to reset the filter , it goes back to the dashboard, i used the debug mode an this is the error i recieved: An exception has been thrown during the rendering of a template ("Parameter "orderBy" for route "admin_product_catalog" must match "last|id_product|name|reference|name_category|price|sav_quantity|position|active|position_ordering" ("manufacturer" given) to generate a corresponding URL."). Someone is having that same issue? by the way , great work @Stigz Prestashop 1.7.6.4 Link to comment Share on other sites More sharing options...
cgellen Posted April 28, 2021 Share Posted April 28, 2021 Something like that happened to me and I had to take a backup file of my database and replace some values in the ps_admin_filter.filter Dunno if it will help, but you can give it a try. Link to comment Share on other sites More sharing options...
digitify Posted May 9, 2021 Share Posted May 9, 2021 On 3/23/2021 at 5:24 PM, soilets said: About solution of Stigz Its ok for me Tested in 1.7.7 and its fine. Only problem is with pagination. Just stop work (stack in 20 products and the number of page dont work). Any idea? I have PS 1.7.7.0 but the module didn't show any column in the products page. How did you do it ? Link to comment Share on other sites More sharing options...
Janett Posted May 12, 2021 Share Posted May 12, 2021 Few months ago a share a link with a demo module to do this : On 8/20/2020 at 10:43 AM, Janett said: Here a module example : https://github.com/Matt75/displayproductmanufacturer/ Link to comment Share on other sites More sharing options...
ietax Posted June 15, 2021 Share Posted June 15, 2021 hello, if I wanted to insert a different column that I have in a different table... how can I do? ES. I have an additional table with "id_product" and "date". I would like to insert the "date" column associated with the product, thanks Link to comment Share on other sites More sharing options...
danilinked Posted August 4, 2021 Share Posted August 4, 2021 On 1/27/2021 at 10:31 AM, NunoACruz said: hello, is there any solution for this with prestashop 1.7.7? You find something about this? Link to comment Share on other sites More sharing options...
Janett Posted August 6, 2021 Share Posted August 6, 2021 On 8/4/2021 at 10:00 AM, danilinked said: You find something about this? On 5/12/2021 at 6:59 PM, Janett said: Few months ago a share a link with a demo module to do this : Here a module example : https://github.com/Matt75/displayproductmanufacturer/ 1 1 Link to comment Share on other sites More sharing options...
danilinked Posted August 6, 2021 Share Posted August 6, 2021 3 minutes ago, Janett said: Thank you @Janett 😃 1 Link to comment Share on other sites More sharing options...
afshop Posted November 23, 2021 Share Posted November 23, 2021 On 5/12/2021 at 6:59 PM, Janett said: Few months ago a share a link with a demo module to do this : Hello, Does it work also for P.S. 1.7.8 ? Thanks Link to comment Share on other sites More sharing options...
Maria del Pino Posted November 23, 2021 Share Posted November 23, 2021 I have used PS 1.7.8.1 for 24 hrs and this module worked as in 1.7.7.4, no problem, but I had to downgrade back to 1.7.7. again as there is a bug in 1.7.8 frontend as could not choose attributes except the default, I think the error is seo urls in products with combinations 😢 Link to comment Share on other sites More sharing options...
kickhat Posted November 29, 2021 Share Posted November 29, 2021 On 8/6/2021 at 3:28 PM, Janett said: Thank you very much! It works. Prestashop 1.7.8.1 Link to comment Share on other sites More sharing options...
folkifoon Posted March 20, 2022 Share Posted March 20, 2022 (edited) I would like a column with the quanity sold of a product. Now you have to go into statistics and takes long to find. How can i fix this? Edited March 20, 2022 by folkifoon (see edit history) Link to comment Share on other sites More sharing options...
dexter70 Posted July 3 Share Posted July 3 i have same problem with Prestashop 8.1.5 Someone solved with PS8 ? Thanks in Advance Massimo Link to comment Share on other sites More sharing options...
Andrei H Posted July 7 Share Posted July 7 Hi @dexter70, It looks like the problem is the fact that the module was not declared compatible with PrestaShop 8, although it should work for this version as well, the manufacturers being displayed into the product list page. One way to quickly fix it is to download the module, unzip it, and edit the following file: displayproductmanufacturer.php - you will need to replace the line 58 ('max' => '1.7.9.99',) with the following 'max' => '8.9.99', - then save the file, zip the folder again and upload it into your admin panel. At this point, you should be able to successfully install the module and the manufacturers will be displayed in the product list page. Link to comment Share on other sites More sharing options...
dexter70 Posted July 7 Share Posted July 7 (edited) Why when i load module prestashop says "Installazione del modulo fallita. Questo file non sembra essere un modulo zip valido" ? Zip Downloaded from herehttps://github.com/Matt75/displayproductmanufacturer/ Edited July 7 by dexter70 (see edit history) Link to comment Share on other sites More sharing options...
Andrei H Posted July 8 Share Posted July 8 Hello, As mentioned, the module is not declared compatible with PrestaShop 8 - https://github.com/Matt75/displayproductmanufacturer/blob/master/displayproductmanufacturer.php#L58 You will need to make a small change in there before uploading it to your instance of PrestaShop. I also left a comment to the author about it. displayproductmanufacturer.zip 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