Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

BUG REPORT


Trusten

Recommended Posts

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

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

Archived

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

×
×
  • Create New...