I have on the site the main category "directory", when I move to the directory, the category has the following form - index.php? Route = product / category & path = 62. And it perfectly displays all the categories that I added. If I switch to one of these categories, the URL will look like this - / category & path = 62_90 and all categories disappear, how to fix this problem?
<?php if ($products) { ?> <ul class="catalog_prod clear"> <?php foreach ($products as $product) { ?> <li> <div class="slider_img"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>"></a></div> <a class="prod_name" href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a> <?php if ($product['price']) { ?> <?php if (!$product['special']) { ?> <div class="prod_price">Цена : <span><?php echo $product['price']; ?></span></div> <?php } else { ?> <div class="prod_price">Цена : <div class="oldPrice"><?php echo $product['price']; ?></div> <span><?php echo $product['special']; ?></span></div> <?php } ?> <?php } ?> <a class="catalog_buy" href="#" onclick="cart.add('<?php echo $product['product_id']; ?>');return false;">Купить</a> </li> <?php } ?> </ul> <?php } ?>