Peel and thinly slice the onion.
Peel and cut the garlic clove in half.
Add the sugar, salt, vinegar and flavourings In the glass container that you will be using to store the onions.
Stir to dissolve.
Place the onions in a sieve and place the sieve in the sink.
Slowly pour 3 cups of boiling water over the onions and let them drain.
Add the onions to the jar and stir gently to evenly distribute the flavorings.
The onions will be ready in about 30 minutes, but are better after a few hours.
Store in the refrigerator.
They will keep for several weeks, but are best in the first week.