I used to put literally everything through as onions when self checkout became a thing. Fruit? Onions. Meat? Onions. 15 litres of olive oil? Onions.
I was broke and the supermarkets here have a duopoly where they game the prices with each other so I felt morally neutral about stealing from them. The staff just watched me do it, they didn't give a shit. They were broke too. Staff discount is only 5%. The rewards program is the lowest in the world with 0.5% return rate.
Now our (Australian) supermarket has a contract with Palantir and the roof is literally a forest of cameras dangling from the ceiling and cameras in the screens looking up at your face, and cameras in the scanner/scale that will stop the checkout and say "that looks like this item!" And prefills the selection for you. Always with the just expensive produce of that colour of course, so if you're not paying attention you pay extra. If you want to put the correct item in you have to call a staff member over so they can scan their ID and override the machine. They also have automatic gates on the exits that check your face and shut if they think you haven't paid.
They've paid more for all of this than they were losing to theft, and prices continue to rise. They've just implemented the e ink barcodes and claim is to help the employees out, meanwhile the prices no longer match the online store when you're shopping in store so there's zero chance that's true.
I didn't mean for that to become a huge rant after sharing my onion theft anecdote, but here we are.