Hey there, my client is willing to pay for shipping help.
The store is: http://www.bestbuy-furniture.com
and are using Google Checkout as our primary payment method.
What's the issue we are having?
My client sells furniture, they PROVIDE THEIR OWN SHIPPING. Here is a simple list of their rates.
1 -10 miles $50
10-20 miles $80
20-50 miles $120
50- 70 miles $200
70- 100 miles $250
Over 100 miles must be picked up at store.
How can we calculate the distance from the store to the customer, and calculate the price, then feed it over to Google Checkout?
Even if we were to create a more basic algorithm like $X.XX per Mile, that would work too. Google Checkout modules comes with various PHP shipping files in:
/googlecheckout/shipping_generator/
/googlecheckout/shipping_metrics/
Does anyone have any clue as to how to modify the PHP to calculate something similar to the above rates? Is it even possible?
If you think you can help, please let us know. Any tips are greatly appreciated, thanks!!




