Why in the heck are they still in San Francisco? They can’t be pulling that much of a profit by staying there.
Walgreens has tens of thousands of stores.
No business is in the business of losing product and losing profit, but to answer your question, in order to not to appear politically incorrect, they keep open stores in high loss locations and they don’t actively interdict theft and use all of their stores to subsidize it.
Honestly,
Why even bother?
It seems it would save a ton of money and aggrevation to just clear out the freezers and shut them down.
The optics of having pizza and ice cream under lock and key is NOT a good look for any store.