[ic] What am I missing? - USPS shiping problem
Mike Heins
interchange-users@icdevgroup.org
Sat Feb 8 10:49:00 2003
Quoting Dorothy Puma (dorothy@digilink.net):
> Hi all,
>
> I'm running IC 4.9.5 on solaris 8 with Perl 5.8
>
> I've been trying to get USPS shipping to work. I've gone through the
> archives, and followed the examples shown, but it looks like my "zone u"
> is undefined. Am I missing a usertag or something?
>
> http://www.icdevgroup.org/pipermail/interchange-users/2002-January/016822.html
>
> I have added the UpsZoneFile to my catalog.cfg, added the Priority info
> in my 450.csv file, I downloaded the most current version of the
> Priority Mail csv rates file and modified it to match the Ground.csv
> format. I added the Priority.csv.numeric file, I placed a Priority.dbm
> file in my dbconf directory. I added Priority to the country.txt file
> for the United States. I also added the following to my shipping.asc:
>
>
> Priority: Priority Mail
> criteria weight
> zone 450
> geo zip
> default_geo 45056
> adder 3
> table Priority
> ui_ship_type UPSI
>
> min 0
> max 0
> cost e Nothing to ship!
>
> min 0
> max 150
> cost u
>
> min 0
> max 150
> cost e Too heavy for USPS
>
>
>
> When I restart I get the following error:
>
> Bad shipping file for zone 'u', lookup disabled.
>
> Then I get the following in my structure file:
That is very smart to look there. 8-)
>
> 'Shipping_zone' => {
> 'u' => {
> 'zone_key' => 'u',
> 'zone_data' => undef,
> 'zone_name' => 'UPS',
> 'zone_file' => '450.csv'
> },
> '450' => {
> 'zone_key' => '450',
> 'zone_data' => [
> 'low high
> Ground 3DaySelect 2ndDayAir 2ndDayAirAM NextDayAirSaver NextDayAir
I think if you lose the "zone" line you will be fine. When you
put UpsZoneFile in your catalog.cfg, it automatically gets put in
zone u.
Alternatively, you could get rid of the UpsZoneFile line in catalog.cfg
and it would probably work properly.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
Few blame themselves until they have exhausted all other possibilities.
-- anonymous