Buying a used car in NJ

I was advised not to buy a used car from a dealership in New Jersey because they’re not obligated to reveal all their fees. I was told by a dealership in PA that in Jersey if they give you a signed purchase agreement, they could turn around and hit you with extra fees without your knowledge, and you don’t find out until afterwards and you’re forced to pay these extra fees. does anyone have any insight on this?