AbanteCart Community
eCommerce construction => Templates => Topic started by: shahiran12395 on August 12, 2019, 10:50:05 PM
-
hi. i want to know how can i create new column to admin product list view in "rt=catalog/product"?
-
You can hook ControllerCommonListingGrid via extension and change: $this->data[''colNames''] $this->data[''colModel'']
-
sorry. do you have example on how to do it. this is from my product.php
$grid_settings['colModel'] = array(
array(
'name' => 'image',
'index' => 'image',
'align' => 'center',
'width' => 65,
'sortable' => false,
'search' => false,
),
array(
'name' => 'name',
'index' => 'name',
'align' => 'center',
'width' => 200,
),
array(
'name' => 'new_column',
'index' => 'new_column',
'align' => 'center',
'width' => 120,
),