The first problem would be a kind of rendez-vous game [0]. Given the available information, seller and buyers have to choose their location such that they maximize the likelihood of finding their couterpart. Whereas people might think "Oh! Don't mind if I do!" if they see an ice cream truck, that's much less likely with groceries. Generally, people walk into a supermarket with a general idea of what they're going to buy, if not with an outright list. If the seller has higher costs of moving around than his customers, he'll just pick a place as a fixed permanent position at or near his warehouse (a.k.a a "store") and make it known so that customers might come to him. An ice cream truck, on the other hand, will just move to where the crowds are.
The second problem is that grocers seem to compete on variety and price. While you could sell a large variety of products from a truck, you'd be able to get a higher return on your dollar if you increased scale (suppliers might give you discounts, for instance). So a fixed shop could offer as much variety as truck, but at a lower price.