On 08/20/2003 11:32 AM, Jason Stechschulte wrote:
I have to be able to calculate shipping charges based on the product(s) ordered. I'm able to communicate with UPS and USPS, parse the XML and all of that. The problem I'm running into is trying to calculate a box size. Has anyone here come up with a good solution?
It is no problem at all to get shipping rates for one item. Two of the same item is more difficult, but 2 or more different items, all of different sizes, is causing me some problems. To make things worse, there aren't any standard box sizes I can use to try to fit them in.
I've looked at different PHP scripts for calculating UPS and USPS shipping rates, but all of them I've seen so far expect the package size to already be calculated.
Have you seen this?
Class: ShipTrack http://www.phpclasses.org/shiptrack
--
Regards, Manuel Lemos
Free ready to use OOP components written in PHP http://www.phpclasses.org/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php