в ..admincontrollercatalogproduct.php:
находишь функции public function category() и public function related() в них меняешь массив
$product_data[] = array( 'product_id' => $result['product_id'], 'name' => $result['name']);на
$product_data[] = array( 'product_id' => $result['product_id'], 'model' => $result['model'], 'name' => $result['name']);
и
$product_data[] = array( 'product_id' => $product_info['product_id'], 'name' => $product_info['name']);на
$product_data[] = array( 'product_id' => $product_info['product_id'], 'model' => $product_info['model'], 'name' => $product_info['name']);соответственно
в ..adminviewtemplatecatalogproduct_form.tpl:
функции function getProducts() и function getRelated() меняешь на нижеприведенные:
function getProducts() { $('#product option').remove(); $.ajax({ url: 'index.php?route=catalog/product/category&category_id=' + $('#category').attr('value'), dataType: 'json', success: function(data) { for (i = 0; i < data.length; i++) { $('#product').append('<option value="' + data[i]['product_id'] + '">' + data[i]['name'] + '('+ data[i]['model'] +')</option>'); } } });}function getRelated() { $('#related option').remove(); $.ajax({ url: 'index.php?route=catalog/product/related', type: 'POST', dataType: 'json', data: $('#product_related input'), success: function(data) { $('#product_related input').remove(); for (i = 0; i < data.length; i++) { $('#related').append('<option value="' + data[i]['product_id'] + '">' + data[i]['name'] + '('+ data[i]['model'] +')</option>'); $('#product_related').append('<input type="hidden" name="product_related[]" value="' + data[i]['product_id'] + '" />'); } } });}