Carrying liquids is an annoying. You always want them to stay upright so they don't spill.
So:
If you have plywood shelves, make slots every 4-6" for vertical dividers that can be moved whenever the number of cans, bottles, and jars you have changes.