New York (CNN Business) Walmart is taking down displays of violent video games in its stores in the wake of recent shootings. But the company plans to still sell the controversial video games -- and guns.

The change in policy does not apply to the sale or display of actual firearms . As the nation's largest retailer, Walmart is also one of the largest sellers of guns and ammunition in the world.

Walmart WMT has previously promoted violent video games in its stores with displays that demonstrate the games. Some shoppers could conceivably mistake the soundtrack of those games for actual gunshots. Walmart and its customers are particularly sensitive to gun shot sounds following two recent fatal shootings at Walmarts in Texas and Mississippi.

"We've taken this action out of respect for the incidents of the past week, and this action does not reflect a long-term change in our video game assortment," said Walmart spokesperson Tara House.

The company will also stop playing violent movies and shows on televisions in its electronics section. It will similarly stop playing hunting videos in its sporting goods section. A memo to store personnel directing the change in policy was first publicly disclosed on social media Thursday.

Read More