Walgreens Boots Alliance (NASDAQ: WBA) has partnered with FedEx (NYSE: FDX) to make it easier for people to get their packages picked up and delivered.

The two companies have signed a long-term agreement where thousands of the pharmacy chain's stores will become pickup and drop-off sites for the shipping service. Implementation of the agreement across the United States should begin within the next several months.

"Walgreens, with its strong focus on customer care, is the perfect retailer to help us continue to meet the growing demand for convenient, secure dropoff and pickup options, and our research has shown that customers rank pharmacies as a preferred location for accessing their e-commerce shipments," said FedEx EVP Raj Subramaniam in a press release.

It's all about e-commerce

The important part of this deal is that it's not just about getting packages delivered, but also being able to have them delivered to a Walgreens location for pickup. That's an important option to offer to consumers who don't feel comfortable having packages left on their doorsteps.

"The addition of Walgreens locations to the existing network of FedEx retail offerings will substantially increase customer access to staffed pickup and dropoff location," said Subramaniam.

This is good for both companies

This agreement not only makes FedEx more useful as a delivery service for online merchants, it also should increase foot traffic to Walgreens stores. That should lead to an increase in sales above and beyond any fees the company receives for processing packages.

It's hard to see a downside to this deal for either company or their customers. This is simply making a known delivery service more convenient to use while also giving consumers another reason to stop into a Walgreens. It might even lead to some people ordering items online they otherwise wouldn't have, because of their concerns about having their delivery stolen. That's a victory for everyone involved, and it should lead to happier customers of both companies.

10 stocks we like better than Walgreens Boots Alliance
When investing geniuses David and Tom Gardner have a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.*

David and Tom just revealed what they believe are the 10 best stocks for investors to buy right now... and Walgreens Boots Alliance wasn't one of them! That's right -- they think these 10 stocks are even better buys.

Click here to learn about these picks!

*Stock Advisor returns as of January 4, 2017

Daniel Kline has no position in any stocks mentioned.

Want to learn how to invest?

Get a free 10 week email series that will teach you how to start investing.

Delivered twice a week, straight to your inbox.