Goowa Posted June 28, 2006 Posted June 28, 2006 If user login and add items to cart. But that user don't checkout ... How many hours or minutes items in cart is disappear or that items never disappear. :huh: Cheer..
Goowa Posted June 29, 2006 Author Posted June 29, 2006 How can i modifier code to check that items. If this items add to cart but don't checkout in 48 hours. it's automatically delete from cart (something like that) can use session ? or anything else Thank you for any suggestion
Terra Posted June 29, 2006 Posted June 29, 2006 It's a feature of osCommerce that shopping baskets of logged in users are stored in the database. Which means it's nothing to do with cookies/sessions but it's a database function. The sessions/cookies only matter when a customer is not logged in. You would have to write a script which deletes saved baskets from the database after Xtime. Why do you want to delete the saved basket anyway? It doesn't deduct stock and it's a nice feature that if a customer logs off, their shopping basket is saved. Terra My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad) and how to solve the invoice already paid error General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **
Recommended Posts
Archived
This topic is now archived and is closed to further replies.