Yeah, stories like that are what stop me from asking people about their day, health, etc...
I just say "Right... here's your receipt, here's your bag, can I help the next person please?"
Of course, that doesn't stop the BOSS from coming over to chat with the customer... while I'M swamped with customers, trying to get work done, HE'S in the middle of a huge story about his vacation in Mexico...