Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Determine distance from zip code?


Chris Dunning

Recommended Posts

This is somewhat related, trust me. :)

 

I've been asked to develop a system for osCommerce that would determine the distance from the store to the customer (in general terms) based on his zip code. I would also need to find all of the stores (there are several) within an X mile radius of the customer.

 

Has anyone set up something like this before?

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Link to comment
Share on other sites

I have played with the kind of database table required - for the USA it had over 70,000 rows, including latitude and longitude (used for locating) - I think it far easier to use a shipping module that queries an external source (eg. Fedex) to locate the customer.

 

HTH

 

Matti

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...