PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Calculating UPS Shipping Charge
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Calculating UPS Shipping Charge

Réponse
 
LinkBack Outils de la discussion
Vieux 13/09/2007, 23h34   #1
DonO
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Calculating UPS Shipping Charge

Does anyone have any experience calculating UPS shipping costs
dyanmically using PHP?

I found a series of PDFs on UPS's site that details costs. I can put
together some kind of matrix or DB table to store this and run my
script against it, but I figure their has to be something out there
already made.

My script would need the following ideally...

1) Set the weight of a box of wigits (say 2lbs ea. box)

2) When the user selects the quantity of boxes and puts in their
shipping address and UPS shipping method, the following happens...


$shipping_costs =
// magically does something with this....
# of boxes * 2 = weight AND
Shipping distance = distance between shipping zip and hard coded store
zip AND
Ship method is specified by drop down.

Which gets returned to my script somehow.

Any in the right direction would be appreciated.

Thanks,
D.

  Réponse avec citation
Vieux 14/09/2007, 16h22   #2
elyob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Calculating UPS Shipping Charge

On 13 Sep, 23:34, DonO <don.or...@gmail.com> wrote:
> Does anyone have any experience calculating UPS shipping costs
> dyanmically using PHP?
>
> I found a series of PDFs on UPS's site that details costs. I can put
> together some kind of matrix or DB table to store this and run my
> script against it, but I figure their has to be something out there
> already made.
>
> My script would need the following ideally...
>
> 1) Set the weight of a box of wigits (say 2lbs ea. box)
>
> 2) When the user selects the quantity of boxes and puts in their
> shipping address and UPS shipping method, the following happens...
>
> $shipping_costs =
> // magically does something with this....
> # of boxes * 2 = weight AND
> Shipping distance = distance between shipping zip and hard coded store
> zip AND
> Ship method is specified by drop down.
>
> Which gets returned to my script somehow.
>
> Any in the right direction would be appreciated.
>
> Thanks,
> D.


Don't know, but if you did write something up, be aware of chargeable
weight. This is the calculation of the box size that will determine
the weight. i.e. they will charge based on which is higher.

So, for example, you want to send a large box of feathers, they will
bill you with chargeable weight and not the actual weight of the box.

This is normally calculated as (H * W * L )/6000

There is a good explanation here .. .http://www.parcelforce.com/portal/
pw/content1?mediaId=load112007&catId=25900681

HTH

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h21.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08271 seconds with 10 queries