{"action":"created","comment":{"url":"https://api.github.com/repos/shoopio/shoop/pulls/comments/40709852","id":40709852,"diff_hunk":"@@ -15,7 +15,11 @@\n     {{ bs3.field(product_form.barcode) }}\n     {{ bs3.field(product_form.gtin) }}\n     {{ bs3.field(product_form.category) }}\n-    {{ bs3.field(product_form.stock_behavior) }}","path":"shoop/admin/templates/shoop/admin/products/_edit_base_form.jinja","position":4,"original_position":4,"commit_id":"3493be077f205b02d0e0aa8d5dbbb01ad0e2606b","original_commit_id":"3493be077f205b02d0e0aa8d5dbbb01ad0e2606b","user":{"login":"akx","id":58669,"avatar_url":"https://avatars.githubusercontent.com/u/58669?v=3","gravatar_id":"","url":"https://api.github.com/users/akx","html_url":"https://github.com/akx","followers_url":"https://api.github.com/users/akx/followers","following_url":"https://api.github.com/users/akx/following{/other_user}","gists_url":"https://api.github.com/users/akx/gists{/gist_id}","starred_url":"https://api.github.com/users/akx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akx/subscriptions","organizations_url":"https://api.github.com/users/akx/orgs","repos_url":"https://api.github.com/users/akx/repos","events_url":"https://api.github.com/users/akx/events{/privacy}","received_events_url":"https://api.github.com/users/akx/received_events","type":"User","site_admin":false},"body":"Maybe -- for this once -- leave the removed code in the comment, to make it clear what there is to \"enable\" in the near future :)","created_at":"2015-09-29T18:32:07Z","updated_at":"2015-09-29T18:32:07Z","html_url":"https://github.com/shoopio/shoop/pull/177#discussion_r40709852","pull_request_url":"https://api.github.com/repos/shoopio/shoop/pulls/177","_links":{"self":{"href":"https://api.github.com/repos/shoopio/shoop/pulls/comments/40709852"},"html":{"href":"https://github.com/shoopio/shoop/pull/177#discussion_r40709852"},"pull_request":{"href":"https://api.github.com/repos/shoopio/shoop/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/shoopio/shoop/pulls/177","id":46273046,"html_url":"https://github.com/shoopio/shoop/pull/177","diff_url":"https://github.com/shoopio/shoop/pull/177.diff","patch_url":"https://github.com/shoopio/shoop/pull/177.patch","issue_url":"https://api.github.com/repos/shoopio/shoop/issues/177","number":177,"state":"open","locked":false,"title":"Fixes","user":{"login":"Pikkupomo","id":2863405,"avatar_url":"https://avatars.githubusercontent.com/u/2863405?v=3","gravatar_id":"","url":"https://api.github.com/users/Pikkupomo","html_url":"https://github.com/Pikkupomo","followers_url":"https://api.github.com/users/Pikkupomo/followers","following_url":"https://api.github.com/users/Pikkupomo/following{/other_user}","gists_url":"https://api.github.com/users/Pikkupomo/gists{/gist_id}","starred_url":"https://api.github.com/users/Pikkupomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pikkupomo/subscriptions","organizations_url":"https://api.github.com/users/Pikkupomo/orgs","repos_url":"https://api.github.com/users/Pikkupomo/repos","events_url":"https://api.github.com/users/Pikkupomo/events{/privacy}","received_events_url":"https://api.github.com/users/Pikkupomo/received_events","type":"User","site_admin":false},"body":"Classic Gray fixes:\r\n* Adding product to basket should now work as expected\r\n  * If error is returned from ajax request, show error information\r\n* Product preview\r\n  * Adding product to basket should now function properly\r\n  * Complex variations are working\r\n  * Return URL is now pointing to `/xtheme/products` instead of preview view\r\n  * etc\r\n* Product Page\r\n  * If no price is available for complex variation, show proper information and disable the add to cart\r\n  * Removed `.is(\":valid\")` check to remove the error it caused\r\n  * Prices should now be properly shown\r\n  * Product not purchaseable if no supplier (addable to basket)\r\n  * Properly disable \"Add to basket\" button if product is not purchaseable\r\n* Category Page:\r\n  * Prices should now be properly shown\r\n* General changes:\r\n  * Product price has been unified to a single macro called `render_product_price(product, price_info, show_units)`\r\n  * Show errors properly on basket\r\n\r\nGeneral fixes:\r\n* Front: Variation children are no longer visible in listings\r\n* Admin: Disabled `Stock` field for now\r\n* Admin: Show errors properly on shipment creation page\r\n* Admin: Make visibles off by default\r\n* Admin: Add info why product is not buyable / visible","created_at":"2015-09-29T12:56:11Z","updated_at":"2015-09-29T18:32:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5c4b9cfe6ef0386ff8e8be59c15f1a89063fcc1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shoopio/shoop/pulls/177/commits","review_comments_url":"https://api.github.com/repos/shoopio/shoop/pulls/177/comments","review_comment_url":"https://api.github.com/repos/shoopio/shoop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shoopio/shoop/issues/177/comments","statuses_url":"https://api.github.com/repos/shoopio/shoop/statuses/3493be077f205b02d0e0aa8d5dbbb01ad0e2606b","head":{"label":"Pikkupomo:fixes","ref":"fixes","sha":"3493be077f205b02d0e0aa8d5dbbb01ad0e2606b","user":{"login":"Pikkupomo","id":2863405,"avatar_url":"https://avatars.githubusercontent.com/u/2863405?v=3","gravatar_id":"","url":"https://api.github.com/users/Pikkupomo","html_url":"https://github.com/Pikkupomo","followers_url":"https://api.github.com/users/Pikkupomo/followers","following_url":"https://api.github.com/users/Pikkupomo/following{/other_user}","gists_url":"https://api.github.com/users/Pikkupomo/gists{/gist_id}","starred_url":"https://api.github.com/users/Pikkupomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pikkupomo/subscriptions","organizations_url":"https://api.github.com/users/Pikkupomo/orgs","repos_url":"https://api.github.com/users/Pikkupomo/repos","events_url":"https://api.github.com/users/Pikkupomo/events{/privacy}","received_events_url":"https://api.github.com/users/Pikkupomo/received_events","type":"User","site_admin":false},"repo":{"id":37525161,"name":"shoop","full_name":"Pikkupomo/shoop","owner":{"login":"Pikkupomo","id":2863405,"avatar_url":"https://avatars.githubusercontent.com/u/2863405?v=3","gravatar_id":"","url":"https://api.github.com/users/Pikkupomo","html_url":"https://github.com/Pikkupomo","followers_url":"https://api.github.com/users/Pikkupomo/followers","following_url":"https://api.github.com/users/Pikkupomo/following{/other_user}","gists_url":"https://api.github.com/users/Pikkupomo/gists{/gist_id}","starred_url":"https://api.github.com/users/Pikkupomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pikkupomo/subscriptions","organizations_url":"https://api.github.com/users/Pikkupomo/orgs","repos_url":"https://api.github.com/users/Pikkupomo/repos","events_url":"https://api.github.com/users/Pikkupomo/events{/privacy}","received_events_url":"https://api.github.com/users/Pikkupomo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Pikkupomo/shoop","description":"","fork":true,"url":"https://api.github.com/repos/Pikkupomo/shoop","forks_url":"https://api.github.com/repos/Pikkupomo/shoop/forks","keys_url":"https://api.github.com/repos/Pikkupomo/shoop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pikkupomo/shoop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pikkupomo/shoop/teams","hooks_url":"https://api.github.com/repos/Pikkupomo/shoop/hooks","issue_events_url":"https://api.github.com/repos/Pikkupomo/shoop/issues/events{/number}","events_url":"https://api.github.com/repos/Pikkupomo/shoop/events","assignees_url":"https://api.github.com/repos/Pikkupomo/shoop/assignees{/user}","branches_url":"https://api.github.com/repos/Pikkupomo/shoop/branches{/branch}","tags_url":"https://api.github.com/repos/Pikkupomo/shoop/tags","blobs_url":"https://api.github.com/repos/Pikkupomo/shoop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pikkupomo/shoop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pikkupomo/shoop/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pikkupomo/shoop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pikkupomo/shoop/statuses/{sha}","languages_url":"https://api.github.com/repos/Pikkupomo/shoop/languages","stargazers_url":"https://api.github.com/repos/Pikkupomo/shoop/stargazers","contributors_url":"https://api.github.com/repos/Pikkupomo/shoop/contributors","subscribers_url":"https://api.github.com/repos/Pikkupomo/shoop/subscribers","subscription_url":"https://api.github.com/repos/Pikkupomo/shoop/subscription","commits_url":"https://api.github.com/repos/Pikkupomo/shoop/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pikkupomo/shoop/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pikkupomo/shoop/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pikkupomo/shoop/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pikkupomo/shoop/contents/{+path}","compare_url":"https://api.github.com/repos/Pikkupomo/shoop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pikkupomo/shoop/merges","archive_url":"https://api.github.com/repos/Pikkupomo/shoop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pikkupomo/shoop/downloads","issues_url":"https://api.github.com/repos/Pikkupomo/shoop/issues{/number}","pulls_url":"https://api.github.com/repos/Pikkupomo/shoop/pulls{/number}","milestones_url":"https://api.github.com/repos/Pikkupomo/shoop/milestones{/number}","notifications_url":"https://api.github.com/repos/Pikkupomo/shoop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pikkupomo/shoop/labels{/name}","releases_url":"https://api.github.com/repos/Pikkupomo/shoop/releases{/id}","created_at":"2015-06-16T11:06:34Z","updated_at":"2015-06-16T11:06:35Z","pushed_at":"2015-09-29T17:43:40Z","git_url":"git://github.com/Pikkupomo/shoop.git","ssh_url":"git@github.com:Pikkupomo/shoop.git","clone_url":"https://github.com/Pikkupomo/shoop.git","svn_url":"https://github.com/Pikkupomo/shoop","homepage":null,"size":3964,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"shoopio:master","ref":"master","sha":"0ddbb8b0a6a3ca7a09873f1cd46fc619e3c49472","user":{"login":"shoopio","id":12714852,"avatar_url":"https://avatars.githubusercontent.com/u/12714852?v=3","gravatar_id":"","url":"https://api.github.com/users/shoopio","html_url":"https://github.com/shoopio","followers_url":"https://api.github.com/users/shoopio/followers","following_url":"https://api.github.com/users/shoopio/following{/other_user}","gists_url":"https://api.github.com/users/shoopio/gists{/gist_id}","starred_url":"https://api.github.com/users/shoopio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoopio/subscriptions","organizations_url":"https://api.github.com/users/shoopio/orgs","repos_url":"https://api.github.com/users/shoopio/repos","events_url":"https://api.github.com/users/shoopio/events{/privacy}","received_events_url":"https://api.github.com/users/shoopio/received_events","type":"Organization","site_admin":false},"repo":{"id":36803364,"name":"shoop","full_name":"shoopio/shoop","owner":{"login":"shoopio","id":12714852,"avatar_url":"https://avatars.githubusercontent.com/u/12714852?v=3","gravatar_id":"","url":"https://api.github.com/users/shoopio","html_url":"https://github.com/shoopio","followers_url":"https://api.github.com/users/shoopio/followers","following_url":"https://api.github.com/users/shoopio/following{/other_user}","gists_url":"https://api.github.com/users/shoopio/gists{/gist_id}","starred_url":"https://api.github.com/users/shoopio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoopio/subscriptions","organizations_url":"https://api.github.com/users/shoopio/orgs","repos_url":"https://api.github.com/users/shoopio/repos","events_url":"https://api.github.com/users/shoopio/events{/privacy}","received_events_url":"https://api.github.com/users/shoopio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shoopio/shoop","description":"E-Commerce Platform","fork":false,"url":"https://api.github.com/repos/shoopio/shoop","forks_url":"https://api.github.com/repos/shoopio/shoop/forks","keys_url":"https://api.github.com/repos/shoopio/shoop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shoopio/shoop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shoopio/shoop/teams","hooks_url":"https://api.github.com/repos/shoopio/shoop/hooks","issue_events_url":"https://api.github.com/repos/shoopio/shoop/issues/events{/number}","events_url":"https://api.github.com/repos/shoopio/shoop/events","assignees_url":"https://api.github.com/repos/shoopio/shoop/assignees{/user}","branches_url":"https://api.github.com/repos/shoopio/shoop/branches{/branch}","tags_url":"https://api.github.com/repos/shoopio/shoop/tags","blobs_url":"https://api.github.com/repos/shoopio/shoop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shoopio/shoop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shoopio/shoop/git/refs{/sha}","trees_url":"https://api.github.com/repos/shoopio/shoop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shoopio/shoop/statuses/{sha}","languages_url":"https://api.github.com/repos/shoopio/shoop/languages","stargazers_url":"https://api.github.com/repos/shoopio/shoop/stargazers","contributors_url":"https://api.github.com/repos/shoopio/shoop/contributors","subscribers_url":"https://api.github.com/repos/shoopio/shoop/subscribers","subscription_url":"https://api.github.com/repos/shoopio/shoop/subscription","commits_url":"https://api.github.com/repos/shoopio/shoop/commits{/sha}","git_commits_url":"https://api.github.com/repos/shoopio/shoop/git/commits{/sha}","comments_url":"https://api.github.com/repos/shoopio/shoop/comments{/number}","issue_comment_url":"https://api.github.com/repos/shoopio/shoop/issues/comments{/number}","contents_url":"https://api.github.com/repos/shoopio/shoop/contents/{+path}","compare_url":"https://api.github.com/repos/shoopio/shoop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shoopio/shoop/merges","archive_url":"https://api.github.com/repos/shoopio/shoop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shoopio/shoop/downloads","issues_url":"https://api.github.com/repos/shoopio/shoop/issues{/number}","pulls_url":"https://api.github.com/repos/shoopio/shoop/pulls{/number}","milestones_url":"https://api.github.com/repos/shoopio/shoop/milestones{/number}","notifications_url":"https://api.github.com/repos/shoopio/shoop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shoopio/shoop/labels{/name}","releases_url":"https://api.github.com/repos/shoopio/shoop/releases{/id}","created_at":"2015-06-03T12:53:21Z","updated_at":"2015-09-26T06:21:14Z","pushed_at":"2015-09-29T17:43:40Z","git_url":"git://github.com/shoopio/shoop.git","ssh_url":"git@github.com:shoopio/shoop.git","clone_url":"https://github.com/shoopio/shoop.git","svn_url":"https://github.com/shoopio/shoop","homepage":"https://shoop.io","size":7851,"stargazers_count":158,"watchers_count":158,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":9,"forks":40,"open_issues":9,"watchers":158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shoopio/shoop/pulls/177"},"html":{"href":"https://github.com/shoopio/shoop/pull/177"},"issue":{"href":"https://api.github.com/repos/shoopio/shoop/issues/177"},"comments":{"href":"https://api.github.com/repos/shoopio/shoop/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/shoopio/shoop/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/shoopio/shoop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shoopio/shoop/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/shoopio/shoop/statuses/3493be077f205b02d0e0aa8d5dbbb01ad0e2606b"}}}}