Jump to content
Larry Ullman's Book Forums

Unsung Database Cart Brilliance


Recommended Posts

I just wanted to point out that, by storing the cart/wishlist in the database, you can easily offer people complete permanence with an optional user login. If you store your cart/wishlists' session key in the user database, you can simply reset the cookies to match those whenever they log in. Likewise, when they create an account, you can store them then, so that the cart they had is seamlessly converted to the cart associated with their account. At that point, the user account is optional, without disrupting any site flow, or scaring away potential customers.

 

Just an observation I wanted to share from a project I'm working on.

Link to comment
Share on other sites

 Share

×
×
  • Create New...