As cashiers in store touch items to ring up, such as drinking glasses I just bought, I worry of germs. Is washing with dish soap enough before using?

Yes. If it wasn't you would expect to hear that loads of people who had gone to that particular restaurant had gotten sick and pretty soon the restaurant would go out of business.