Subscribe Today! Please read: Readers of local content on the Herald and News website – – will require a subscription beginning today. For the first few months, non-subscribers will still be able to view 10 articles for free. If you are not already a subscriber, now is a great time to join for as little as $10/month!

The Walgreens store at State and Randolph Streets in Chicago.

CHICAGO (TNS) — Changing consumer habits have emptied malls, sent department stores into bankruptcy and transformed grocery stores.

Now it’s the drugstore’s turn.

On Tuesday, Walgreens disclosed it will close 200 U.S. stores. On Wednesday, CVS Health said it will slow the pace at which it opens new locations.

For pharmacies, which also face pressures related to reimbursements for medication, getting customers to come in once a month for a prescription refill, or for an occasional gallon of milk or bottle of shampoo isn’t enough. Walgreens and CVS are both trying to give customers more reasons to visit their stores by offering more health services and better merchandise.

“One of the reasons why they’re closing stores right now is to better position themselves for the future,” said Brian Owens, a senior vice president of retail insight at consulting firm Kantar.

In the past, dispensing medications was the focus, and now drugstores are shifting to make the consumer the focus, he said. “The store has to work differently for them than it did in the past,” he said.

Walgreens will begin its 200 store closings this fall. It has not identified which locations will close.The news comes just months after Walgreens said it would aim to cut $1.5 billion in annual costs by 2022.

Meanwhile, CVS Health Executive Vice President Kevin Hourican said on an earnings call Wednesday that CVS plans to open 100 stores this year and 50 next year, down from about 300 new stores a year a few years ago. CVS announced in May that it had decided to close 46 underperforming stores.

CVS, which acquired health insurer Aetna in November, plans to turn 1,500 of its stores into so-called HealthHUBs, in which a significant portion of the store is dedicated to health services and products, such as nutritional counseling and equipment for sleep apnea.

When customers are coming to pharmacies for healthcare services rather than candy bars and greeting cards, CVS doesn’t have to rely as much on convenience and might not need as many stores, said Mickey Chadha, a Moody’s analyst who covers CVS.

Helping customers better manage chronic health issues and seek preventive care should also help the company control healthcare costs, he said.

Walgreens has partnered with LabCorp to collect samples in stores from consumers for lab testing. It also recently announced that it’s expanding its work with health insurer Humana to open additional senior-focused health centers inside Walgreens stores.