This is irrelevant. The delivery companies will just increase the prices of the items, or charge Service Fees, or charge Temporary Local Fees, or charge Taxes. UberEats does exactly this in each of those transactional labels already. And let's not forget the driver tip which often defaults to a percentage of the sum() of the above items.
DoorDash charges a $1 to $2.50 “Regulatory Response Fee”, explained as follows: > A local regulation has temporarily capped the fees that we may charge local restaurants. To continue to offer you convenient delivery while ensuring that Dashers are active and earning, you will now see an additional fee that we are charging for local orders in this area. Mission accomplished, everyone!
The only downside is they might be misled into thinking that the new rule caused the fee, when in reality it only caused DoorDash to divide it up and make part of it explicit.