Post by dan1986ccfc » Fri Jul 20, 2018 9:33 pm

Hi Guys
I am having trouble finding where to add and remove menu items from the template nav.

In header.tpl I am trying to delete 'clothing' as I now have it as a subcategory but nothing is changing (I have cleared my cache)

https://www.dolphin-design.co.uk/

On the same note does anyone have any tips on how to make the menu look more exciting?

Thankyou :)

Newbie

Posts

Joined
Wed Jul 18, 2018 4:47 pm

Post by IP_CAM » Sat Jul 21, 2018 7:34 am

Well, you sure need to better understand, how OpenCart functions, since
categories are created in the Admin Category Section, and also removed,
but better don't look in OC Source Files, to find such Code. :laugh:
Ernie
---
Find some information on such here:
http://isenselabs.com/books/allbooks/
---
Image

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by dan1986ccfc » Sat Jul 21, 2018 5:04 pm

thanks for the reply - the category has been moved. See screenshot. But still appears in the menu as a primary category.

So I believe it is something in the code that needs changing.

When I view header.tpl the menu links are different (and greyed out in dreamweaver) see screenshot line 355

you're right that my knowledge of opencart is limited - i'm trying to learn. the site was built for me

Attachments

Capture.PNG

Capture.PNG (30.8 KiB) Viewed 524 times

Capture line 355.PNG

Capture line 355.PNG (98.83 KiB) Viewed 524 times


Newbie

Posts

Joined
Wed Jul 18, 2018 4:47 pm

Post by IP_CAM » Mon Jul 23, 2018 6:07 am

Well, according to you image, Clothing also contains
some Sub-Categories, and might therefore not be deletable,
before your delete it's own Subcaregories first, or rewrite their
cat-linking.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by dan1986ccfc » Mon Jul 23, 2018 3:01 pm

thanks but im not trying to delete the category - just the link from the main menu
if i export my products and categories - clothing now only features as a sub category it's says the same in the categories section of the dashboard

there must be something somewhere where I should be able to amend the menu directly... would be very helpful if someone knew where :)

Newbie

Posts

Joined
Wed Jul 18, 2018 4:47 pm

Post by IP_CAM » Mon Jul 23, 2018 5:17 pm


My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by xxvirusxx » Mon Jul 23, 2018 5:49 pm

Try to uncheck Top, from Category-->Data

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by dan1986ccfc » Mon Jul 23, 2018 6:26 pm

Thanks for your replies - it was indeed the 'top' checkbox :/
can't believe how much time i spent on that lol

Newbie

Posts

Joined
Wed Jul 18, 2018 4:47 pm
Who is online

Users browsing this forum: No registered users and 63 guests