Открыть
/controllers/admin/AdminProductsController.php после:
Код:
$this->fields_list['price_final'] = array(
'title' => $this->l('Final price'),
'type' => 'price',
'align' => 'text-right',
'havingFilter' => true,
'orderby' => false,
'search' => false
);
добавить:
Код:
$this->fields_list['drop_price'] = array(
'title' => $this->l('Drop price'),
'type' => 'price',
'align' => 'text-right',
'orderby' => false,
'search' => false,
'callback' => 'getDropPrice',
'filter_key' => 'a!id_product'
);
и ниже добавить:
Код:
public static function getDropPrice($id_product)
{
if (!$id_product)
return false;
$drop_price = Product::getPriceStatic((int)$id_product, true, null, null, null, true);
return ($drop_price ? $drop_price : '-');
}