в контроллере пытался добавить: 'model' => $model, в коде
$this->data['products'][] = array(
'product_id' => $result['product_id'],
'thumb' => $image,
'name' => $result['name'],
'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..',
'price' => $price,
'special' => $special,
'tax' => $tax,
'rating' => $result['rating'],
'reviews' => sprintf($this->language->get('text_reviews'), (int)$result['reviews']),
'href' => $this->url->link('product/product', $url . '&product_id=' . $result['product_id'])
);
ну и в шаблоне: <span><?php echo $text_model; ?></span> <?php echo $model; ?><br />
В результате на сайте слетает кодировка и выползают ошибки: Notice: Undefined variable: model in X:\home\localhost\www\catalog\controller\product\search.php on line 251 и
Модель: Notice: Undefined variable: model in X:\home\localhost\www\catalog\view\theme\default\template\product\search.tpl on line 92
Что не так делаю, можете поподробнее написать что куда добавить плз.