Alee website — show sub-category products on a parent category page ===================================================================== File on the server: /home/me24co/alee-iq.com/application/controllers/Products.php Inside public function category(...) find this line (in v4.4.9 it is line 251): $category_id = $category['id']; Directly UNDER it, paste: // Alee: also list products from every active sub-category (all levels) $alee_ids = [$category['id']]; $alee_queue = [$category['id']]; while (!empty($alee_queue)) { $alee_rows = $this->db->select('id') ->where_in('parent_id', $alee_queue) ->where('status', 1) ->get('categories') ->result_array(); $alee_queue = array_values(array_diff(array_column($alee_rows, 'id'), $alee_ids)); $alee_ids = array_merge($alee_ids, $alee_queue); } if (count($alee_ids) > 1) { $category_id = $alee_ids; } Save the file. Nothing else changes. Why it works: the product list, the product count and the price filter in this script already accept a list of category ids (function_helper.php: fetch_product and get_price use where_in on p.category_id). The category page was only ever passing the single category id, so a parent category showed only the products attached to it directly. To undo: delete the pasted block.