Walmart has beaten industry expectations with its Q2 results, reporting the strongest same store sales growth in a decade thanks to higher footfall in stores and stronger e-commerce sales.

Up 4.5 percent in the quarter, same store sales reached $128 billion, beating industry expectations of $126 billion. The strong growth levels are said to have eased analyst concerns regarding the company’s recent major investments in areas such as e-commerce.

Online sales grew 40 percent during the quarter, said to indicate the success of the company’s investment into a new website redesign and grocery delivery options.

Head of e-commerce business Marc Lore stated that more brands were interested in selling on the website thanks to the enhanced usability.

The retailer has raised its sales and earnings outlook for the full year thanks to the momentum, which includes impact from the acquisition of Indian e-commerce site Flipkart.

Speaking in a statement, CEO Doug McMillon said, “We’re pleased with how customers are responding to the way we’re leveraging stores and e-commerce to make shopping faster and more convenient.
“Customers tell us that they feel better about the current health of the U.S. economy as well as their personal finances. They’re more confident about their employment opportunities.”