Warning: Division by zero in /home/kajokulc/public_html/catalog/controller/news/search.php on line 356 Article Search

Article Search

Articles meeting the search criteria

How to Add Thumb Image to Subcategory in Category Page
By default opencart the subcategories list in category page will be displayed as a text list without images. Now I'm gonna show you a few steps how to add thumbnail images above the category title.This tutorial applied to the default opencart theme and opencart version used is version is the steps:1. open file "catalog/controller/product/category.php" and find this code:$data['categories'][] = array(add this before the code above:if($result['image']) {$image = $this->model_tool_image->resize($result['image'], 200, 200); } else {$image = $this->model_tool_image->resize('..
12 comments on this article - view comments
Showing 1 to 0 of 1 (0 Pages)