Several Walmarts I’ve been in have asked to see my receipt, the answer is always the same: “No Thank You”, and if they persist I just ignore them.
This is actually different than how stores like Sam's Club or Costco work - these stores can force you to show the receipt because a condition of membership is that you must show the receipt. But in a store "generally accessible to the public" e.g. a non membership style store such as Sam's Club or Costco in the USA store employees cannot detain you or otherwise force you to show a receipt for something that you paid for - as grandparent says it's your property at that point.
I typically show the receipt at Walmart if its not going to be an inconvenience for me. But the other day I had bought a heavy car battery and a jump starter kit and my hands were full and I wasn't about to put all of that down to show off a receipt. So I politely declined and kept walking and that was it. It's kind of like cops and searching your vehicle - they can always ask and you can always decline. They have the technology to figure out if you're actually stealing or not, so if they know you are, and they know, then they'll simply just ban you from the store. If not, then they aren't going to arbitrarily ban you.
But surely there is a legal basis to prevent you from leaving the store with groceries before you have paid for them. When you walk through the normal checkout and they ask you to put everything on the conveyor so that they can scan it, are you allowed to say "no thank you" and just walk out? If that is not OK, I fail to see the difference.
Receipt checking, by definition, always happens after the transaction has completed and the payer has taken possession of the groceries, hence the receipt. So receipt checking is always a practice to verify that your already lawfully purchased groceries match up with what you are removing from the store. This is a practice, while rooted in a perspective that benefits the store, that you have no obligation whatsoever to comply with.
The store, as mentioned above, has no obligation to let you back into the store (they can ban you), but they also have no right to detain you and force you to prove that you own your belongings as you are leaving either. And a store is not going to ban someone unless they are completely sure they have stolen something. So in practice there is really no issue with telling receipt checkers to pound sand for trying to verify my lawfully purchased groceries. I usually don't, because it feels standoffish for no reason sometimes, and you risk encountering someone that doesn't fully understand the law correctly. But if I have a good reason, as mentioned above, I will definitely tell them to pound sand.
I realize now rereading the thread how these two scenarios became conflated, because OP responded to the "before purchase" scenario that you provided with an "after purchase" scenario. So we are really talking about two different scenarios here.
That isn't true. Just being rude to staff can get you banned from many stores. If you don't like their policy of checking receipts, they can ban you, although they can't really enforce anything without a trespassing order, at best they can just refuse service.
Also AFAIK in the States it’s quite easy to get a “trespass order”. My understanding is that in most jurisdictions you simply tell the person they are in trespass and they are required to leave the premises or be subject to detention by authorities if they don’t. Now your typical employee may not be able to just hand that kind of order out due to some internal policy but in theory any agent of the business would be able to do it. There’s no real additional paperwork or legal process that needs to happen outside of a verbal exchange
There isn't really. The store can call the police, and when they show up, they can stop you from leaving. But...ya, that doesn't work out very well.
I imagine in Europe you would just become a social pariah and might get a knock at your door by police (at least in Switzerland...), while in the states...they can't do much, there is no social pressure.
I was also once in the position of acting as witness in the loss prevention office when one of my classmates was caught (no chase) stealing fishing gear. Awkward.