Subcategory Images 1.5 2.4.1 LeorLindel model_catalog_product->getTotalProducts($data); ]]> config->get('config_product_count')) { $product_total = $this->model_catalog_product->getTotalProducts($data); $image = $this->model_tool_image->resize($result['image'], 120, 120); $this->data['categories'][] = array( 'name' => $result['name'] . ' (' . $product_total . ')', 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url), 'thumb' => $image ); } else { $image = $this->model_tool_image->resize($result['image'], 120, 120); $this->data['categories'][] = array( 'name' => $result['name'], 'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url), 'thumb' => $image ); } } ]]> ]]>
<?php echo $category['name']; ?>
]]>