Congratulations, you have discovered the concept of shoplifting!
if a store does not want to hire capable staff to perform an essential function, they should not expect laypeople to perform that action for free (or at higher cost, as we've seen with grocery prices in the US as human cashiers are reduced) at the same level as a trained staff member.
we do not have to accept this decision to reduce staff and raise prices as a matter of course. plus, if you see somebody stealing food, no, you didn't.
Too bad the store owners introduced a way to give customers more control over how merchandise exits their store.