I know this is a 2025 thread, but if anyone else is trying to force Shopify into doing this: don’t. It’s a massive headache because Shopify isn’t built for real-time distance rates or map dispatching. When we had a client needing this, we skipped e-commerce plugins entirely and used ATOM Mobility. It has a built-in web booker that handles km-based pricing and vehicle selection out of the box. Just link a dedicated mobility platform to the site and save yourself the dev nightmare.