Prices of some commodities are already rising, while stockpiles of others could dwindle as the war drags on.