I'm in need of a shipping calculator script that will go on each individual product page of my ecommerce website. This shipping calculator will NOT be integrated with my current shopping cart; it will just be a quick on page estimator.
Here is how I need for it to work-
On every product page, the url is something like this:
[url removed, login to view]
I need a script that will grab the product id from the page url it is on (ex:206 in above example), then check a mysql database that will have all the product id's with a weight associated with them.
With this weight information, the script will send out an XML request to UPS using my username/pass/xml access key for UPS, and return it on our shipping calculator without reloading the page (ajax).
All products will use the same box dimensions and everything else; the only difference will be the weights.
UPS ground will be the only option needed to be returned.
Need this urgently!