Workers at Cadbury's factory in Birmingham have secured a new pay deal which trade unionists say will counter inflation.
Staff in Bournville and two other Cadbury sites in North Wales and Herefordshire have agreed the deal with management.
About 1,300 workers will benefit from the two-year agreement which trade union Unite said also included a big uplift in maternity pay.
The backdated agreement for the 2017/2018 financial year is 3.2 per cent, based on February's RPI figure, and for 2018/2019 it will be based on the RPI in February 2018.
The current RPI rate is running at 3.9 per cent.
Maternity pay of 90 per cent is payable for the first six weeks by law.
After that, under this deal, maternity pay will now be 65 per cent of earnings for the next seven-and-a-half months. up from the current 12 weeks.
This will be topped up by the Government's statutory maternity pay, Unite says.
Joe Clarke, Unite's national lead officer for food, drink and agriculture, said: "We are very pleased with this deal that our members have voted overwhelmingly in favour of.
"It is a package designed to counter rising inflation levels and protect our members' standard of living during these challenging economic times.
"Unite has guaranteed a cost-of-living increase for Cadbury UK workers nationally with this two-year deal.
"We are delighted the Cadbury business, with its strong ethical traditions, can still act in a positive fashion in relation to its workforce and set the benchmark within the food, drink and agriculture industries for other employers to follow.
"The recognition of how important decent maternity pay arrangements are is warmly welcomed by all our members and is an example which others in this sector should emulate."
Cadbury's owner Mondelēz International said in a statement: "We are delighted to have reached a deal with the teams at our Bournville, Chirk and Marlbrook sites.
"While ensuring the business remains competitive, the deal rewards our respected colleagues across our three chocolate manufacturing sites in the UK.
"Our factories, and the people who work there, are absolutely vital to our business in the UK, which is why we’ve invested £200 million in the UK, including £75 million to secure the future of Bournville."