Selling sought-after eggs, flour, and toilet paper directly to consumers has provided an ‘emergency transfusion’ for restaurants.