{"action":"closed","number":9323,"pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/9323","id":47201490,"html_url":"https://github.com/woothemes/woocommerce/pull/9323","diff_url":"https://github.com/woothemes/woocommerce/pull/9323.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/9323.patch","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9323","number":9323,"state":"closed","locked":false,"title":"ExtendedWC_AJAX::add_to_cart to be able to add variable products to cart","user":{"login":"joakimcarlsten","id":262569,"avatar_url":"https://avatars.githubusercontent.com/u/262569?v=3","gravatar_id":"","url":"https://api.github.com/users/joakimcarlsten","html_url":"https://github.com/joakimcarlsten","followers_url":"https://api.github.com/users/joakimcarlsten/followers","following_url":"https://api.github.com/users/joakimcarlsten/following{/other_user}","gists_url":"https://api.github.com/users/joakimcarlsten/gists{/gist_id}","starred_url":"https://api.github.com/users/joakimcarlsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakimcarlsten/subscriptions","organizations_url":"https://api.github.com/users/joakimcarlsten/orgs","repos_url":"https://api.github.com/users/joakimcarlsten/repos","events_url":"https://api.github.com/users/joakimcarlsten/events{/privacy}","received_events_url":"https://api.github.com/users/joakimcarlsten/received_events","type":"User","site_admin":false},"body":"Hi, \r\nIf the add_to_cart method is extended with these parameters you are able to use the woocommerce_add_to_cart action from the js-file to write your own custom ajax add to cart for variable products. The values default to the same parameter value as the WC_Cart->add_to_cart if they are not set.","created_at":"2015-10-08T20:22:55Z","updated_at":"2015-10-09T11:11:36Z","closed_at":"2015-10-09T11:11:36Z","merged_at":null,"merge_commit_sha":"ae5980fd987292a6dad2471c650eb17a138534eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/woothemes/woocommerce/pulls/9323/commits","review_comments_url":"https://api.github.com/repos/woothemes/woocommerce/pulls/9323/comments","review_comment_url":"https://api.github.com/repos/woothemes/woocommerce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9323/comments","statuses_url":"https://api.github.com/repos/woothemes/woocommerce/statuses/672866323c6884fd5a020c8e80bbf718e4ae113d","head":{"label":"joakimcarlsten:master","ref":"master","sha":"672866323c6884fd5a020c8e80bbf718e4ae113d","user":{"login":"joakimcarlsten","id":262569,"avatar_url":"https://avatars.githubusercontent.com/u/262569?v=3","gravatar_id":"","url":"https://api.github.com/users/joakimcarlsten","html_url":"https://github.com/joakimcarlsten","followers_url":"https://api.github.com/users/joakimcarlsten/followers","following_url":"https://api.github.com/users/joakimcarlsten/following{/other_user}","gists_url":"https://api.github.com/users/joakimcarlsten/gists{/gist_id}","starred_url":"https://api.github.com/users/joakimcarlsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakimcarlsten/subscriptions","organizations_url":"https://api.github.com/users/joakimcarlsten/orgs","repos_url":"https://api.github.com/users/joakimcarlsten/repos","events_url":"https://api.github.com/users/joakimcarlsten/events{/privacy}","received_events_url":"https://api.github.com/users/joakimcarlsten/received_events","type":"User","site_admin":false},"repo":{"id":43912474,"name":"woocommerce","full_name":"joakimcarlsten/woocommerce","owner":{"login":"joakimcarlsten","id":262569,"avatar_url":"https://avatars.githubusercontent.com/u/262569?v=3","gravatar_id":"","url":"https://api.github.com/users/joakimcarlsten","html_url":"https://github.com/joakimcarlsten","followers_url":"https://api.github.com/users/joakimcarlsten/followers","following_url":"https://api.github.com/users/joakimcarlsten/following{/other_user}","gists_url":"https://api.github.com/users/joakimcarlsten/gists{/gist_id}","starred_url":"https://api.github.com/users/joakimcarlsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakimcarlsten/subscriptions","organizations_url":"https://api.github.com/users/joakimcarlsten/orgs","repos_url":"https://api.github.com/users/joakimcarlsten/repos","events_url":"https://api.github.com/users/joakimcarlsten/events{/privacy}","received_events_url":"https://api.github.com/users/joakimcarlsten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joakimcarlsten/woocommerce","description":"An open source eCommerce plugin for WordPress created by WooThemes.","fork":true,"url":"https://api.github.com/repos/joakimcarlsten/woocommerce","forks_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/forks","keys_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/teams","hooks_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/hooks","issue_events_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/issues/events{/number}","events_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/events","assignees_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/assignees{/user}","branches_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/branches{/branch}","tags_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/tags","blobs_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/languages","stargazers_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/stargazers","contributors_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/contributors","subscribers_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/subscribers","subscription_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/subscription","commits_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/contents/{+path}","compare_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/merges","archive_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/downloads","issues_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/issues{/number}","pulls_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/labels{/name}","releases_url":"https://api.github.com/repos/joakimcarlsten/woocommerce/releases{/id}","created_at":"2015-10-08T19:43:47Z","updated_at":"2015-10-08T19:44:00Z","pushed_at":"2015-10-08T19:52:49Z","git_url":"git://github.com/joakimcarlsten/woocommerce.git","ssh_url":"git@github.com:joakimcarlsten/woocommerce.git","clone_url":"https://github.com/joakimcarlsten/woocommerce.git","svn_url":"https://github.com/joakimcarlsten/woocommerce","homepage":"http://www.woothemes.com/woocommerce/","size":105550,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"woothemes:master","ref":"master","sha":"a2ab735cda3c13cbc439c260ef62ce621e431940","user":{"login":"woothemes","id":473596,"avatar_url":"https://avatars.githubusercontent.com/u/473596?v=3","gravatar_id":"","url":"https://api.github.com/users/woothemes","html_url":"https://github.com/woothemes","followers_url":"https://api.github.com/users/woothemes/followers","following_url":"https://api.github.com/users/woothemes/following{/other_user}","gists_url":"https://api.github.com/users/woothemes/gists{/gist_id}","starred_url":"https://api.github.com/users/woothemes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woothemes/subscriptions","organizations_url":"https://api.github.com/users/woothemes/orgs","repos_url":"https://api.github.com/users/woothemes/repos","events_url":"https://api.github.com/users/woothemes/events{/privacy}","received_events_url":"https://api.github.com/users/woothemes/received_events","type":"Organization","site_admin":false},"repo":{"id":2179920,"name":"woocommerce","full_name":"woothemes/woocommerce","owner":{"login":"woothemes","id":473596,"avatar_url":"https://avatars.githubusercontent.com/u/473596?v=3","gravatar_id":"","url":"https://api.github.com/users/woothemes","html_url":"https://github.com/woothemes","followers_url":"https://api.github.com/users/woothemes/followers","following_url":"https://api.github.com/users/woothemes/following{/other_user}","gists_url":"https://api.github.com/users/woothemes/gists{/gist_id}","starred_url":"https://api.github.com/users/woothemes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woothemes/subscriptions","organizations_url":"https://api.github.com/users/woothemes/orgs","repos_url":"https://api.github.com/users/woothemes/repos","events_url":"https://api.github.com/users/woothemes/events{/privacy}","received_events_url":"https://api.github.com/users/woothemes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/woothemes/woocommerce","description":"An open source eCommerce plugin for WordPress created by WooThemes.","fork":false,"url":"https://api.github.com/repos/woothemes/woocommerce","forks_url":"https://api.github.com/repos/woothemes/woocommerce/forks","keys_url":"https://api.github.com/repos/woothemes/woocommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woothemes/woocommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woothemes/woocommerce/teams","hooks_url":"https://api.github.com/repos/woothemes/woocommerce/hooks","issue_events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/events{/number}","events_url":"https://api.github.com/repos/woothemes/woocommerce/events","assignees_url":"https://api.github.com/repos/woothemes/woocommerce/assignees{/user}","branches_url":"https://api.github.com/repos/woothemes/woocommerce/branches{/branch}","tags_url":"https://api.github.com/repos/woothemes/woocommerce/tags","blobs_url":"https://api.github.com/repos/woothemes/woocommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woothemes/woocommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woothemes/woocommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/woothemes/woocommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woothemes/woocommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/woothemes/woocommerce/languages","stargazers_url":"https://api.github.com/repos/woothemes/woocommerce/stargazers","contributors_url":"https://api.github.com/repos/woothemes/woocommerce/contributors","subscribers_url":"https://api.github.com/repos/woothemes/woocommerce/subscribers","subscription_url":"https://api.github.com/repos/woothemes/woocommerce/subscription","commits_url":"https://api.github.com/repos/woothemes/woocommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/woothemes/woocommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/woothemes/woocommerce/contents/{+path}","compare_url":"https://api.github.com/repos/woothemes/woocommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woothemes/woocommerce/merges","archive_url":"https://api.github.com/repos/woothemes/woocommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woothemes/woocommerce/downloads","issues_url":"https://api.github.com/repos/woothemes/woocommerce/issues{/number}","pulls_url":"https://api.github.com/repos/woothemes/woocommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/woothemes/woocommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/woothemes/woocommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woothemes/woocommerce/labels{/name}","releases_url":"https://api.github.com/repos/woothemes/woocommerce/releases{/id}","created_at":"2011-08-09T15:12:11Z","updated_at":"2015-10-08T16:14:51Z","pushed_at":"2015-10-09T10:56:22Z","git_url":"git://github.com/woothemes/woocommerce.git","ssh_url":"git@github.com:woothemes/woocommerce.git","clone_url":"https://github.com/woothemes/woocommerce.git","svn_url":"https://github.com/woothemes/woocommerce","homepage":"http://www.woothemes.com/woocommerce/","size":141173,"stargazers_count":2286,"watchers_count":2286,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1830,"mirror_url":null,"open_issues_count":32,"forks":1830,"open_issues":32,"watchers":2286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/9323"},"html":{"href":"https://github.com/woothemes/woocommerce/pull/9323"},"issue":{"href":"https://api.github.com/repos/woothemes/woocommerce/issues/9323"},"comments":{"href":"https://api.github.com/repos/woothemes/woocommerce/issues/9323/comments"},"review_comments":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/9323/comments"},"review_comment":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/9323/commits"},"statuses":{"href":"https://api.github.com/repos/woothemes/woocommerce/statuses/672866323c6884fd5a020c8e80bbf718e4ae113d"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}