[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [mv] Shipping mode problem ??
Quoting OTR Comm (otrcomm@isp-systems.com):
> Hello,
>
> I am trying to setup shipping options for USPS and have a problem.
>
> When I select USPS Priority Mail at checkout, I get:
>
> Note: No match found for mode 'uspspm', quantity '1', returning 0. No
> match found for mode
> 'uspspm', quantity '1', returning 0. No match
> found for mode 'uspspm', quantity '1', returning 0.
>
> What 'mode' is this talking about and where is it defined?
>
> Now in my shipping.asc I have:
>
> uspspm<TAB>USPS Priority Mail<TAB>weight<TAB>0<TAB>0<TAB>e No shipping
> charges!
> uspspm USPS Priority Mail weight 0 70 u PriorityMail
> [default zip 86324]
> uspspm USPS Priority Mail weight 70 999999 e @@TOTAL@@ lbs
> too heavy for USPS. Try UPS.
>
> and PriorityMail.csv is defined like so:
>
> Exceed,2,3,4,5,6,7,8
> 1,2.93,3.03,3.25,3.30,3.48,3.52,3.62
> 2,2.99,3.18,3.50,3.60,3.88,3.97,4.22
> 3,3.07,3.33,3.70,3.85,4.13,4.27,4.67
> 4,3.19,3.47,3.90,4.10,4.38,4.52,4.97
> 5,3.32,3.60,4.07,4.30,4.58,4.77,5.27
> 6,3.46,3.72,4.22,4.50,4.78,5.02,5.52
> 7,3.60,3.84,4.32,4.65,4.98,5.22,5.77
> 8,3.73,3.96,4.42,4.75,5.13,5.47,6.17
> ...
> (I just snipped a little of it. All I did was copy Ground.csv to
> PriorityMail.csv to see if I could even get it working)
The mode is the table, the zone is the column.
UPS lookup has a third dimension -- the zip code, which ends up being
the dimension which selects your zone. You don't mention that you have
a table defined for lookup selector "u".
That would normally be something like:
UpsZoneFile primail.txt
primail.txt would have:
Destination,PriorityMail,ExpressMail
001-007,2,p3
008-025,2,p3
863-865,5,p8
The zip code you show as default would select zone 5 for PriorityMail,
which means a cost of 3.30 for a 1-pound shipment. Zone p8 would be
used for ExpressMail, etc.
This mostly is useful for UPS, which has all of their zones for all
modes of shipment matching up on zip.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry
_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://www.minivend.com/mailman/listinfo/minivend-users