I dunno, having worked in retail I think it is just not that hard to steal in general (I wasn’t going to get killed over some bananas). Most people are honest most of the time.
The law probably doesn’t apply to fraud, but then the cashier only notices the really obvious cases.