Здравствуйте. Помогите советом как мне вывести значение sku и upc на карточке товара в OpenCart 3.0
Покопался в контролере /catalog/controller/product/product.php
Нашел там массив:
$data['products'][] = array(
'product_id' => $result['product_id'],
'thumb' => $image,
'name' => $result['name'],
'description' => utf8_substr(trim(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'))), 0, $this->config->get('theme_' . $this->config->get('config_theme') . '_product_description_length')) . '..',
'price' => $price,
'sku' => $product_info['sku'],
'upc' => $product_info['upc'],
'special' => $special,
'tax' => $tax,
'minimum' => $result['minimum'] > 0 ? $result['minimum'] : 1,
'rating' => $rating,
'href' => $this->url->link('product/product', 'product_id=' . $result['product_id'])
);
Туда вот я попытался вставить как раз нужные мне данные:
'sku' => $product_info['sku'],
'upc' => $product_info['upc'],
Пробовал и массив $prpduct_info и $result и ничего.
В самом шаблоне в product.twig пробовал вывод и через {{ sku }} и через {{ products.sku }} - никак.
Подскажите что я делаю не верно в данном случае.