Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Navigation Bar - Categories is wrong


kiraman

Recommended Posts

Posted

Hi

 

I have a problem on Navigation Bar.

----

 

When I choose a product from "Categories" box on left hand side.

 

For example:

 

There is a product "HTC Smart Battery" is under 2 Categories ( 1 is under HTC Smart , 1 is under HTC Battery )

 

Now I am choosing the product under "HTC Smart" Category.

Therefore the navigation bar should be showing like below:

mobile Model--> HTC Smart --> HTC Smart Battery.

 

But NOW Navigation Bar is showing HTC Battery --> HTC Smart Battery, which under HTC Battery

----------

 

How can I fix it?

 

Thanks for help to solve.

Man

Posted

unfortunately, there is no quick fix for this - because the relevant function does a query on the products_to_categories table without remembering where you came from (which category). it then uses the first data record that it finds in that table.

 

you would need to create custom code that does actually remember your current cat and uses that when querying the table ...

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...