Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Separated links to categories


peuh

Recommended Posts

Hello

 

I only want to make links from pictures to categories in the header.

 

In fact, ideally, i want to drop the category box

 

do you know any contributions or ideas i could have?

 

Sure you will answer

 

 

bye

Link to comment
Share on other sites

Back up the column left file in the catalog/includes directory

 

Makesure to write down the path(s) to the location: such as:

 

http://whitneyoutlets.com/index.php?cPath=89

 

Simply edit the column_left.php file to eliminate the categores box from showing up.

 

 

Replace this code:

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

 

 

with this code (or just comment it out):

 

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

 

Then create hyperlinks to your products using the relative path to the categories.

 

Such as: Link to category - could be a button or image

 

Hope this helps, I use it all of the time. Just make sure all of your links end in .php from what I understand.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...