On 3/30/2015 at 7:06 PM, PascalVG said:You're right, that is the file that defines the grid. (best is to make an override for easier update-purposes. See developers guide for more info on this (N.B. Sample in doc talks about controllers/front/, but can also be controllers/admin/ of course) )
This is what has to be done:
edit/override file: Controllers/Admin/AdminProductsController.php (Make backup of file, just in case)
in function:
public function __construct()find (and add red code):$this->fields_list = array();$this->fields_list['id_product'] = array('title' => $this->l('ID'),'align' => 'center','class' => 'fixed-width-xs','type' => 'int');$this->fields_list['ean13'] = array('title' => $this->l('EAN13'),'align' => 'left',);$this->fields_list['image'] = array('title' => $this->l('Image'),'align' => 'center','image' => 'p','orderby' => false,'filter' => false,'search' => false);Result:Hope this helps,pascal
Hello, I tryed to do it but on my prestashop 1.6.1 it doesn't work (see attached file to understand)
(I replace on ftp file the original back up file, but now also it doesn't work...
Can you help me please?
Davide