According to a NintendoLife article, Nintendo has confirmed that 3DS/2DS production is no longer after about 9 years being on the market.

Even though the 3D effect eventually got sidelined, it was a pretty neat trick without needing glasses. The New 3DS line made that feature a whole lot better with the eye tracking. It had a whole lot of social features built in that I have seen people use but when I got on board, the system was pretty much replaced by phones, so I never got a chance to use that stuff.