Food comes from three places: the in-game shops, player-run user shops, and the auction house.
Regular shops are the simplest and cheapest for staples. User shops often carry rarer items at competitive prices, and auctions are where you go when something specific is missing from both.
Check prices across all three before buying in bulk — the spread can be surprisingly wide.