I'm in the US and the only time I can remember going to an ATM in the past 5 years is because farmers markets sometimes give you discounts > credit card rewards for cash and weed shops cannot use banks so you have to pay cash.
IMO farmers markets would disappear if they stopped using cash. It's basically synonym for tax avoidance sprinkled with some fraudulent claims how your honey cures everything.
I totally agree farmers markets are all about tax avoidance. They would charge me the flat dollar amount for cash but then add in the tax when I used a card. No way they are paying taxes on that cash transaction.