You have to plan a little in advance, but I have a little Burley utility trailer that expands my ability to make trips to the hardware store. For the supermarket, the key (aside from adequately sized panniers) is to make many small trips, buying food for tonight & tomorrow instead of for the next two weeks.