{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/9475","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9475/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9475/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9475/events","html_url":"https://github.com/woothemes/woocommerce/issues/9475","id":114416360,"number":9475,"title":"add_to_cart()-method | Don't work for \"guests\"","user":{"login":"inovek","id":1033171,"avatar_url":"https://avatars.githubusercontent.com/u/1033171?v=3","gravatar_id":"","url":"https://api.github.com/users/inovek","html_url":"https://github.com/inovek","followers_url":"https://api.github.com/users/inovek/followers","following_url":"https://api.github.com/users/inovek/following{/other_user}","gists_url":"https://api.github.com/users/inovek/gists{/gist_id}","starred_url":"https://api.github.com/users/inovek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inovek/subscriptions","organizations_url":"https://api.github.com/users/inovek/orgs","repos_url":"https://api.github.com/users/inovek/repos","events_url":"https://api.github.com/users/inovek/events{/privacy}","received_events_url":"https://api.github.com/users/inovek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-31T15:21:50Z","updated_at":"2015-10-31T18:01:47Z","closed_at":"2015-10-31T18:01:47Z","body":"I've written a external visual product editor which allows to customize the product and add the result to the cart of Woocommerce. Works like a charme: \"**If you're logged in**\"\r\n\r\nAs guest, nothing happens. I searched and searched for a reason, because I thought this problem could be my failure. But then I found topics of other users with the same problem in the forums. (unanswered)\r\n\r\nSo I think it could be a bug/issue of WooCommerce and want to report it.\r\n\r\n    $orderItem = $woocommerce->cart->add_to_cart($ppcProduct, 1, '', '', array(\r\n            'ppcSession' => $ppcSession,\r\n            'ppcPriceOffeset' => $ppcPriceOffeset,\r\n            'ppcMeta' => $ppcMeta,\r\n            'ppcImage' => $ppcImagePath,\r\n            )\r\n        );"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/152756194","html_url":"https://github.com/woothemes/woocommerce/issues/9475#issuecomment-152756194","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9475","id":152756194,"user":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T18:01:46Z","updated_at":"2015-10-31T18:01:46Z","body":"LOL xD\r\nSorry, but impossible support this kind of \"custom code\".\r\n"}}