Page 1 of 1
[SOLVED] Display menu with no categories in top
Posted: Mon Feb 10, 2014 9:16 am
by keiron1992
I have a bit of an odd request.
I want to remove all of the product categories from the top menu.
How can I make the menu still appear?
As when you remove all top menu categories the menu disappears, how can I still display it?
Thanks,
Keiron
Re: Display menu with no categories in top
Posted: Mon Feb 10, 2014 3:53 pm
by k2tec
Code: Select all
<div id="menu">
<ul>
<li><a href="http://yoururl/index.php?route=information/information&information_id=xx">PC </a></li>
<li><a href="http://yoururl/your_seo_url">Smartphone reparatie</a></li>
<li><a href="http://yoururl/your_seo_url">Tablet reparatie</a></li>
<li><a href="http://yoururl/your_seo_url">Laptop reparatie</a></li>
<li><a href="http://yoururl/your_seo_url">Zakelijke ICT</a></li>
<li><a href="http://yoururll/your_seo_url">Shippingcosts</a></li>
</ul>
</div>
Replace the <a href="
http://yoururl/your_seo_url"> to the url in your shop
Re: Display menu with no categories in top
Posted: Mon Feb 10, 2014 5:49 pm
by Xyph3r
Also remove the code that wraps the menu
Code: Select all
<?php if ($categories) { ?> <?php } ?>
Then replace it with what k2tec provided.
Re: Display menu with no categories in top
Posted: Mon Feb 10, 2014 8:34 pm
by keiron1992
Xyph3r wrote:Also remove the code that wraps the menu
Code: Select all
<?php if ($categories) { ?> <?php } ?>
Then replace it with what k2tec provided.
This was what I was originally doing... I just realized I was using the wrong comments to comment the line out lol. Thanks all