I think that's because at a farmers market you're still trading with somebody completely foreign to you. Pre-industrial societies were smaller, and based around tighter knit communities. Much harder to rip somebody off if they live 3 houses down and look after your kids twice a week, compared to some random person off the street.