Да нет, стоит ocstore 1.5.5.1.2, ничего не допиливали для этого.
В category.tpl вот это стоит:
<?php foreach ($categories as $category) { ?>
<a href="<?php echo $category['href']; ?>" class="catname"><?php echo $category['name']; ?></a>
<?php } ?>
В контроллере category.php:
там где
$product_total = $this->model_catalog_product->getTotalProducts($data);
$this->data['categories'][] = array(
'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $product_total . ')' : ''),
'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'))
);
проверка стоит:
$product_total = $this->model_catalog_product->getTotalProducts($data);
if($product_total>0){
$this->data['categories'][] = array(
'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $product_total . ')' : ''),
'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'))
);
}
По идее это в стоковом опенкарте добавлено, просто проверку добавили видимо, поэтому значит и на стоковом нагрузка идет.