{"action":"opened","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3349","labels_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3349/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3349/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/issues/3349/events","html_url":"https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/3349","id":68737787,"number":3349,"title":"product quantity fields allow 0 but do not adjust the quantity","user":{"login":"sdavis2702","id":2359131,"avatar_url":"https://avatars.githubusercontent.com/u/2359131?v=3","gravatar_id":"","url":"https://api.github.com/users/sdavis2702","html_url":"https://github.com/sdavis2702","followers_url":"https://api.github.com/users/sdavis2702/followers","following_url":"https://api.github.com/users/sdavis2702/following{/other_user}","gists_url":"https://api.github.com/users/sdavis2702/gists{/gist_id}","starred_url":"https://api.github.com/users/sdavis2702/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdavis2702/subscriptions","organizations_url":"https://api.github.com/users/sdavis2702/orgs","repos_url":"https://api.github.com/users/sdavis2702/repos","events_url":"https://api.github.com/users/sdavis2702/events{/privacy}","received_events_url":"https://api.github.com/users/sdavis2702/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/easydigitaldownloads/Easy-Digital-Downloads/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-15T17:11:57Z","updated_at":"2015-04-15T17:11:57Z","closed_at":null,"body":"This applies to quantity fields on all purchase buttons. You can manually enter 0 but EDD will not accept that. Instead, it will use the last acceptable quantity from that field. In most cases, that's 1.\r\n\r\nThis is most important at the checkout cart as at least one user has assumed changing a quantity to 0 would remove it from the cart and it doesn't. \r\n\r\nRelevant ticket: https://easydigitaldownloads.com/support/topic/number-field-zero-issue-checkout-cart/"}}