There are a couple of small supermarkets on Magnetic Island including a Foodworks at Nelly Bay.
Things are more expensive on Magnetic Island so you’ll save money if you stock up on a few things at the Coles or Woolworths in Townsville before getting the ferry to the island.