Hershey is to up the wholesale price on some of its lined by an average of almost 10% to offset part of the "significant" increase in input costs.