Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image url fails in 3thrd categori??


marius

Recommended Posts

Hello people!

 

When i crate a categori called Nissan, then a cattagori called 200sx S14, then one called Cooling.

 

Like this:

 

Nissan-->200sx S14-->Cooling

 

The categori images only shows on Nissan ---> 200sx S14 Categori

 

Not the cooling categori image. If i move the Cooling Categrori image to Nissan categori it shows...!

 

why is this..???

 

Check it out at

 

http://www.crazytuning.com/catalog/default...lt.php?cPath=23

 

http://www.crazytuning.com/catalog/default...php?cPath=23_24

Link to comment
Share on other sites

why is this..???

 

There is a field missing in the query on the default.php page.

 

If you edit the page and scroll down to about line 87 you will see the following line.

 

$categories = tep_db_query("select categories_id, categories_name, parent_id from categories where parent_id = '" . $category_links[$i] . "' order by sort_order, categories_name");

 

Change this to

 

$categories = tep_db_query("select categories_id, categories_name, categories_image, parent_id from categories where parent_id = '" . $category_links[$i] . "' order by sort_order, categories_name");

 

Your problem should now be solved :D

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...