Jump to content

How To Add/Remove Product Column Headers?


Recommended Posts

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

×
×
  • Create New...