Any idea what a poke is?
A poke is a bag. The phrase “pig in a poke” refers to (goes back to the Middle Ages, supposedly) to when meat was scarce, and pigs were sometimes sold in closed bags. If you bought a pig in a poke without inspecting it first, you might get a dog or cat instead for meat.
The phrase means “buyer beware.”