I agree, it may only be 1 or 1.25% for most credit cards or 3% for Amex, but it is an annoyance. It is a merchant fee just like company tax and such,it should be built in.
Originally started in businesses where cash was king and credit cards were not. Now nearly every business does it, even when cash was never really used and actually discouraged.