Может я туплю :roll: , Вы скинули две ссылочки
по первой - мне много непонятно (как для чайника), открыл файл vqmod.php - а что дальше не пойму, что куда менять ???? Одно, что понял - у меня версия vqmod 2.4.1.
по второй ссылке более доступно описано :oops: но......................изменил category.php получилось
foreach ($results as $result) {
$data = array(
'filter_category_id' => $result['category_id'],
'filter_sub_category' => true
);
if ($result['image']) {
$image = $this->model_tool_image->resize($result['image'], $this->config->get('config_image_category_width'), $this->config->get('config_image_product_height'));
} else {
$image = $this->model_tool_image->resize('no_image.jpg', $this->config->get('config_image_category_width'), $this->config->get('config_image_product_height'));
}
$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' => $image,
);
также изменил текст в другом файле
Результат -при нажатие на любую из категорий - пишет ошибку
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/h41624/data/www/moto-lux.com.ua/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 155