MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Solution: Shipping UPS to Alaska/Hawaii



******    message to minivend-users from Tim Shea <tim@valutech.net>     ******

Hi All,

I've finally tackled UPS shipping to Alaska and Hawaii and thought I'd 
share my success.

1. In country.asc, add a upsbak entry (UPS Blue Alaska/Hawaii):

US	US	upsg upst upsb usps upsbak 	United States

2. In shipping.asc, add a new upsbak section:

upsbak	UPS Two Day	weight	0	0	c A UPS products/960.csv 5 1
upsbak	UPS Two Day	weight	-1	-1	o PriceDivide=0
upsbak	UPS Two Day	weight	0	0	e Nothing to ship
upsbak	UPS Two Day	weight	0	150	A 2ndDayAir [value zip]
upsbak	UPS Two Day	weight	150	999999	e Not Available

3. In your ord/basket.html, remove any $0.00 entries from the SELECT list 
(thanks to Dan Busarow for the perl). This keeps the basket from always 
showing two 2-Day entries with one $0.00. It also has the added benefit of 
excluding any ship methods which have reported an error (such as too heavy 
for carrier, or invalid zip for carrier):

<SELECT MV=loop
	MV.SEARCH="fi=country.asc/se=[default country 
US]/sf=selector/rf=shipmodes"
	MV.OPTION="mv_shipmode"
	onChange="this.form.submit()"
	NAME="mv_shipmode">
	[perl interpolate=1]
	    $sub = [shipping [loop-code]] + 0;
	    return '<OPTION VALUE="[loop-code]"> [shipping-desc [loop-code]] 
[shipping [loop-code]]' if $sub > 0;
	[/perl]
</SELECT>

4. In your 999.csv add the Alaska and Hawaii zip codes like:

Dest. ZIP,Ground,3 Day Select,2nd Day Air,2nd Day Air A.M.,Next Day Air 
Saver,Next Day Air
96706-96707,,,224,,124
96709,,,224,,124
96712,,,224,,124
96717,,,224,,124
.
.
.

Now you should be set to offer UPS Blue Label to Alaska and Hawaii *and* 
have the rates calculated correctly. Should be easy enough to adapt to Red 
Label (which I don't use). Any suggestions on making this work better 
gladly accepted!

Cheers,
Tim

PS: I've quickly typed them all in for 960 and posted them at 
http://www.valutech.net/960AKHI.csv to save everyone from typing them all 
in - please let me know if you find any errors.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: