{"action":"opened","issue":{"url":"https://api.github.com/repos/VividWeb/vivid_store/issues/50","labels_url":"https://api.github.com/repos/VividWeb/vivid_store/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/VividWeb/vivid_store/issues/50/comments","events_url":"https://api.github.com/repos/VividWeb/vivid_store/issues/50/events","html_url":"https://github.com/VividWeb/vivid_store/issues/50","id":74124275,"number":50,"title":"Cart should be stored in the database rather than session","user":{"login":"brucewyne","id":782682,"avatar_url":"https://avatars.githubusercontent.com/u/782682?v=3","gravatar_id":"","url":"https://api.github.com/users/brucewyne","html_url":"https://github.com/brucewyne","followers_url":"https://api.github.com/users/brucewyne/followers","following_url":"https://api.github.com/users/brucewyne/following{/other_user}","gists_url":"https://api.github.com/users/brucewyne/gists{/gist_id}","starred_url":"https://api.github.com/users/brucewyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brucewyne/subscriptions","organizations_url":"https://api.github.com/users/brucewyne/orgs","repos_url":"https://api.github.com/users/brucewyne/repos","events_url":"https://api.github.com/users/brucewyne/events{/privacy}","received_events_url":"https://api.github.com/users/brucewyne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-07T20:51:53Z","updated_at":"2015-05-07T20:51:53Z","closed_at":null,"body":"Right now, cart items are just in the session. They need to be in the database and just reference a session ID. It's no difference much to the user, but it does a few things:\r\n\r\n1. Tracks what a cart looks like\r\n2. Able to track abandoned carts\r\n3. Login on a different computer and restore a shopping cart"}}