Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to disable Categories menu in main page?


Geremi

Recommended Posts

Hi there. I'd like to know how to disable Categories menu in main page? Lets say there are some products on the main page, and when I click on one of them and open the description page, on the left side of the screen Categories menu comes up. But if I'm in main page (index.php), there is no Categories menu on the left. I'm pretty useless in PHP, but I guess there must be added some exceptions in categories.php or column_left.php. Thanks for help ;)

 

  
*/ this is column_left.php */
if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_categories_box();
 } else {
   include(DIR_WS_BOXES . 'categories.php');
}

Link to comment
Share on other sites

if ( isset($cPath) && ($cPath!='') ) {
 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_categories_box();
 } else {
   include(DIR_WS_BOXES . 'categories.php');
 }
}

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...