In my previous e-commerce travels, I've taken the easy way out. Not this time. Need to do better.
Say Mary comes to my site and adds two red balls, and a silver whistle to her cart. She signs in to her account and starts the checkout process, but then her 2 year old starts screaming bloody murder. She shuts down and vows to come back later. Well later turns out to be 2 weeks. When she comes back to my site, she remembers what she wanted - two red balls and a silver whistle. So, she adds those to her cart and also finds a really nice erector set for her son. She clicks checkout, which redirects her to log in. Upon logging in, things can get interesting....
Her "registered" account already had two red balls and a silver whistle from 2 weeks ago. So here are the options:
1) wipe out whatever was in her "registered" cart and migrate over her items that she just added when she was an anonymous shopper.
or
2) merge everything together, taking special care to add in the matched items as well as the unmatched items.
The easy way (from a programmers perspective) is to dump the "registered" accounts cart and just add in the items when she was just an anonymous shopper. No need to mix and match, just dump, add, and move right along. This would work great in this case, because Mary remembered what she wanted and re-added those items.
If I were to play the mix and match game, she'd end up with 4 red balls, 2 silver whistles, and a cool erector set in her cart. If she doesn't pay attention to the quantity textbox, she might overbuy on red balls and whistles and trigger a refund. Of course I'd like to think that everybody pays attention to what's going on in their shopping cart, but things slip though unseen. Happens to us all.
Now, I'm not a lazy programmer. I strive to give the best shopping experience possible. So I've got to do better. I could merge all the items together and throw up a message telling the shopper that some quantities have changed. Another idea is to only keep what the shopper has added to his/her cart during this session and *if* they just so happen to click on the shopping cart image/link, then throw up a "hey you have items from a previous visit, would you like to keep them? " I kind of like that idea, I can ask before doing an auto-merge. That's simple enough. But I have to give the shopper a great UX to go with my great prices so they keep coming back.
Of course, this is just one scenerio. If you store cookies on the users machine, you could find the cookie and then hit the shopping cart table and automatically bring in any existing items. I'm sure there are lots more crazy things people do and have done to them (think crashes). So this is what I'm trying to think about today. I think I'll jump on some sites today and see if I can find something cool I have not thought of. After all, I know my competition does this to me :)
Any great ideas out there?