I’ve noticed the smaller the store/chain the more likely they are to try to save the food (and if you lose power because of a freezing storm that can be relatively easy). The larger Walmarts just go to generator or immediately give up.
They don't have backup generators? Ever grocery store bigger than a radioshack ive ever been to has backup generators specifically because the potential for losses is so damn high, not to mention all the extra work that has to be paid out to move all those goods twice only to still be risking spoilage. Even the little off-brand grocer serving a town 900 nearby has backup generators, and they are right on a main power supply line so basically have zero outages because it is top priority.
Your experience is unusual. Generators are expensive and require maintenance, and many stores (even larger chains) don’t have them. And, as anyone who’s worked with or in a data enter knows, sometimes they don’t work when needed.
Many grocery stores rely on short notice rental of refrigerated semi trailers rather than the ongoing maintenance / testing of generators.
Very few places actually have generators with the capacity to run everything. The specific store had just enough power to run limited lighting and the registers.
People always think generators are an easy solution, but that tends to be the response from people that have not actually looked into what generator solutions look like
I could see a "smart" corporate operation that detects the outages and starts to enact plans to tentatively start moving equipment around depending on predicted outage duration. Then again, I could also see where that would be deemed too expensive to do, and this is just a tech fantasy.