I’m currently using Google Maps API to generate the distances that you see in the screen shots above. But what I’m trying to do is add the delivery charges that we have in place dependent on distance. I.e. Deliveries between 0-3 miles are £1, 3-5 are £3, and anything over 5 miles is £4.
I’m using a script that I’ve seen on the forum that I’ve seen returns a fee value: Advanced Tutorial: Automatic Delivery Charge Based on Distance via Google Maps
But I haven’t quite figured out how to implement this as of yet. I have the script in place. I think I just need some Rules in place which adds it accordingly.