The distance between the vendor and the buyer
-
Greetings!
Please tell me how to display and show in custom field the distance between the vendor and the buyer, using Google maps or OpenStreetMap.
That is, it is necessary to calculate carbon dioxide for the delivery of products between vendors and the buyer.Suppose a customer adds products from 3 vendors to cart, after which he will go to the cart / checkout page and enter his index / address. I need a distance to be indicated near each vendor in order to multiply by an n-value for an approximate calculation of carbon dioxide.
I will be glad to receive answers and any help, thanks.
- The topic ‘The distance between the vendor and the buyer’ is closed to new replies.