MiniVend Akopia Services

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

UPS-Style Lookups in Canada



Help.

I am trying to get UPS-style lookups to work with Canada Post shipping
methods in Canada.  They've sent me tables similar to the ones seen by
UPS and in the Minivend examples.

In the catalog.cfg I have defined:

Database	cprp	cprp.csv	CSV

The cprp is for Canada Post Regular Parcel.

In country.asc I have:

code	selector	shipmodes	name
CA	CA	cprp	Canada

In cprp.csv I have:

Weight,1,2,3,4,5,6,11,12,13,14,21,22,23,31,32,33,41,42
0.5,2.78,2.86,2.87,2.80,2.85,2.86,3.02,3.08,3.01,3.17,3.67,3.88,4.05,4.47,4.72,4.89,5.46,6.83
1.0,2.78,2.86,2.87,2.80,2.85,2.86,3.02,3.08,3.01,3.17,3.67,3.88,4.05,4.47,4.72,4.89,5.46,6.83
2.0,etc.

I also have a canada_zone.csv file that looks like:

Destination,cprp
A0A-A0K,33
A0L-A0N,33
A0P-A0P,23
A1A-A1H,31
etc.

And in shipping.asc I have:

code	description	criteria	min	max	formula
cprp	Canada Post Regular Parcel	weight	0	0	c C CanadaPost
products/canada_zone.csv
cprp	Canada Post Regular Parcel	weight	0	30	C cprp [default zip K7V]

What I get is $0.00 in the shipping cost and the following error message
under the shipping methods selector in the checkout page:

Note: Zero cost returned for mode cprp, geo code K7V. No match found for
mode 'cprp', quantity '0.5',
 returning 0. Zero cost returned for mode cprp, geo code K7V. No match
found for mode 'cprp', quantity
  '0.5', returning 0. Zero cost returned for mode cprp, geo code K7V. No
match found for mode 'cprp',
  quantity '0.5', returning 0. Zero cost returned for mode cprp, geo
code K7V. No match found for mode
                       'cprp', quantity '0.5', returning 0. 

I'm missing something.  I realize that the reference to "quantity"
likely is supposed to read "weight" in the error message.  Can anybody
see why there would not be a match found?  I'm sure I'm missing
something easy.

Do I explicity need to define some kind of UPSZoneFile in catalog.cfg? 
I'm not using UPS at all so all references to it have been removed.

Thanks,
.src


Search for: Match: Format: Sort by: