marius Posted September 13, 2002 Share Posted September 13, 2002 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 More sharing options...
Mark Evans Posted September 13, 2002 Share Posted September 13, 2002 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 More sharing options...
marius Posted September 13, 2002 Author Share Posted September 13, 2002 it worked:D:D Thank you, you saved my day ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.