This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

McDonald’s reported higher-than-expected sales in the first quarter as store traffic grew despite higher prices.

Global same-store sales rose 12.6% compared to the January-March period last year, the Chicago burger giant said Tuesday. That’s well above the 8.7% increase that Wall Street had been forecasting, according to analysts polled by FactSet.

Good weather in January and easy comparisons to last year __ when the coronavirus depressed demand __ helped increase sales. There was also a steady recovery in China after COVID restrictions were lifted, McDonald’s said.

Marketing campaigns, like a McSpicy chicken sandwich promotion with a streetwear brand in China, and a Valentine’s Day meal promotion in the U.S. with rappers Offset and Cardi B, also boosted the chain’s performance.

CEO Chris Kempczinski said the company is starting to see resistance to price increases in many markets. Customers may not add fries to an order, for example, and delivery orders have slowed as customers rethink the added cost.

“It’s a reminder that we need to stay very disciplined on pricing,” Kempczinski said on a conference call with investors Tuesday. “The customer certainly is dealing with some of the stress and pressures on that.”

But McDonald’s also has to account for higher prices for food, paper and workers. Chief Financial Officer Ian Borden said inflation is on a downward trend in the U.S. but remains elevated. In Europe, the company expects double-digit percentage inflation to continue for the rest of this year.

“Europe is working through the eye of the storm,” he said.

McDonald’s is hoping improvements to its menu will continue to drive store traffic this year. The company announced this month that U.S. restaurants will switch to softer buns and meltier cheese and change their grill settings to make their burgers juicier. The changes have already rolled out in 15 other markets, including Australia and Canada, where they have improved customer taste scores, the company said.

Revenue rose 4% to nearly $5.9 billion in the first quarter, which also topped analyst projections of $5.6 billion.

Despite the super-sized results, McDonald’s laid off several hundred corporate workers earlier this month in an effort to speed up innovation and decision-making. McDonald’s booked a restructuring charge of $180 million __ or 18 cents per share __ during the first quarter to account for severance payments and the closure of some regional offices.

Without that one-time charge, McDonald’s earned $2.63 per share, which is 30 cents better than expected.

McDonald’s shares fell less than 1% Tuesday.