According to one submitter's great-grandfather, this term was used in the American Old West. When a bar patron would get overly drunk and unruly, they would be tossed through the swinging doors into the street. Sometimes said bar patron would land where the horses were tied, their face landing in horse shit.