Specialized Hardrock rear hanger I just fixed my first puncture on a recently bought Hardrock (Evans)and discovered that the rear hanger is not attached to the frame.  This made refitting the wheel a bit of a struggle.

There is a hole through locating stud so should it have a bolt going through it?

Cheers
If the hanger is still attached, there are two possible attachment options:


The most common - a chainring bolt
Two smaller bolts, often counter-sunk (I can't recall exactly, but it's not important)


With either option, it's still a standard part, something your LBS should have on hand.

Also, if the bike was purchased recently, the bolt that fell off the hanger is not caused due to an issue you caused, and should be covered for free (at the very least the labor should be covered).