{"action":"created","issue":{"url":"https://api.github.com/repos/Crinsane/LaravelShoppingcart/issues/76","labels_url":"https://api.github.com/repos/Crinsane/LaravelShoppingcart/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/Crinsane/LaravelShoppingcart/issues/76/comments","events_url":"https://api.github.com/repos/Crinsane/LaravelShoppingcart/issues/76/events","html_url":"https://github.com/Crinsane/LaravelShoppingcart/issues/76","id":60335740,"number":76,"title":"Need better hash for checking if item is already in cart.","user":{"login":"rduchnik","id":1050560,"avatar_url":"https://avatars.githubusercontent.com/u/1050560?v=3","gravatar_id":"","url":"https://api.github.com/users/rduchnik","html_url":"https://github.com/rduchnik","followers_url":"https://api.github.com/users/rduchnik/followers","following_url":"https://api.github.com/users/rduchnik/following{/other_user}","gists_url":"https://api.github.com/users/rduchnik/gists{/gist_id}","starred_url":"https://api.github.com/users/rduchnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rduchnik/subscriptions","organizations_url":"https://api.github.com/users/rduchnik/orgs","repos_url":"https://api.github.com/users/rduchnik/repos","events_url":"https://api.github.com/users/rduchnik/events{/privacy}","received_events_url":"https://api.github.com/users/rduchnik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Crinsane/LaravelShoppingcart/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T12:25:22Z","updated_at":"2015-03-17T20:09:00Z","closed_at":null,"body":"1. Add item1 to the cart (a unique rowid is generated).\r\n2. Update item1 option (the rowid is not updated, since it was already generated).\r\n3. Add item2 to the cart (whoops same unique rowid as item1 again).\r\n\r\nSay I want to order a large and a small sweater in one purchase. I can't do this if the option is set AFTER the item is added to the cart. Say I have an ajax app that let's me change an items option after it's already been added. This will cause problems.\r\n\r\nSeems there should be a unique rowid as well as an internal hashid that get's updated each time there is an update to the cart (options, price, etc).\r\n"},"comment":{"url":"https://api.github.com/repos/Crinsane/LaravelShoppingcart/issues/comments/82576467","html_url":"https://github.com/Crinsane/LaravelShoppingcart/issues/76#issuecomment-82576467","issue_url":"https://api.github.com/repos/Crinsane/LaravelShoppingcart/issues/76","id":82576467,"user":{"login":"stackoverflows","id":850795,"avatar_url":"https://avatars.githubusercontent.com/u/850795?v=3","gravatar_id":"","url":"https://api.github.com/users/stackoverflows","html_url":"https://github.com/stackoverflows","followers_url":"https://api.github.com/users/stackoverflows/followers","following_url":"https://api.github.com/users/stackoverflows/following{/other_user}","gists_url":"https://api.github.com/users/stackoverflows/gists{/gist_id}","starred_url":"https://api.github.com/users/stackoverflows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stackoverflows/subscriptions","organizations_url":"https://api.github.com/users/stackoverflows/orgs","repos_url":"https://api.github.com/users/stackoverflows/repos","events_url":"https://api.github.com/users/stackoverflows/events{/privacy}","received_events_url":"https://api.github.com/users/stackoverflows/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T20:09:00Z","updated_at":"2015-03-17T20:09:00Z","body":"Any updates on this issue? "}}