integrating shipping with shopping cart site - OT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, 

We are about to start a new project. Custom written shopping cart - quite
simple actually. However we have a concern when it comes to calculating the
shipping cost for an order.

For each product we can determine the base cost based on weight, therefore
we can determine the total weight of an order. 

However we are struggling to determine how to calculate the shipping based
on where the delivery is going.

In terms of DB and PHP would the best way to calculate it be done by having
a list of countries to ship to and a rate for each? Then you can apply the
rate to the current order (calculate according to the order weight).

Problems arise when shipping to different parts of a country EG: 

New York vs California (quite far apart). Perhaps we should have a list of
cities but that could be massive?

I know there is a PHP class / system that integrates with UPS but I don't
think the client is going to use UPS.

Perhaps you can tell me how you have handled this issue in the past.

Apologies if it is slightly off topic but it does still relate to PHP
indirectly.

Thanks in advance.
Angelo


http://www.wapit.co.za
http://www.elemental.co.za 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux