If a user on an e-commerce site is in the middle of a purchase process when they leave to another part of the site, or perhaps leave the site completely, what information should be retained if they return to the checkout process? Should it keep their payment information? Should it ask for some sort of confirmation like "what are the last four digits of your payment card?" in order to retrieve that? Should it completely forget everything and just go back to a full cart as though no checkout attempt happened?

  • 2
    You also don't want it to reset too quickly as the user goes off to hunt out which jacket / coat has their wallet in so they can find their credit cards.
    – PhillipW
    Commented Nov 11, 2014 at 13:54

2 Answers 2


General rules of thumb:

  • it should not save any personal info unless I asked it too (such as credit card info--people don't trust a site that is storing their personal data without their permission)
  • it should save non-personal info for my convenience (such as my shopping cart--if it's saved, I'm more likely to finish my purchase)
  • Should it pop up a modal if they try to leave asking if they'd like to first save their payment info?
    – JClaussFTW
    Commented Nov 12, 2014 at 4:19
  • @JClaussFTW you should ask before saving--but should you save to begin with? I'd say if they are leaving on payment screen, they likely have good reason to and you asking to save their personal info might seem a tad over-the-top. But that's just a hunch/personal opinion.
    – DA01
    Commented Nov 12, 2014 at 4:53

I would absolutely save the users cart.

You could do this by checking to see when the cart was last updated in your database for example or cross-referencing the User ID with the Cart ID to check if the user has left the site but with a cart full of goodies.

Then - you have a few options:

  1. Save the cart - and re-instantiate the cart when they come back / log in
  2. Save the cart - and email them later to let them know that you saved the cart
  3. Save the cart - and don't tell them anything (this is what you wouldn't do)

People, once they have left the site - just tend to forget completely that they even visited your site in the first place. It will absolutely help your business / shop if you at least remind them or let them know that if they abandon your cart, it will still be there when you get back. The best way, IMHO, is by email.

DA01's point about not retaining sensitive information is also valid, only retain their cart items.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.