Following its second straight quarter of strong results, Wal-Mart raised its guidance for the year. The retailer now expects to earn between $4.15 and $4.35 a share, compared to its prior estimate of $4 to $4.30 a share.
That includes an estimated 5 cent per share hit from the planned $3.3 billion acquisition of Jet.com, which assumes the transaction is closed near the beginning of the fourth quarter. The impact would be felt primarily in the fourth quarter, the company said. It excludes the non-cash gain of 14 cents, net of tax, from the sale of Yihaodian to JD.com.
During the third quarter, Wal-Mart expects to earn between 90 cents and $1 a share, with comparable sales in its U.S. division rising between 1 percent and 1.5 percent.
Under the leadership of McMillon, Wal-Mart is taking aggressive steps to change its reputation as a retailer that's focused only on price. The most recent example of this came last week, when Wal-Mart confirmed that it would acquire online-only retailer Jet.com.
In addition to the deal, which was designed to jump-start Wal-Mart's slowing online sales, the retailer recently opened up registration for its ShippingPass service. That subscription service, meant to compete with Amazon Prime, offers free two-day shipping for $49 a year.
Wal-Mart's online sales picked up from the first quarter, increasing 11.8 percent, but the rate of growth was slower than last year's 16 percent lift for the comparable period. Management attributed the acceleration to growth in its third-party marketplace, which added 7 million new items this year for a total of 15 million. The company also credited its online grocery service, which allows shoppers to place their orders on the web and pick them up from the store. Wal-Mart added online grocery to 30 new markets in the second quarter, for a total of roughly 60 markets and 400 locations.
The company is also investing in its stores, including its highly publicized wage increase and training program for employees. These investments have led to more merchandise being in stock, even as overall inventory levels have declined. They've also helped Wal-Mart keep its stores cleaner. The retailer has previously said it expects these investments to cut its profitability by 30 cents a share for the full year.
This summer, the company completed the rollout of Walmart Pay, a feature that allows shoppers to pay at the register using their smartphone. Wal-Mart has also promised to start rolling out lower prices across its stores.
Its growing footprint of smaller stores is likewise benefiting the chain. Comparable sales at these Neighborhood Market stores grew 6.5 percent during the second quarter. And its investments into the grocery business helped Wal-Mart grocery business log positive comparable sales and traffic, despite deflationary headwinds.
General merchandise, including apparel, and health and wellness were two of the company's top performing categories.
"They're doing a pretty solid job across the board," Joe Feldman, an analyst at Telsey Advisory Group, told CNBC.
Wal-Mart's customers have benefited from lower fuel prices and job and wage gains. However, along with its wage investments, the company is facing headwinds from a stronger U.S. dollar and food deflation.
Looking abroad, nine of Wal-Mart's 11 markets grew their comparable sales. The U.K., where Wal-Mart is competing against the likes of Aldi and other low-price grocers, its same-store sales excluding fuel fell 7.5 percent. The company's comparable sales dipped a more modest 0.5 percent in China.
And at Sam's Club, comparable sales rose 0.6 percent excluding fuel.