Pig in a poke originally was how you could by a suckling pig. What could happen though is that there is actually a cat in the poke (bag), thus you made a purchase sight unseen and got burned.
I would imagine that "Happy as a pig in a poke" is more of a sarcasm based on the original phrase and meaning.
Nestran