Добрый день. Почему-то не удается на странице производителей вывести ссылку, товары в категориях после изменений имеют ссылку site.ru. Opencart 3.0.3.8
 
	Изменения в контроллере. которые я внес
 
	Вверху в контроллере 
 
$this->load->model('catalog/category');
	Далее ниже
 
foreach ($results as $result) {
			if (is_numeric(utf8_substr($result['name'], 0, 1))) {
				$key = '0 - 9';
			} else {
				$key = utf8_substr(utf8_strtoupper($result['name']), 0, 1);
			}
			if (!isset($data['categories'][$key])) {
				$data['categories'][$key]['name'] = $key;
			}
			$product_path = $this->model_catalog_category->getProductPath($result['product_id']);
			if($product_path){
				$href = $this->url->link('product/product', 'path=' . $product_path . '&product_id=' . $result['product_id']);
			}else{
				$href = $this->url->link('product/product', 'product_id=' . $result['product_id']);
			}
			$data['categories'][$key]['manufacturer'][] = array(
				'name' => $result['name'],
				'href' => $this->url->link('product/manufacturer/info', 'manufacturer_id=' . $result['manufacturer_id'])
			);
		}
	href
 
$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,
					'special'     => $special,
					'tax'         => $tax,
					'minimum'     => $result['minimum'] > 0 ? $result['minimum'] : 1,
					'rating'      => $result['rating'],
					'href'    	 => $href
				);