"Legal tender" only means it must be accepted to settle a debt.

Walking out of the store with groceries generates a debt, no?

I believe that's more likely to generate a criminal charge

You're being more literal than I was. My point was that "a debt" is a broader concept than the GP comment acknowledges. A debt is incurred any time you propose or agree to buy something. And legal tender is the way you settle it.

Then how about paying after ordering and eating a meal?

Depends.

If there was a posted notice that no cash is accepted it's unlikely you'll get a criminal charge, but you can get civilly sued. Most places will just accept the cash then put up a picture saying "If this asshole shows up again, trespass him"

No, eating food & then paying is a debt. After the services have been rendered. If seller can pull back the items, never provided the service, no debt.