I’ve always wondered how they did that without ‘scanners’. Did food have price tags on it, back then? I can’t recall.
I do know that the checkout folks at our local have all the produce down to memory, and are almost always correct. Now and then, someone doesn’t know what an artichoke or parsnip is, and has to look up a code.