Saving Shopping Cart Contents - Cookies Etc Info

Hi all, I'm wondering, does anybody know exactly how cs-cart handles shopping cart contents?

For example: if someone is shopping without logging in, is their cart saved? Maybe only until their IP address changes or something?

And what if somebody is logged in? Is it then saved forever or until we clear it?

Help would be greatly appreciated.

If I remember correctly, it depends on the COOKIE_ALIVE_TIME constant which is defined in the config.php file. Default value is one week

I mentioned this in another post recently but so far I have noticed that unregistered users abandoned carts clear after a month and I haven't reached a point yet for registered users. I have registered users abandoned carts over 3 months old. I used to delete them after 2 weeks but I am trying to see if registered users ever delete automatically.

The cart is part of the SESSION which is in fact managed by COOKIE_ALIVE_TIME. One part of admin login is to scan the sessions table and delete any entries where TIME - COOKIE_ALIVE_TIME > timestamp in the session table. Those entries are deleted.

There seems to be a bug on the abandoned carts page that will NOT allow you to delete unregistered user's carts. Registared users delete fine. but unregistered will only be deleted from the above expiration method.

So help me wrap my head around this one. If a customer has an abandoned cart that is more than 2 weeks old, it will no longer show up when they visit again because the COOKIE_ALIVE_TIME will have expired after 2 weeks?

So help me wrap my head around this one. If a customer has an abandoned cart that is more than 2 weeks old, it will no longer show up when they visit again because the COOKIE_ALIVE_TIME will have expired after 2 weeks?

Correct.