Hi,

I need to be able to calculate the distance, and hence the price of drop shipping between two postcodes.

The UK Post Office have a database of every single postcode and it is possible to calculate or lookup the distance between two as the crow flies.

Here is a link to a piece of code that can actually perform the distance calculation:

http://www.sloomedia.com/distancebetweenpostcodes.php

And I need to be able to apply a charge against distance - using both the inbound and outbound parts of the postcode, as I need to be able to work down to within 1 mile of our shop.

Does anyone have (or know of) a module that could be used to calculate the delivery charge for drop shipping purposes?

Such a module would be tremendously useful for all drop shippers in the UK, I believe, large or small.