Having seen the way people 'queue' when waiting outside an eatery implementing social distancing guidelines - this only solves part of the problem.
Edit: Perhaps integrating it with some sort of QR Code based ticketing system for entry would alleviate the issues of people queueing (or huddling) outside the store?