Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Top >> Catalog


Guest

Recommended Posts

So far I've had no problems configuring osCommerce, but I can't seem to figure out how to remove the 'Top' portion of the 'Top >> Catalog >> products..etc.' header. Since I have my own header with navigation links I have no need to send customers back to the top of the site. Any help on how to remove this would be much appreciated.

Link to comment
Share on other sites

In *catalog*/includes/application_top.php find this code:

// include the breadcrumb class and start the breadcrumb trail
 require(DIR_WS_CLASSES . 'breadcrumb.php');
 $breadcrumb = new breadcrumb;

 $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

Change it to:

// include the breadcrumb class and start the breadcrumb trail
 require(DIR_WS_CLASSES . 'breadcrumb.php');
 $breadcrumb = new breadcrumb;

 #$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
 #$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

That will remove both the "Top" and "Catalog" entries to the breadcrumb trail yet still leave the class intact for use by lower code.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...