Results 1 to 2 of 2

shopping cart info is held?

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 ...

      
  1. #1
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    Default shopping cart info is held?

    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

  2. #2
    Active Member
    Join Date
    Oct 2002
    Location
    Arkansas
    Posts
    149
    Rep Power
    0


    Default anyone??? Please ...

    Hi,

    Can anyone answer this thread?

    Am getting a little desperate.


Similar Threads

  1. Shopping cart
    By decoster in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 12-05-2006, 08:12 AM
  2. Which shopping cart should I use? Please help.
    By earth-friendly in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 07-16-2006, 12:36 PM
  3. shopping cart is cleared after I log in
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 01-13-2004, 08:27 AM
  4. have shopping cart on a schedule
    By lopeel in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-07-2003, 09:28 AM
  5. Shopping cart won't empty
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 07-14-2003, 01:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •