SHIPPING CALCULATION FUNCTION

1. Member
Join Date
Dec 1969
Posts
31

## SHIPPING CALCULATION FUNCTION

Hi There...<BR>Did anybody have written function which computes Shipping Total based on quantity and Price ?. If you do can you please let me know what type of logic have used. I would appreciate if somebody can share this info. to me...<BR><BR><BR>Thanks<BR>MAMIN

2. Senior Member
Join Date
Dec 1969
Posts
96,118

## Impossible question...

...without knowing the COMPLETE rate table!<BR><BR>And VERY different rate tables, depending upon how you ship!<BR><BR>5 pounds overnight via FedEx? Or 5 pounds ground via UPS? Or 5 pounds book-rate via US Post Office?<BR><BR>*IF* you limit yourself to UPS, for example, they have a way to link from their calculators on their pages to your own pages. If you go to the UPS site, you can get started. It is pretty complicated, but it is possible.<BR><BR>But now suppose your user insists on Emery Air Freight???<BR><BR>

3. Member
Join Date
Dec 1969
Posts
31

## RE: Impossible question...

Bill,<BR>You are right but I like to make my life easier by Using only UPS ground and USPS mail(generic option).<BR><BR>So what I want to do is build some reasonable logic based on the price of the product and then I can select UPS or USPS based on my req. Customer will not have option to select. I will decide whether it make sense to ship via UPS or USPS after customer buys something.<BR><BR>Real question is what is the practical logic so I do not loose money in 95-99% of case and my customer do not get too much charged either..We are in toys business.<BR><BR>Here what I think and any Idea will be greately appreciated:<BR>No matter what min. charge will be \$3.00 + 1.50/per Item and depend on how many item you add 1.50 will be added.<BR><BR>I will check at the same time shipping cost is 6% of the total cost per Item. If 6% is higher than the above 1.50 than I will add 6% of the product cost not the 1.50...I have tried and it seems to work close but I like to have more Idea from you guys so I can make sure I am more accurate in counting on Qty and price based shipping since I do not want to count weight and dimention of every product we carry<BR><BR>Thanks<BR>MAMIN<BR>

4. Senior Member
Join Date
Dec 1969
Posts
96,118

## If UPS and USPS only...

...then I *think* you can link to their sites to get the calculations done for you. I know you can do this with UPS. It&#039;s not trivial, but it&#039;s not impossible, either. <BR><BR>

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•