One of the best ways to save money at the supermarket is to plan ahead.