Post by keiron1992 » Mon Feb 10, 2014 9:16 am

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
Last edited by keiron1992 on Mon Feb 10, 2014 8:35 pm, edited 1 time in total.

New member

Posts

Joined
Fri Oct 22, 2010 12:02 am
Location - Birmingham, West Midlands, Uk

Post by k2tec » Mon Feb 10, 2014 3:53 pm

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

User avatar
Active Member

Posts

Joined
Mon Apr 12, 2010 8:06 pm

Post by Xyph3r » Mon Feb 10, 2014 5:49 pm

Also remove the code that wraps the menu

Code: Select all

<?php if ($categories) { ?> <?php } ?>


Then replace it with what k2tec provided.

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by keiron1992 » Mon Feb 10, 2014 8:34 pm

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

New member

Posts

Joined
Fri Oct 22, 2010 12:02 am
Location - Birmingham, West Midlands, Uk
Who is online

Users browsing this forum: No registered users and 66 guests