{"action":"created","issue":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/15484","repository_url":"https://api.github.com/repos/woocommerce/woocommerce","labels_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/15484/labels{/name}","comments_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/15484/comments","events_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/15484/events","html_url":"https://github.com/woocommerce/woocommerce/issues/15484","id":234013994,"number":15484,"title":"Variation Stock = 0, Variation Still Shows w/Hide Out of Stock Items from the Catalog","user":{"login":"co50","id":11934431,"avatar_url":"https://avatars3.githubusercontent.com/u/11934431?v=4","gravatar_id":"","url":"https://api.github.com/users/co50","html_url":"https://github.com/co50","followers_url":"https://api.github.com/users/co50/followers","following_url":"https://api.github.com/users/co50/following{/other_user}","gists_url":"https://api.github.com/users/co50/gists{/gist_id}","starred_url":"https://api.github.com/users/co50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/co50/subscriptions","organizations_url":"https://api.github.com/users/co50/orgs","repos_url":"https://api.github.com/users/co50/repos","events_url":"https://api.github.com/users/co50/events{/privacy}","received_events_url":"https://api.github.com/users/co50/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2017-06-06T20:26:26Z","updated_at":"2018-02-05T08:38:21Z","closed_at":"2017-06-07T09:57:30Z","author_association":"NONE","body":"### EXPLANATION OF THE ISSUE\r\n\r\nWhen a variation of a product (that has other variations still in stock) drops to 0 qty in stock, the variation still appears for sale (allow backorders is \"no\")\r\n\r\nNot sure if this is a bug or intended functionality. If it's a bug, great...here's the report. If it's intended functionality, I don't understand why. If I want to hide items that are out of stock, why would this only apply to the parent product itself? Why would I want to show variations that are out of stock if this option is checked? And why does the admin show \"In Stock\" for these variations with Qty 0? We imported the items via CSV and do not include the instock/outofstock column, assuming the qty would determine that.\r\n\r\n### STEPS TO REPRODUCE THE ISSUE\r\n\r\nSet \"Hide Out of Stock Items from the Catalog\" active. Drop the stock level of any variation to 0, but with other variations of the item still with stock of >1 .\r\n\r\n### SYSTEM STATUS\r\n\r\nNot Related\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/woocommerce/woocommerce/issues/comments/363015362","html_url":"https://github.com/woocommerce/woocommerce/issues/15484#issuecomment-363015362","issue_url":"https://api.github.com/repos/woocommerce/woocommerce/issues/15484","id":363015362,"user":{"login":"antoinepernaud","id":22588022,"avatar_url":"https://avatars0.githubusercontent.com/u/22588022?v=4","gravatar_id":"","url":"https://api.github.com/users/antoinepernaud","html_url":"https://github.com/antoinepernaud","followers_url":"https://api.github.com/users/antoinepernaud/followers","following_url":"https://api.github.com/users/antoinepernaud/following{/other_user}","gists_url":"https://api.github.com/users/antoinepernaud/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinepernaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinepernaud/subscriptions","organizations_url":"https://api.github.com/users/antoinepernaud/orgs","repos_url":"https://api.github.com/users/antoinepernaud/repos","events_url":"https://api.github.com/users/antoinepernaud/events{/privacy}","received_events_url":"https://api.github.com/users/antoinepernaud/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T08:38:21Z","updated_at":"2018-02-05T08:38:21Z","author_association":"NONE","body":"No, it doesn't..."}}
{"actor":{"display_login":"antoinepernaud"}}