The Tom Thumb grocery chain in the DFW metroplex was one of the first to go with cards in the early 90s. Their push at the time was that with the card you could pay with check that much faster. It moved their lines quicker & caused them to have fewer bad check writers. Just about all grocery store chains of any merit seemed to have been doing it at the time.
Moved to a state with a Wegman’s & was pleasantly surprised when I got a robocall from them about a product recall.
Oh, and when you pay with credit cards you’re being tracked whether you have a loyalty card or not. When asking for your zip code the store is actually bundling your CC information to you.