As multiple retailers struggle to keep the doors open at their brick-and-mortar stores as foot traffic continues to dwindle, there may not be a reprieve for several years, according to analysts.

According to an analyst note from investment bank B. Riley FBR, the retail hemorrhaging may continue to last for another 18 to 24 months, Retail Dive reported. Scott Carpenter, who leads the retail solutions unit at B. Riley’s liquidation arm, Great American, told the news outlet that as much as 30 percent of the current retail space “would cease to exist in its current form, as consumer buying trends shift increasingly online.”

To date, as more than 7,000 store locations have shuttered – more than all of last year, consulting firm BDO said. Despite the record number of store closures that have already occurred in 2019, the end doesn’t seem to be near.

Lease costs are going up for retailers and debts are maturing, making many retailers struggle to keep a foothold as consumers shift to online purchases. The move to forego stores in lieu of online shopping may leave some retailers scrambling to evolve their e-commerce sites.

B. Riley analysts, led by Susan Anderson, told Retail Dive that “well-developed e-commerce channel can help mitigate store base disruption." Retailers that don’t heed Anderson’s advice may find themselves forced to close more stores or file for bankruptcy, the news outlet said.

Shopko Store closing
Shopko closed all of its 360 stores as part of its Chapter 11 bankruptcy filing, after previously announcing it would only close 38 locations. Signs advertise the closing of a Sears store on May 3, 2018 in Chicago, Illinois. The store, which opened in 1938, is the city's last remaining Sears store. Sears opened its first retail store in Chicago in 1925. Getty Images/Scott Olson