{"action":"created","issue":{"url":"https://api.github.com/repos/cubecart/v6/issues/953","labels_url":"https://api.github.com/repos/cubecart/v6/issues/953/labels{/name}","comments_url":"https://api.github.com/repos/cubecart/v6/issues/953/comments","events_url":"https://api.github.com/repos/cubecart/v6/issues/953/events","html_url":"https://github.com/cubecart/v6/issues/953","id":125217905,"number":953,"title":"Suggestion: Remove 'delete' capability from stock warnings","user":{"login":"briansandall","id":14335170,"avatar_url":"https://avatars.githubusercontent.com/u/14335170?v=3","gravatar_id":"","url":"https://api.github.com/users/briansandall","html_url":"https://github.com/briansandall","followers_url":"https://api.github.com/users/briansandall/followers","following_url":"https://api.github.com/users/briansandall/following{/other_user}","gists_url":"https://api.github.com/users/briansandall/gists{/gist_id}","starred_url":"https://api.github.com/users/briansandall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briansandall/subscriptions","organizations_url":"https://api.github.com/users/briansandall/orgs","repos_url":"https://api.github.com/users/briansandall/repos","events_url":"https://api.github.com/users/briansandall/events{/privacy}","received_events_url":"https://api.github.com/users/briansandall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cubecart/v6/labels/feature%20request","name":"feature request","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T17:00:11Z","updated_at":"2016-01-06T17:55:32Z","closed_at":null,"body":"I had my first encounter with stock warnings today, luckily in my test store, as I clicked the red trash can next to the warning assuming it would only delete the warning. A pop-up asked if I was sure I \"wanted to delete?\" and I clicked 'yes', since I wanted to get rid of the stock level warning. Oops.\r\n\r\nAgain, luckily this was a test store, as it actually deleted the product, even though the product was on several pending orders.\r\n\r\nAnyway, here are a few ideas to make this more user-friendly:\r\n\r\n1. Don't allow deleting products from the stock warnings page, i.e. remove the trash can icon / link entirely.\r\n\r\n2. If for whatever reason people want to be able to delete products no longer in stock from that page, make it a 'soft' delete, i.e. set the product status to '0' instead of actually deleting it. The product won't show up in the store anymore, but is still easily recoverable for the admin and available for any pending orders. If they REALLY want to delete it, they can do so from the 'Products' page.\r\n\r\n3. If neither of the above fits the design goal, improve the pop-up confirmation dialogue to explain what, exactly, we are confirming the deletion of. Given the context, I really did think I was simply removing the stock warning message: \"Yeah, I saw it, now go away.\" In hindsight, of course, it makes perfect sense, but a heads up for new users would be very helpful."},"comment":{"url":"https://api.github.com/repos/cubecart/v6/issues/comments/169403468","html_url":"https://github.com/cubecart/v6/issues/953#issuecomment-169403468","issue_url":"https://api.github.com/repos/cubecart/v6/issues/953","id":169403468,"user":{"login":"havenswift-hosting","id":6114431,"avatar_url":"https://avatars.githubusercontent.com/u/6114431?v=3","gravatar_id":"","url":"https://api.github.com/users/havenswift-hosting","html_url":"https://github.com/havenswift-hosting","followers_url":"https://api.github.com/users/havenswift-hosting/followers","following_url":"https://api.github.com/users/havenswift-hosting/following{/other_user}","gists_url":"https://api.github.com/users/havenswift-hosting/gists{/gist_id}","starred_url":"https://api.github.com/users/havenswift-hosting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/havenswift-hosting/subscriptions","organizations_url":"https://api.github.com/users/havenswift-hosting/orgs","repos_url":"https://api.github.com/users/havenswift-hosting/repos","events_url":"https://api.github.com/users/havenswift-hosting/events{/privacy}","received_events_url":"https://api.github.com/users/havenswift-hosting/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T17:55:32Z","updated_at":"2016-01-06T17:55:32Z","body":"I agree that it could / should be explain a bit better - maybe the verification message should be clear that this is deleting the stock item completely and a user should confirm this each time (your option 3)\r\n\r\nHowever, removing the ability (option 1) or even setting it to status 0 (your option 2) will not suit a lot of people and goes back on the reason it was added in the first place not so long ago.\r\n\r\nMany users have many thousands of products and products can often be discontinued or even be one-offs and so this ability was added as the only easy way to remove these products that are no longer in stock and for these users will never be in stock again"}}