{"action":"created","issue":{"url":"https://api.github.com/repos/organicinternet/magento-configurable-simple/issues/194","labels_url":"https://api.github.com/repos/organicinternet/magento-configurable-simple/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/organicinternet/magento-configurable-simple/issues/194/comments","events_url":"https://api.github.com/repos/organicinternet/magento-configurable-simple/issues/194/events","html_url":"https://github.com/organicinternet/magento-configurable-simple/pull/194","id":30525990,"number":194,"title":"Adding product from wishlist to cart","user":{"login":"tomaszsita","id":4963972,"avatar_url":"https://avatars.githubusercontent.com/u/4963972?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszsita","html_url":"https://github.com/tomaszsita","followers_url":"https://api.github.com/users/tomaszsita/followers","following_url":"https://api.github.com/users/tomaszsita/following{/other_user}","gists_url":"https://api.github.com/users/tomaszsita/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszsita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszsita/subscriptions","organizations_url":"https://api.github.com/users/tomaszsita/orgs","repos_url":"https://api.github.com/users/tomaszsita/repos","events_url":"https://api.github.com/users/tomaszsita/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszsita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-03-31T16:15:25Z","updated_at":"2015-09-23T08:37:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/organicinternet/magento-configurable-simple/pulls/194","html_url":"https://github.com/organicinternet/magento-configurable-simple/pull/194","diff_url":"https://github.com/organicinternet/magento-configurable-simple/pull/194.diff","patch_url":"https://github.com/organicinternet/magento-configurable-simple/pull/194.patch"},"body":"Fixed the problem with wrong price of configurable product option being\r\nadded to cart from the wishlist.\r\n\r\nhttps://github.com/organicinternet/magento-configurable-simple/issues/132"},"comment":{"url":"https://api.github.com/repos/organicinternet/magento-configurable-simple/issues/comments/142530271","html_url":"https://github.com/organicinternet/magento-configurable-simple/pull/194#issuecomment-142530271","issue_url":"https://api.github.com/repos/organicinternet/magento-configurable-simple/issues/194","id":142530271,"user":{"login":"ingom","id":699470,"avatar_url":"https://avatars.githubusercontent.com/u/699470?v=3","gravatar_id":"","url":"https://api.github.com/users/ingom","html_url":"https://github.com/ingom","followers_url":"https://api.github.com/users/ingom/followers","following_url":"https://api.github.com/users/ingom/following{/other_user}","gists_url":"https://api.github.com/users/ingom/gists{/gist_id}","starred_url":"https://api.github.com/users/ingom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingom/subscriptions","organizations_url":"https://api.github.com/users/ingom/orgs","repos_url":"https://api.github.com/users/ingom/repos","events_url":"https://api.github.com/users/ingom/events{/privacy}","received_events_url":"https://api.github.com/users/ingom/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T08:37:56Z","updated_at":"2015-09-23T08:37:56Z","body":"Hello,\r\nI've added a is_object to the if condition ... it seems to work.\r\n\r\nif ($buyRequest and is_object($product->getCustomOption('info_buyRequest')->getItem()->getOptionByCode('simple_product')))\r\n\r\nmaybe anyone with a deeper knowledge can comment on this solution?\r\n\r\ncheers"}}