Kroger Co. raised its sales and earnings forecasts as the largest U.S. traditional supermarket chain benefited from private-label products and increased customer visits, though rising food costs crimped profit.

Identical supermarket sales, excluding fuel, rose 5% in the quarter ending Nov. 5 compared with the same period last year, Kroger said in a Dec. 1 statement. The Cincinnati-based company said it expects sales to increase 4.5% to 5% for the full fiscal year, compared to a previous outlook for 4% to  5% growth.

Kroger’s results illustrate improvement among the large grocery chains that struggled to emerge from the 2008-09 recession and faced stiff price competition from discounters such as Wal-Mart Stores for budget-strapped consumers.

In Kroger’s previous quarter, the volume of products sold was comparable to year-ago levels, but dollar sales grew because of higher prices for some of the products on its shelves, analysts said. Additionally, accelerating food inflation pushed many customers toward cheaper private-label items, a strong area for Kroger.

Reducing prices on some fresh produce items last year helped increase Kroger’s sales, company executives said previously.

“Clearly, customers have responded positively to Kroger’s pricing actions,” Janney Capital Markets analyst Jonathan Feeney said in a Dec. 1 report.

He expressed optimism on Kroger’s earnings outlook, “even in the context of a really tough marketplace with inflation and a poor economy.”

“Kroger’s best-in-class private-label program is also having a clear impact,” Feeney added.

The company’s net income during the quarter still fell 3.1%  as costs rose. Inflation and the slow economy “had a more negative effect on the overall operating environment than we had originally expected,” David B. Dillon, Kroger’s chief executive, said during a conference call after the release of results.

But the company “successfully navigated these influences by following our business strategy and making tactical adjustments as needed over the course of the year,” Dillon said.

Kroger’s estimated product cost inflation, excluding fuel, was about 6%  during the quarter, which the grocer believes “accurately reflects what the consumer is, in fact, experiencing,” company executives said during the call.

Food at home prices, which reflect what consumers pay at the supermarket, are expected to increase 4%  to 5% this year after rising just 0.3%  in 2010, according to a U.S. Department of Agriculture forecast.

Kroger posted net income of $195.9 million for the three months ending Nov. 5, the company’s fiscal 2012 third quarter, down from $202.2 million during the same period a year earlier. Sales rose 10% to $20.6 billion.

Per-share profit, at 33 cents, surpassed the average analyst estimate by about 1 cent, according to Thomson Reuters

The company raised its full-year per-share forecast for 2012 to $1.95 to $2, up from $1.85 to $1.95 previously.

Kroger’s performance still lags that of smaller specialty grocers, such as Whole Foods Market Inc., which draw more affluent customers. Whole Foods’ comparable-store sales rose 8.7%  during the Austin, Texas-based company’s most recent quarter.

Identical or comparable-store sales are a closely-followed gauge of retailer performance and typically reflect locations open at least one year.

Kroger operates 2,439 stores nationwide under about two dozen banners, including City Market, Dillons, Food 4 Less, Fred Meyer and King Soopers.