Caramelize the sugar in a shallow saucepan, add the shallots, stir, add the remaining ingredients and cook for about 15 minutes. Fill into clean glasses while hot, close tightly and store in a cool and dark place.
Tip: You can sterilize the closed jars in a water bath at approx. 120 ° C for about 30 minutes.