Hi, i need to integrate google api maps into the shipping of oscommerce.
I have the map code allready, i can allready output the distance but that's as far as i got.
What i want to happen is this.. a customer lands on the shipping page and they are presented with their delivery cost.. the map will automatically fill the shops address and the customers address and process the route.. the google map script i have allready fills the shop address and attempts to fill the customers address but i can't figure out how to pass the variable to the map, a little code adjustment is needed.
Also, i forgot to mention.. this module allready works in the admin area.. it fills both shop and customer addresses and gives you the route.. what it doens't do is then pass the millage to another function that calculates the shipping like so .. £3 per mile.. and i want to be able to adjust this price somehow as petrol prices are forever going up and down!
Can you help?