We don't really buy food online. Especially fruits and veggies, I like to see how they look to choose ripe, less ripe and we use our own packaging. But depends were we live not everywhere there is a local independent store and if there is (for example in Lithuania) it might be something more like farmers market/market or in the cities bigger stores, in all cases the price is much higher.
Right now we live in great place and we go to market and have great choice local grown goods. By saying we go I mean we walk.🙂
We try to support local production in general, but still our criteria is not just like 'buy this because it is local'. There are questions if it is at least organic, if it is reasonable price, if they have the right items, ect. If we need to drive to the certain shop we might consider ordering online, but just with such products like oil, flour, something like that. In that case choosing the 'slow delivery' by national post as they go all around anyway.
I know people who lives in the cities and all the time get food delivered, some markets now provide more 'eco friendly' services like paper bags, green transportation.
As well some local farms don't have a physical store and their products are just great so we buy online instead of driving long distance.