[ic] Shipping

Russ Mann tech@khouse.org
Wed, 2 May 2001 22:52:19 -0600


I will try implementing USPS this way, but out of curiosity, why did the old
way break?

-----Original Message-----
From: interchange-users-admin@lists.akopia.com
[mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Greg
Gaskill
Sent: Wednesday, May 02, 2001 6:53 PM
To: interchange-users@lists.akopia.com
Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4


> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann
> Sent: Wednesday, May 02, 2001 8:01 PM
> To: interchange-users@lists.akopia.com
> Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4
>
>
> dbconf/mysql/Priority.dbm
>
> Database            Priority       Priority.csv     CSV
> Database            Priority       GUESS_NUMERIC     1
>


OK, I finally got it to work - sort of a kludge, but works exactly as it
should.

I have the Priority.csv in the products/ dir.  But instead of defining my
own lookup, I made pretend that 'Priority' was just another method of
sending UPS.

So I put these lines into shipping.asc: ( / means line continues)

usps	USPS Priority	weight	0	0	e Nothing to ship! /
     {'adder' => "1",'ups' => "1",'table' => "Priority",'ui_ship_type' => /
     "UPSI",'geo' => "zip",'zone' => "450",}

usps	USPS Priority	weight	0	70	u Priority [value name=zip /
     filter=digits default=45056]		{}

usps	USPS Priority	weight	70	999999	e @@TOTAL@@ lbs too /
     heavy for Priority Mail		{}


And then I modified my 450.csv file (or equivalent) to add Priority as an
extra column, like so:

"ZONES"
Dest. ZIP,Ground,3 Day Select,2nd Day Air,2nd Day Air A.M.,Next Day Air /
      Saver,Next Day Air,Priority

004-005,4,304,204,244,134,104,4

etc...


and make sure to add 'usps' as a shipping method for US in the country.txt
file - or via the UI.

Then restart, and viola.



> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Greg
> Gaskill
> Sent: Wednesday, May 02, 2001 5:43 PM
> To: interchange-users@lists.akopia.com
> Subject: RE: [ic] Shipping Problem - USPS Shipping - Round 4
>
>
>
> > -----Original Message-----
> > From: interchange-users-admin@lists.akopia.com
> > [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Russ Mann
> > Sent: Tuesday, May 01, 2001 6:52 PM
> > To: Interchange Users
> > Subject: [ic] Shipping Problem - USPS Shipping - Round 4
> >
> >
> > Hello List,
> >
> > Does anyone out there have a working IC 4.6 with a UPS Style look
> > up for US
> > Postal Service shipping option?
> >
>
> I'm still working on this myself, but, did you make sure to add the
> Priority.csv file as a database in your 'dbconf' directory?
>
> I've got it looking up, but returning 0 - without giving any
> error message.
>
> Greg Gaskill
> <g.gaskill@aboron.com>
>
>
> > Thanks,
> >
> > Russ
> <Snip 4th repetition of same message>



_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users