Plant them directly into the ground or in a pot, give it some time and voila! You have fresh (and free!) onions at your disposal.
This will work for a variety of different onions and the beauty of this tip is that you use the onions that you have already paid for, you replant the cut root ends to grow more.
A tub or pot can be used to grow onions, carrots and radishes year around. When there is threat of freeze, just take them inside. Garden vegetables need lots of sun, damp soil with good drainage.