Problem with online is some shop bod will just grab whatever is closest to hand and you end up with products close to the use by date or just not of the quality you’d choose yourself. That’s my experience of it, anyway.
Interestingly thats what lead to the success of supermarkets in the first place – it used to be the case that shop keepers would serve you – if you wanted half a dozen apples the greengrocer would choose the apples he gave you – you’d get some of the best and some of the not so good. It meant that he could control his stock, throw less food away and everybody got as fair a deal as possible. Shoppers hated that and when supermarkets first appeared it wasn’t price or choice or location that was the key to their success but shoppers being able to pick and choose what went in their basket.
Of course thats why supermarkets now have to throw so much food away – they can’t sell the last chicken/apple/bag of salad on the shelf because nobody wants to buy the food that everyone else has rejected, so they have to overstock to allow buyers to be picky.