While they could have snugged them in, they do need the ability to park them somewhere while shopping. One option is in the road, like the white van. Or put up some bike racks to guide parking. This is poor city planning.
The social way is to at least put them both right next to a wall, not side by side in the middle of the sidewalk