Amazon said it was in the process of taking down Confederate flag listings. Later on Tuesday Google also said it planned to remove items donning the Confederate flag from Google Shopping, its online marketplace, citing a violation of the company's anti-hate policies.
Wal-Mart, Sears and eBay announced their decisions amidst calls from South Carolina Gov. Nikki Haley to remove the flag from the statehouse grounds. After doing so, sales of Confederate flags spiked on Amazon to claim first, second, and third place on the site's list of biggest sales gainers in the previous 24 hours. Prices ranged from under $2 to nearly $16 per flag.
David Simpson, who works at Ruffin Flag Company, the Georgia-based manufacturer that saw sales of its Confederate flag surge 2,305 percent to top Amazon's patio, lawn and garden Movers & Shakers list, declined to comment on Wal-Mart's move. As for his sales, Simpson would only say, "Of course sales go up when people are talking about it. That much is true with any flag, the same happened with the U.S. flag in 2001."
Read MoreRetail blunders: 10 brands that crossed the line
Yet even as demand for Confederate battle flags spike, fellow flag manufacturer Valley Forge Flag announced plans to stop making Confederate battle flags entirely. The 133-year-old Pennsylvania-based company which sells millions of flags each year, including those used on the beaches of Normandy in World War II, said it hoped the move would help "foster racial unity and tolerance in our country."
A Public Policy Polling survey taken in the shooting aftermath showed Americans opposed flying the Confederate flag over government buildings by a 3-to-1 margin. More broadly, a 2011 Pew Research poll revealed only 9 percent of Americans reacted favorably to the Confederate flag.
For retailers that means catching up to changing opinions.
For Bentonville, Arkansas-based Wal-Mart, which previously sold shirts and belt buckles donning Confederate symbols, the decision was clear.
"We never want to offend anyone with the products that we offer," the company said. "We have a process in place to help lead us to the right decisions when it comes to the merchandise we sell. Still, at times, items make their way into our assortment improperly—this is one of those instances."
It's a wise move for the retailer that pays close attention to its customers, according to Marianne Bickle, department chair of retailing at the University of South Carolina.
Read MoreT-shirts so realistic they need a warning label
"Wal-Mart is being extremely wise and extremely progressive by responding to their target audience," she said. "And anyone who didn't shop at Walmart for whatever reason they are going to remember the goodwill. They are taking down the flag."