[eluser]YangHax[/eluser]
I want to accomplish is the following flow:
1) User comes to website and shops (CI session & cart utilized)
2) User proceeds to checkout
3) User forced to create account
4) User doesn't finish checkout for some reason
5) Some time later, user logs in from different computer, using the new account, and they're able to see all cart/session data from the earlier sesison.
I got 1-thru-4 figured out. I'm trying to think what's best way to go about #5. Any advice?
My best thought so far goes like this: when account is created - copy session/cart data into a normalized DB, and use that as back-end going forward. I'm hoping there's a more graceful solution though - something like storing session ID somewhere in DB with the account, and when the user logs in, we'd restore that session.
Thank you for any advice!