Jump to content

[SOLVED] how to get rid of the sub-parent problem in menu bar


Recommended Posts

hello.... i'm again and again getting such problem in my site.... that my top menu items are getting inherited.... if i delete the menu and then again create then too the sub-categories get inherited in the other menu.... will please any one help me out?? the link to that page is:http://www.hieteq.com/store/index.php?id_category=18&controller=category...

 

here the accessories and the networking menu bar are getting inherited by the laptops.... if i delete laptop menu and create it again then these categories will get inherited to other menu.... so please will any one give me the solution???

 

Thank you....

Link to comment
Share on other sites

no i don't want the drop down..... see the other pages i.e the smart-phone page i.e go inside the page... the menu written i.e Smart phone i want same like that in every menu bar.... you go into the laptops page inside...... along with the laptop, accessories and networking are also coming.... i don't want them....

Link to comment
Share on other sites

no no see... when i go in any product page i.e smart phone, tablets, etc.... it shows nah that which products page is it i.e smartphone page will have smartphone written after the home symbol.... similarly go in the laptop page, there along with the laptop there is accessories and networking text written..... i want to remove that.....

link of smartphone page:http://www.hieteq.com/store/index.php?id_category=11&controller=category

link to laptop page:http://www.hieteq.com/store/index.php?id_category=18&controller=category..

see the text in the very beginning just after the slider.....

thank you....

Link to comment
Share on other sites

no no see... when i go in any product page i.e smart phone, tablets, etc.... it shows nah that which products page is it i.e smartphone page will have smartphone written after the home symbol.... similarly go in the laptop page, there along with the laptop there is accessories and networking text written..... i want to remove that.....

link of smartphone page:http://www.hieteq.com/store/index.php?id_category=11&controller=category

link to laptop page:http://www.hieteq.com/store/index.php?id_category=18&controller=category..

see the text in the very beginning just after the slider.....

thank you....

 

You want to remove "Home image" it impacet you browse products? right?

Paste picture for better to explain it.

Link to comment
Share on other sites

did you see the laptop page????

see exactly below the slider....

there is a home symbol, laptop written in very small letters.... along with laptop accessories and networking is also written.... is it there?

home symbol>Laptops>Accessories>Networking

 

i want to remove this accessories and networking.....

Link to comment
Share on other sites

did you see the laptop page????

see exactly below the slider....

there is a home symbol, laptop written in very small letters.... along with laptop accessories and networking is also written.... is it there?

home symbol>Laptops>Accessories>Networking

 

i want to remove this accessories and networking.....

 

Oh, I got a little,

 

Change product catalog in Laptop it is ok?

I thought you put the product in > Laptop>Accesories>Networking catalog , so it will display in networking below.

Link to comment
Share on other sites

Hi Ujita,

OK, to make clear to all. If you look at the breadcrumb (That's what the series of links is called) of Laptop, it has two subcategories linked to it, which Ujita obviously doesn't want.

home.gif > Laptop>Accesories>Networking

 

What I noticed, the Acces(s)ories and the Networking (sub) categories displayed here have a link to another category ID (7 and 8) than the Acces(s)ories and Networking category links in the Top Horizontal Menu (20 and 21)

 

So we probably have to do with some 'ghost' categories (left overs from old times, where we probably tried to delete products and or categories, which didn't succeed totally).

 

This probably needs to be fixed in the database tables directly.

Check your table PS_category and check (together with ps_category_lang to see the names (match the ID's)) which categories are the ones you really want (and can see in the category lists in Catalog->categories)). You'll probably find other categories here as well, that you thought you deleted already.

 

Then there are probably too many links between categories (the ones you thought you deleted already) and products (either 'deleted' ones, or new ones with ID's of old ones)

these we need to filter out as well. This is done in the ps_category_product table, but is a little tricky, as we don't see any names, only ID's...

 

So, BEFORE you change anything, make a backup of your full database, and separately from the tables you may want to delete from.

 

If you feel uncertain what to do, I can have a look at it, but then I need access to your database. If you want me to do this, you can send me a login/password and a link to your host-login, so I can get to the phpMyAdmin in cPanel. Make sure you DON'T post your login/password here. Send me a Personal Message (PM) or Email me directly: [email protected])

 

pascal

Link to comment
Share on other sites

Hi Ujita,

 

I looked inside the ps_category and ps_category_lang. There I saw that there were two categories Accesories and Networking I believe, with ID 7 and 8) that were not coupled (i.e. had a parent category) to anything. Not to home, not to another category

Then I checked if there were any products in the ps_category_product table connected to these categories. This was not the case.

 
I'll sen you the original tables before deletion, so you can have a look at them.
 
Glad it worked!
 
pascal

ps_category and ps_category_lang sql.zip

Link to comment
Share on other sites

×
×
  • Create New...