Fashion chain Primark has set out plans to invest £140m in its UK store estate over the next two years, betting on its rock-bottom prices luring customers as the country grapples with a cost-of-living crisis.

The budget group, part of Associated British Foods, said the investment will include the opening of at least four new stores and will create at least 850 jobs.

The plan contrasts with other retailers such as Marks & Spencer, who have shut shops due to weak footfall and rising costs.

A shift to online shopping, accelerated by the pandemic, has also hampered store revenues.

"The UK is our biggest market, and as we continue to grow and expand our business internationally, we remain as committed as ever to investing in our stores," Primark chief executive Paul Marchant said.

Even before the pandemic pushed more shoppers online, many high street retailers were struggling due to stiff competition from online-only brands such as Boohoo and ASOS.

This resulted in the collapse of household names like Debenhams.

That saw Primark, which has shunned the extra cost of home delivery, launch a click and collect online service earlier this month.

Primark, which trades as Penneys here, has also committed to investing €250m in Ireland over the next 10 years.

Primark has said it will hold prices "to stand by our customers," even as it cautioned that input cost inflation will hit its results in the new financial year.

Exacerbating the pain from rising costs, footfall at UK retail destinations still remains 15% lower on average this year compared with pre-pandemic levels, according to Springboard data.

"Busy towns and cities benefit us all - we want to see thriving high streets and shopping centres," Marchant said.

Penneys has 37 stores in the Republic of Ireland, while Primark has over 400 stores in total across Europe and North America.