Page 1 of 1

Custom Shipping

PostPosted: Wed Nov 12, 2003 2:42 pm
by Warren Strasen
Does anyone have a custom shipping add-on that can be used as an example for
building an API that will not give free shipping to Alaska & Hawaii?

Thank you for any help you can offer

warren

Re: Custom Shipping

PostPosted: Wed Nov 12, 2003 10:26 pm
by loren_d_c
There is no State information submitted to the custom shipping add-on,
only Country and Zip Code, so if you want to not give a certain shipping
option via your custom shipping add-on if the shopper is shipping to a
certain state, you will have to check the zip code against a table of
zip codes for Alaska and Hawaii.

Since these are both fairly small (population wise) states, there are
going to be many zip codes, in fact these are the patterns that zip
codes in these states would conform to (taken from the ShopSite Commerce
Setup -> Sales Tax tables if using the Tax by Zip feature):

Alaska:
995??,996??,997??,998??,999??

Hawaii:
967??,968??

-Loren



Warren Strasen wrote:
Does anyone have a custom shipping add-on that can be used as an example for
building an API that will not give free shipping to Alaska & Hawaii?

Thank you for any help you can offer

warren


Re: Custom Shipping

PostPosted: Thu Nov 13, 2003 8:36 pm
by Warren Strasen
Loren, Thank for your reply. I understand the idea of using zip codes once I
have an API. What I am unsure of is how to get started on the cgi program
it's self. I have the USPS from Lexiconn and was hoping it would be a good
starting point.

Does anyone have an example of a cgi program that I could use for building a
custom shipping API?

warren


"Loren" <loren_d_c@yahoo.com> wrote in message
news:bov15p$fuo$1@support.shopsite.com...
There is no State information submitted to the custom shipping add-on,
only Country and Zip Code, so if you want to not give a certain shipping
option via your custom shipping add-on if the shopper is shipping to a
certain state, you will have to check the zip code against a table of
zip codes for Alaska and Hawaii.

Since these are both fairly small (population wise) states, there are
going to be many zip codes, in fact these are the patterns that zip
codes in these states would conform to (taken from the ShopSite Commerce
Setup -> Sales Tax tables if using the Tax by Zip feature):

Alaska:
995??,996??,997??,998??,999??

Hawaii:
967??,968??

-Loren



Warren Strasen wrote:
Does anyone have a custom shipping add-on that can be used as an example
for
building an API that will not give free shipping to Alaska & Hawaii?

Thank you for any help you can offer

warren