Hi,
Can someone please explain how & where the shopping cart holds the info before the login is done and where that is located at?
I need to know if the info is being held in an array or as an http variable? I doubt if that is the correct terminalogy. It is the login.php page that has us stumped. I remember breaking the shopping cart when I tried changing the login.php page
I think this is the code in the login.php page that has me at a lost,
// restore cart contents
$cart->restore_contents();
if (sizeof($navigation->snapshot) > 0) {
$origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);
$navigation->clear_snapshot();
tep_redirect($origin_href);
} else {
tep_redirect(tep_href_link(FILENAME_DEFAULT));
}
is this the area that is dealing with grabing the info that was added to the cart prior to loging in?
If it is, I need some one explain in english what it is doing... not the obvious things liek sizeof, if etc ..
if this isn't the routine, then what is it?
Your help is greatly appreciated!
Sincerely,
Melinda Odom



LinkBack URL
About LinkBacks






Bookmarks