Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

User add items to cart but not checkout


Recommended Posts

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:




Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.



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

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...