Bye, Drugstore.com. What price, Beauty.com? Walgreens pays for dot-com lesson

People complain about the high price of education, but university degrees are a bargain compared with what Walgreens Boots Alliance invested on a five-year tutorial in e-commerce.

Graduation comes at the end of September, when Walgreens plans to shut down Drugstore.com and Beauty.com and record a $115 million pretax charge.

The Deerfield-based retail pharmacy giant acquired the sites as part of a $429 million deal just five years ago but now seeks “greater focus on the development of Walgreens.com,” presumably applying what it has learned along the way.

“These digital properties helped us create new digital capabilities with a stronger digital commerce approach,” Walgreens spokesman Michael Polzin said Monday by email.