В файле category.tpl добавил следующее:
<?php if($categories) { ?>
<div>
<span>Товары из категорий</span>
<select id="filter-category" onchange="location = this.value;">
<option value="">Все</option>
<?php foreach ($categories as $category) { ?>
<option value="<?php echo $category['sortcateg']; ?>"><?php echo $category['name']; ?></option>
<?php } ?>
</select>
</div>
<?php } ?>
в контроллер category.php
$this->data['categories'][] = array(
'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $product_total . ')' : ''),
'sortcateg' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&cat=' . $result['category_id'] . $url),
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url),
'thumb' => $this->model_tool_image->resize(($result['image']=='' ? 'no_image.jpg' : $result['image']), $this->config->get('config_image_category_width'), $this->config->get('config_image_category_height'))
);
}
Теперь при изменении select, в url добавляется &cat=81
где 81 - id подкатегории
Подскажите пожалуйста как отфильтровать товары по этому параметру
http://www.zdm.nv-team.ru/index.php?route=product/category&path=25_46