I've been to quite a few supermarkets where they have like a plank that separates the new shopping from the previous shoppers. Maybe advanced plank technology will spread and deal with this issue.
Honestly I think we’ve all been there at some point - just switching off for a few seconds when we’re stressed or distracted by other things in life. If not at the checkout then somewhere else.
But yeah when you’re the other person in this scenario it’s irritating as hell :-D