tdelios Posted December 16, 2013 Share Posted December 16, 2013 Hi All.. when viewing my products in the BackOffice.. how does one add/remove the column headers? Link to comment Share on other sites More sharing options...
vekia Posted December 16, 2013 Share Posted December 16, 2013 what you mean by column header? can you shed some more light on it please? screenshot will be helpful Link to comment Share on other sites More sharing options...
tdelios Posted December 17, 2013 Author Share Posted December 17, 2013 see the attached screen shot.. I have highlighted the product column headers in a red box.. how can I add additional ones and/or remove existing ones.. I want to customize this to my needs. thanks tom Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 now it's clear everything that you see there depends on object definition in file: controllers/admin/AdminProductsController.php there is a code like: $this->fields_list = array(); $this->fields_list['id_product'] = array( 'title' => $this->l('ID'), 'align' => 'center', 'type' => 'int', 'width' => 40 ); $this->fields_list['image'] = array( 'title' => $this->l('Photo'), 'align' => 'center', 'image' => 'p', 'width' => 70, 'orderby' => false, 'filter' => false, 'search' => false ); ... ... ... you have to add there new own field: for example: supplier $this->fields_list['supp'] = array( 'title' => $this->l('Supplier'), 'filter_key' => 'supp!name' ); Link to comment Share on other sites More sharing options...
Recommended Posts