Делать за меня не надо, мне самой охота. Знаний не хватает, вот и прошу помощи.
Вывод поля в админку сделала, а вот в карте товара выдает ошибку:
Notice: Undefined index: salary in /Applications/XAMPP/xamppfiles/docs/rabotavlitve.loc/catalog/controller/product/product.php on line 298
Причем <?php echo $text_salary; ?> - сработал, а <?php echo $salary;?> - не показывается.
Делала по инструкциям http://www.php-dev-zone.com/2015/01/how-to-add-custom-product-field-in.html и http://www.php-dev-zone.com/2015/04/displaying-custom-product-field-on.html
Версия Opencart_pro_2_3_0_2_4
$this->load->model('catalog/review');
$data['tab_description'] = $this->language->get('tab_description');
$data['tab_attribute'] = $this->language->get('tab_attribute');
$data['tab_review'] = sprintf($this->language->get('tab_review'), $product_info['reviews']);
$data['product_id'] = (int)$this->request->get['product_id'];
$data['manufacturer'] = $product_info['manufacturer'];
$data['manufacturers'] = $this->url->link('product/manufacturer/info', 'manufacturer_id=' . $product_info['manufacturer_id']);
$data['model'] = $product_info['model'];
$data['upc'] = $product_info['upc'];
$data['sku'] = $product_info['sku'];
$data['ean'] = $product_info['ean'];
$data['reward'] = $product_info['reward'];
$data['points'] = $product_info['points'];
$data['description'] = html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8');
$data['salary'] = html_entity_decode($product_info['salary'], ENT_QUOTES, 'UTF-8'); <----------------------- 298 строка
$data['sticker'] = $this->getStickers($product_info['product_id']);