A few questions regarding the clearing of shopping cart content, both for FoxyCart developers and for merchants using FoxyCart...
When a customer makes a purchase their cart should be cleared. That part's pretty obvious. But what about customers who put items in the cart and then leave the site, close their browser, etc.
As far as I can tell the storage of cart contents in FoxyCart is session-based and sessions expire when the customer closes his or her browser. At first I assumed the cart data was stored in a session cookie but some of the threads I've read have me unsure.
So questions for Brett and Luke:
1. How are cart contents stored? Cookie only? A mix of cookie and db? Or what exactly?
2. Is it possible for individual merchants to specify when cart contents are reset to "empty"? Like, if they're stored in a cookie, can I specify when that cookie expires? And if so, how?
Questions for merchants:
As a customer myself, I frequently put items in carts knowing that I'm not going to make a purchase that day--I may want to do more research first. But I like the fact that if I come back tomorrow with the intention to buy that I won't have an empty cart that has to be reloaded. On the other hand, if I visit, say, Amazon, I don't want my cart full of stuff I stuck in there a year ago and no longer have any intention of buying. So what do you consider a reasonable amount of time for a cart to remember items placed in it from previous sessions? And would you as the merchant want the ability to specify how long this data is retained?