Custom Shipping

This is an archive of old posting to the User Forum

Custom Shipping

Postby Warren Strasen » Wed Nov 12, 2003 2:42 pm

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
Warren Strasen
 

Re: Custom Shipping

Postby loren_d_c » Wed Nov 12, 2003 10:26 pm

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

loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Custom Shipping

Postby Warren Strasen » Thu Nov 13, 2003 8:36 pm

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


Warren Strasen
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 46 guests