As Halloween approaches, the festive season brings both opportunities and challenges for confectionery makers and retailers.