Trusten Posted September 23, 2002 Share Posted September 23, 2002 ok, found a bug in 2.1 if you have more than 2 sub catagories, it won't show the picture for it. for example, if you have Movies > DVD it shows both pictures (icons if you will) if you have Movies > DVD > Thrills (it won't show the icon for thrills). is there any way to fix this? Link to comment Share on other sites More sharing options...
Mark Evans Posted September 23, 2002 Share Posted September 23, 2002 is there any way to fix this? Yes :) Edit line 88 of default.php and change $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"); 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"); 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...
Trusten Posted September 23, 2002 Author Share Posted September 23, 2002 thanks. hmm, i want my own simpson's character. can i be snake? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.