I think there’s also a basic QA issue. I use that heavily at places which have systems which are fast and reliable but most of the places which stopped had these terrible systems which wanted you to install their low-quality app which demanded lots of permissions and account creation, or seeming-parodies of modern web apps which needed 25mb of JavaScript to display a menu (not hyperbole - I checked one of them in WPT after being surprised by how bad it was).
Unfortunately, I think a lot of restaurants drew the conclusion that customers don’t want online ordering rather than that customers want fast and smooth ordering. I suspect some of that was also unrealistic expectations from the ad-tech industrial complex promising additional revenue from things customers don’t want, too, based on how aggressively some of those pushed you to create accounts and allow tracking before you could order anything. Someone not blinded by greed would make the pitch to do that kind of thing after ordering when you’re not trying to do something else and have an idea about whether you’ll even want to come back.
Unfortunately, I think a lot of restaurants drew the conclusion that customers don’t want online ordering rather than that customers want fast and smooth ordering. I suspect some of that was also unrealistic expectations from the ad-tech industrial complex promising additional revenue from things customers don’t want, too, based on how aggressively some of those pushed you to create accounts and allow tracking before you could order anything. Someone not blinded by greed would make the pitch to do that kind of thing after ordering when you’re not trying to do something else and have an idea about whether you’ll even want to come back.