{"action":"created","comment":{"url":"https://api.github.com/repos/andela/getmyshop/pulls/comments/51401876","id":51401876,"diff_hunk":"@@ -59,22 +59,31 @@\n \n         </div>\n       </div>\n-      <div class=\"buy-now\">\n-        <div class=\"row\">\n-          <form method=\"get\">\n+      <input  type=hidden>","path":"app/views/products/show.html.erb","position":7,"original_position":7,"commit_id":"b4db4825fd5c3cc6647aeec5ce488c89d0cf0434","original_commit_id":"b4db4825fd5c3cc6647aeec5ce488c89d0cf0434","user":{"login":"andela-echigbo","id":15727628,"avatar_url":"https://avatars.githubusercontent.com/u/15727628?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-echigbo","html_url":"https://github.com/andela-echigbo","followers_url":"https://api.github.com/users/andela-echigbo/followers","following_url":"https://api.github.com/users/andela-echigbo/following{/other_user}","gists_url":"https://api.github.com/users/andela-echigbo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-echigbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-echigbo/subscriptions","organizations_url":"https://api.github.com/users/andela-echigbo/orgs","repos_url":"https://api.github.com/users/andela-echigbo/repos","events_url":"https://api.github.com/users/andela-echigbo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-echigbo/received_events","type":"User","site_admin":false},"body":"Is this hidden field used for anything?","created_at":"2016-02-01T10:33:59Z","updated_at":"2016-02-01T10:33:59Z","html_url":"https://github.com/andela/getmyshop/pull/40#discussion_r51401876","pull_request_url":"https://api.github.com/repos/andela/getmyshop/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/andela/getmyshop/pulls/comments/51401876"},"html":{"href":"https://github.com/andela/getmyshop/pull/40#discussion_r51401876"},"pull_request":{"href":"https://api.github.com/repos/andela/getmyshop/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/andela/getmyshop/pulls/40","id":57488991,"html_url":"https://github.com/andela/getmyshop/pull/40","diff_url":"https://github.com/andela/getmyshop/pull/40.diff","patch_url":"https://github.com/andela/getmyshop/pull/40.patch","issue_url":"https://api.github.com/repos/andela/getmyshop/issues/40","number":40,"state":"open","locked":false,"title":"Items can now be added to cart","user":{"login":"andela-ydaniju","id":15727660,"avatar_url":"https://avatars.githubusercontent.com/u/15727660?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ydaniju","html_url":"https://github.com/andela-ydaniju","followers_url":"https://api.github.com/users/andela-ydaniju/followers","following_url":"https://api.github.com/users/andela-ydaniju/following{/other_user}","gists_url":"https://api.github.com/users/andela-ydaniju/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ydaniju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ydaniju/subscriptions","organizations_url":"https://api.github.com/users/andela-ydaniju/orgs","repos_url":"https://api.github.com/users/andela-ydaniju/repos","events_url":"https://api.github.com/users/andela-ydaniju/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ydaniju/received_events","type":"User","site_admin":false},"body":"Why?\r\nUsers should be able to add products to cart\r\n\r\nHow?\r\n- Get product attributes from form on clicking 'add to cart'\r\n- Save attributes into local storage\r\n- Update DOM elements with information in local storage\r\n\r\nhttps://www.pivotaltracker.com/story/show/110060166\r\n[Finishes #110060166]","created_at":"2016-01-28T11:26:52Z","updated_at":"2016-02-01T10:33:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bae50aa54ae1a0089c2187663f5b20bea148dee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/getmyshop/pulls/40/commits","review_comments_url":"https://api.github.com/repos/andela/getmyshop/pulls/40/comments","review_comment_url":"https://api.github.com/repos/andela/getmyshop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/getmyshop/issues/40/comments","statuses_url":"https://api.github.com/repos/andela/getmyshop/statuses/b4db4825fd5c3cc6647aeec5ce488c89d0cf0434","head":{"label":"andela:ft-add-to-cart-110060166","ref":"ft-add-to-cart-110060166","sha":"b4db4825fd5c3cc6647aeec5ce488c89d0cf0434","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":45830862,"name":"getmyshop","full_name":"andela/getmyshop","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/getmyshop","description":"Online shop for rent","fork":false,"url":"https://api.github.com/repos/andela/getmyshop","forks_url":"https://api.github.com/repos/andela/getmyshop/forks","keys_url":"https://api.github.com/repos/andela/getmyshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/getmyshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/getmyshop/teams","hooks_url":"https://api.github.com/repos/andela/getmyshop/hooks","issue_events_url":"https://api.github.com/repos/andela/getmyshop/issues/events{/number}","events_url":"https://api.github.com/repos/andela/getmyshop/events","assignees_url":"https://api.github.com/repos/andela/getmyshop/assignees{/user}","branches_url":"https://api.github.com/repos/andela/getmyshop/branches{/branch}","tags_url":"https://api.github.com/repos/andela/getmyshop/tags","blobs_url":"https://api.github.com/repos/andela/getmyshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/getmyshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/getmyshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/getmyshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/getmyshop/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/getmyshop/languages","stargazers_url":"https://api.github.com/repos/andela/getmyshop/stargazers","contributors_url":"https://api.github.com/repos/andela/getmyshop/contributors","subscribers_url":"https://api.github.com/repos/andela/getmyshop/subscribers","subscription_url":"https://api.github.com/repos/andela/getmyshop/subscription","commits_url":"https://api.github.com/repos/andela/getmyshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/getmyshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/getmyshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/getmyshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/getmyshop/contents/{+path}","compare_url":"https://api.github.com/repos/andela/getmyshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/getmyshop/merges","archive_url":"https://api.github.com/repos/andela/getmyshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/getmyshop/downloads","issues_url":"https://api.github.com/repos/andela/getmyshop/issues{/number}","pulls_url":"https://api.github.com/repos/andela/getmyshop/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/getmyshop/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/getmyshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/getmyshop/labels{/name}","releases_url":"https://api.github.com/repos/andela/getmyshop/releases{/id}","deployments_url":"https://api.github.com/repos/andela/getmyshop/deployments","created_at":"2015-11-09T10:22:52Z","updated_at":"2016-01-12T16:45:51Z","pushed_at":"2016-01-31T18:55:47Z","git_url":"git://github.com/andela/getmyshop.git","ssh_url":"git@github.com:andela/getmyshop.git","clone_url":"https://github.com/andela/getmyshop.git","svn_url":"https://github.com/andela/getmyshop","homepage":null,"size":1106,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"andela:master","ref":"master","sha":"1d6489dedb693a1c07ec11f6036c254ad88b8304","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":45830862,"name":"getmyshop","full_name":"andela/getmyshop","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/getmyshop","description":"Online shop for rent","fork":false,"url":"https://api.github.com/repos/andela/getmyshop","forks_url":"https://api.github.com/repos/andela/getmyshop/forks","keys_url":"https://api.github.com/repos/andela/getmyshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/getmyshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/getmyshop/teams","hooks_url":"https://api.github.com/repos/andela/getmyshop/hooks","issue_events_url":"https://api.github.com/repos/andela/getmyshop/issues/events{/number}","events_url":"https://api.github.com/repos/andela/getmyshop/events","assignees_url":"https://api.github.com/repos/andela/getmyshop/assignees{/user}","branches_url":"https://api.github.com/repos/andela/getmyshop/branches{/branch}","tags_url":"https://api.github.com/repos/andela/getmyshop/tags","blobs_url":"https://api.github.com/repos/andela/getmyshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/getmyshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/getmyshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/getmyshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/getmyshop/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/getmyshop/languages","stargazers_url":"https://api.github.com/repos/andela/getmyshop/stargazers","contributors_url":"https://api.github.com/repos/andela/getmyshop/contributors","subscribers_url":"https://api.github.com/repos/andela/getmyshop/subscribers","subscription_url":"https://api.github.com/repos/andela/getmyshop/subscription","commits_url":"https://api.github.com/repos/andela/getmyshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/getmyshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/getmyshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/getmyshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/getmyshop/contents/{+path}","compare_url":"https://api.github.com/repos/andela/getmyshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/getmyshop/merges","archive_url":"https://api.github.com/repos/andela/getmyshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/getmyshop/downloads","issues_url":"https://api.github.com/repos/andela/getmyshop/issues{/number}","pulls_url":"https://api.github.com/repos/andela/getmyshop/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/getmyshop/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/getmyshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/getmyshop/labels{/name}","releases_url":"https://api.github.com/repos/andela/getmyshop/releases{/id}","deployments_url":"https://api.github.com/repos/andela/getmyshop/deployments","created_at":"2015-11-09T10:22:52Z","updated_at":"2016-01-12T16:45:51Z","pushed_at":"2016-01-31T18:55:47Z","git_url":"git://github.com/andela/getmyshop.git","ssh_url":"git@github.com:andela/getmyshop.git","clone_url":"https://github.com/andela/getmyshop.git","svn_url":"https://github.com/andela/getmyshop","homepage":null,"size":1106,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/getmyshop/pulls/40"},"html":{"href":"https://github.com/andela/getmyshop/pull/40"},"issue":{"href":"https://api.github.com/repos/andela/getmyshop/issues/40"},"comments":{"href":"https://api.github.com/repos/andela/getmyshop/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/getmyshop/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/getmyshop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/getmyshop/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/andela/getmyshop/statuses/b4db4825fd5c3cc6647aeec5ce488c89d0cf0434"}}}}