I've got a strange one here....
I've got a category that I don't want displayed in the menu. So I didn't check the "top" button. But the category is still showing in the menu! I've tried unchecking some of the categories that I had on the menu and they still show...
I know that it was working sometime in the past, but the website has been modified a lot since then. Anyone can direct me to the file that might be affected or what might be causing it?
catalog\view\theme\default\template\common\header.tpl
You could wrap the <li> tag in an if statement, such as
Pretty hacky though - I'd suggest you find out why the admin wont disable it....
Code: Select all
<?php foreach ($categories as $category) { ?>
<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
...
</li>
<?php } ?>
Code: Select all
if ($category['name'] != 'Shoes') {
<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
...
</li>
}
Who is online
Users browsing this forum: No registered users and 13 guests