MiniVend Akopia Services

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

UPS Shipping Returns $0.00 (Solution ... Sort Of)




I thought I'd found the problem. Everything else was fine, but when 
I checked my shipping.asc against what Kyle recommended, I had:

upsg    UPS Ground    weight          0       999999  
  u Ground [default zip 146] 0.00 round

Where he had

upsg    UPS Ground              0       999999  
  u Ground [default zip 146] 0.00 round

Note the missing criteria field. When I took criteria out, leaving
the tab for a blank field, it worked immediately. 

HOWEVER

I then tried to add the other UPS shipping modes ... Next Day,
2nd Day, etc. The whole thing fell down, including Ground. After
racking my brain (since all entries were setup identically to the
first), I put weight BACK IN as the criteria. Ground now works, as
do the others. [insert confused look here]

Called the client to clarify what they wanted to do over 150# and
discovered that they only ship UPS Ground anyway. But someday I'd
love to know what was different or why it worked/didn't work.

For the Archives, here's my complete setup that is working for
UPS Ground only:

 -- catalog.cfg --

  Variable    SHIPMODES    upsg
  DefaultShipping      upsg
  UpsZoneFile     products/144.csv
  Database Ground Ground.csv CSV

 -- /products --

  144.csv - from UPS, extraneous lines removed

  Ground.csv - from UPS, extraneous lines removed

  country.asc
    code	selector	shipmodes	name
    US	US	ups upsg	United States

  shipping.asc
    code	description	criteria	min	max	formula
    upsg	UPS Ground	weight	0	0	eNothing to Ship!
    upsg	UPS Ground	weight	0	150	
      u Ground [default zip 146]
    upsg	UPS Ground	weight	151	9999999	
      e @@TOTAL@@ lbs. too heavy for UPS shipping, you'll be contacted 
      with a custom quote.

Lines have been indented - these should be all on one line.

  -- Loy

--
Loy Ellen Gross * Web Designer & Programmer * Xcalibur Internet
  Voice: 716-344-1114 * design@iinc.com * http://www.iinc.com









Search for: Match: Format: Sort by: