means that
a person buys something or accepts a deal without adequately examining what is being offered.
The saying “To buy a pig in a poke” can be used when you buy something without inspecting it thoroughly first or you accept an offer or deal without properly evaluating it first.