in the file /catalog/view/theme/default/template/product/category.tpl
<?php if ($categories) { ?> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <?php foreach ($categories as $category) { ?> <?php echo $category['name']; ?> <?php } ?> </ul> <?php } ?> I can not find a place where the $categories array is formed. As now in the array id subcategory is not transmitted ...
Tell me how to get the id subcategories when sorting the $categories array?