This is a discussion on shopping cart info is held? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, Can someone please explain how & where the shopping cart holds the info before the login is done and ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| Hi, Can anyone answer this thread? Am getting a little desperate. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shopping cart | decoster | osCMax v2 Customization/Mods | 1 | 12-05-2006 09:12 AM |
| Which shopping cart should I use? Please help. | earth-friendly | osCMax v2 Customization/Mods | 6 | 07-16-2006 01:36 PM |
| shopping cart is cleared after I log in | jloyzaga | osCMax v1.7 Discussion | 5 | 01-13-2004 09:27 AM |
| have shopping cart on a schedule | lopeel | osCommerce 2.2 Modification Help | 1 | 10-07-2003 10:28 AM |
| Shopping cart won't empty | judoka | osCommerce 2.2 Modification Help | 2 | 07-14-2003 02:07 PM |