{"action":"opened","issue":{"url":"https://api.github.com/repos/brasadesign/wp-docklands/issues/62","labels_url":"https://api.github.com/repos/brasadesign/wp-docklands/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/brasadesign/wp-docklands/issues/62/comments","events_url":"https://api.github.com/repos/brasadesign/wp-docklands/issues/62/events","html_url":"https://github.com/brasadesign/wp-docklands/issues/62","id":111439891,"number":62,"title":"Produto Default - SKU definido como Padrao nao pode ser comprado!","user":{"login":"LuwkasLima","id":5949986,"avatar_url":"https://avatars.githubusercontent.com/u/5949986?v=3","gravatar_id":"","url":"https://api.github.com/users/LuwkasLima","html_url":"https://github.com/LuwkasLima","followers_url":"https://api.github.com/users/LuwkasLima/followers","following_url":"https://api.github.com/users/LuwkasLima/following{/other_user}","gists_url":"https://api.github.com/users/LuwkasLima/gists{/gist_id}","starred_url":"https://api.github.com/users/LuwkasLima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuwkasLima/subscriptions","organizations_url":"https://api.github.com/users/LuwkasLima/orgs","repos_url":"https://api.github.com/users/LuwkasLima/repos","events_url":"https://api.github.com/users/LuwkasLima/events{/privacy}","received_events_url":"https://api.github.com/users/LuwkasLima/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brasadesign/wp-docklands/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"LuwkasLima","id":5949986,"avatar_url":"https://avatars.githubusercontent.com/u/5949986?v=3","gravatar_id":"","url":"https://api.github.com/users/LuwkasLima","html_url":"https://github.com/LuwkasLima","followers_url":"https://api.github.com/users/LuwkasLima/followers","following_url":"https://api.github.com/users/LuwkasLima/following{/other_user}","gists_url":"https://api.github.com/users/LuwkasLima/gists{/gist_id}","starred_url":"https://api.github.com/users/LuwkasLima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuwkasLima/subscriptions","organizations_url":"https://api.github.com/users/LuwkasLima/orgs","repos_url":"https://api.github.com/users/LuwkasLima/repos","events_url":"https://api.github.com/users/LuwkasLima/events{/privacy}","received_events_url":"https://api.github.com/users/LuwkasLima/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/brasadesign/wp-docklands/milestones/8","html_url":"https://github.com/brasadesign/wp-docklands/milestones/Geral","labels_url":"https://api.github.com/repos/brasadesign/wp-docklands/milestones/8/labels","id":939339,"number":8,"title":"Geral","description":"","creator":{"login":"everaldomatias","id":1918474,"avatar_url":"https://avatars.githubusercontent.com/u/1918474?v=3","gravatar_id":"","url":"https://api.github.com/users/everaldomatias","html_url":"https://github.com/everaldomatias","followers_url":"https://api.github.com/users/everaldomatias/followers","following_url":"https://api.github.com/users/everaldomatias/following{/other_user}","gists_url":"https://api.github.com/users/everaldomatias/gists{/gist_id}","starred_url":"https://api.github.com/users/everaldomatias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everaldomatias/subscriptions","organizations_url":"https://api.github.com/users/everaldomatias/orgs","repos_url":"https://api.github.com/users/everaldomatias/repos","events_url":"https://api.github.com/users/everaldomatias/events{/privacy}","received_events_url":"https://api.github.com/users/everaldomatias/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":12,"state":"open","created_at":"2015-01-16T22:27:06Z","updated_at":"2015-10-14T16:42:21Z","due_on":"2015-02-06T02:00:00Z","closed_at":null},"comments":0,"created_at":"2015-10-14T16:42:21Z","updated_at":"2015-10-14T16:42:21Z","closed_at":null,"body":"Oi Pessoal,\r\n\r\nEstou documentando aqui um problema que esta acontecendo com os produtos importandos no site da Dock. Como sabem, os produtos possuem um agrupamento de variacoes (SKUs) que podem ser escolhidos atraves das opcoes de atributos MODEL, COLOUR e SIZE (a combinacao das 3 tras o SKU correspondentes):\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5949986/10490614/ab220a9e-7267-11e5-8841-fd76d561997d.png)\r\n\r\nO exemplo acima apresenta a cadeira \"Aluminium | Outdoor Seating\" que possui 2 SKUs possiveis: 1001-0100 (Padrao) e 1001-0300. O problema eh que so conseguimos escolher o SKU 1001-0100 (Padrao) quando limpamos as opcoes de variacoes do Produto, pois nao existem atributos no site que se selecionados trazem o produto padrao:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5949986/10490726/2d9d71de-7268-11e5-892e-14f0aece3c13.png)\r\n\r\nNo entanto, por nao possuir atributos que tragam este SKU 1001-0100 (Padrao), se clicamos em Adicionar ao Carrinho, a seguinte mensagem aparece:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5949986/10490778/7c67eef2-7268-11e5-90dd-1406c571e122.png)\r\n\r\ne a seguinte mensagem de erro:\r\n\r\nNotice: Trying to get property of non-object in /home2/maracatu/public_html/brasawp/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php on line 725"}}