I have to say that while it's regrettable that prosecutors are backing away from prosecuting shoplifting, I can see why it happens, given the lack of tax funding that so many are dealing with, the difficulty of finding decent staff, the case backlog, and the increasing sophistication of criminal enterprises. (Programs that pay back law school loans for spending 3 years in local service as a public defender or prosecutor would probably help quite a bit.)
Here's the thing: most stores are trying to address this situation by putting up barriers of one sort or another. They work to some extent, but the kind of shoplifting that closes stores is organized crime, and it needs to be investigated as such. Prosecuting the thieves won't stop it, because petty thugs and junkies are a dime a dozen; these rings need to be taken down at the root, by detectives, not off-duty officers stationed in stores. It would also help *immensely* if eBay and similar platforms refused to allow selling of household staples. At least that would greatly reduce the black market for shaving supplies, laundry detergents, diapers and baby formula.
If this keeps up, folks in economically disadvantaged areas will be sliding right back into 1915, to the era where all stores kept everything behind the counter, where it was fetched by clerks who rang it up before handing it over. The lines will be insane for folks who don't have credit cards and cannot order ahead for pickup.