Walmart Inc. (NASDAQ:WMT) made our Mad Money recap, as Jim Cramer shared his take on the stock and highlighted resilient consumer spending despite the Iran conflict. Cramer mentioned the stock during the episode and commented:

There are bargains to be had all over retail, and they just don’t look like it. Walmart, okay, its stock’s up 8% year to date. Costco, up 12% year to date. Both have high price-to-earnings multiples. I get that, but they’d do well if you think that we’re headed toward a slowdown because of oil prices.

Walmart Inc. (NASDAQ:WMT) operates retail stores, warehouse clubs, and online platforms that sell groceries, everyday essentials, home goods, apparel, electronics, and more. Cramer discussed the stock during the January 8 episode and said:

Or how about Costco versus Walmart? Well, this is really interesting. See, last year was Walmart’s year. The stock was up over 23% as the market recognized that this was the store of choice for cash-strapped consumers. Walmart even began to pull more customers from the upper middle class because CEO and now retiring sadly, Doug McMillon made the stores more appealing while keeping prices low. Everyone loves low prices. However, Walmart’s price-to-earnings ratio, how we measure whether the stock’s cheap or expensive, it skyrocketed to the 40s. That was incredible.

While we acknowledge the potential of WMT as an investment, we believe certain AI stocks offer greater upside potential and carry less downside risk. If you're looking for an extremely undervalued AI stock that also stands to benefit significantly from Trump-era tariffs and the onshoring trend, see our free report on the best short-term AI stock.

READ NEXT: 33 Stocks That Should Double in 3 Years and 15 Stocks That Will Make You Rich in 10 Years 

Disclosure: None. Follow Insider Monkey on Google News.