Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

What does navigation_history do?


Recommended Posts

What does the navigation_history part of osCommerce do?


I had a problem on checkout_shipping with the navigation_history, and have done a small quick fix myself like so:


// if the customer is not logged on, redirect them to the login page
 if (!tep_session_is_registered('customer_id')) {
  // $navigation->set_snapshot(); EDITED OUT THIS LINE
   tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));


The login page works now, but I am not sure what I changed. If it is purely cosmetic, I can live with it, but if something relies on this later then I will need to investigate more.

Link to comment
Share on other sites

1) Keeps track of which page you're on, so that when you're redirected to the login page, you'll return back to the appropriate page.


2) Saves information so that osCommerce can display the navigation history in the upper-left corner of the page. Also known as "breadcrumbs".


If you're having issues with the navigation stuff, you may want to check out this page.

Check out Chad's News.

Link to comment
Share on other sites


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

  • Create New...