Food growers, like gasoline distributors, factor in their own anticipated cost increases. To continue to sell existing stock at the old price, when they are already being hammered by higher production costs, would be suicidally stupid, leading to bancruptcy.
Note I said food growers, not farmers, because food production is now an industrial process. “Farmer Brown” is long gone.
Farmer Brown still is alive and well in the country. Many Farm Stalls along the roads during the summer to buy fresh produce fruit and honey in my area.
The same with Eggs.People who have chickens sell their fresh eggs.
It is the people in the city and towns that will have issues.