Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Making category box show up after selecting category...


Berkz

Recommended Posts

Posted

I'm using Category Tabs V1.2 by Paul Marshall. And I'm trying to figure out how to make the category box show up when client has selected category with the tabs. It would be ideal if only subcategories of the selected catgory would show up.

 

Regards, Berkz

Posted

Ok, I've almost figured this one out myself. in /catalog/default.php I changed this

 

if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

into this:

 

if ($category_depth == 'nested'){

if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}}

 

and it work's but can't seem to figure out how to make it only show the subcategories of the selected category ... ?

 

can anyone help?

 

Regards, Berkz

Archived

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

×
×
  • Create New...