Taking the unit back to the retailer was the mistake you made. If you needed a repair, you should have contacted Nintendo and got the unit set up for a repair at an authorized Nintendo repair center. Then they would have records of your issue and it would be sent to the correct place for repair and you would most likely get your original unit back and retain all your goods purchased.
Sorry, but not really feeling any empathy.