It looks a lot like some type of fin rot that was left untreated properly, but as long as the other fish are alright, you should be happy

And for future reference, most people at pet shops have no idea what they're talking about, so the best thing you could do would be to check the symptoms out yourself and just ask them which medications you can use against what if you need to.