New York (CNN Business) Dick's Sporting Goods will stop selling guns and ammunition at 125 stores where firearm sales have struggled.

The company removed firearms and hunting accessories from 10 stores last fall as a test. The test went well and sales grew in those stores, Dick's said. So the company decided to pull guns, ammunition, and firearm accessories from an additional 125 stores where sales of the merchandise have underperformed.

Dick's DKS "This is around having productive space," CEO Edward Stack told analysts on Tuesday. Stack saidwill replace its firearms' sections in those stores with higher-margin sporting goods merchandise that can "drive growth."

The company's stock fell sharply this week after it reported sluggish earnings. Shares has fallen around 6% this year.

This is the latest move by the retailer to scale back its gun sales, even though overall sales have lagged. Stack also hinted that Dick's could remove guns from more of its stores in the future. The company operates more than 720 Dick's stores around the country.

Read More