MiniVend Akopia Services

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

Re: Minivend Shipping Quirks (or why this doesn't work in Canada)



At 02:35 PM 6/24/99 , Ryan Hertz wrote:
>******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>
    ******
>
>At 07:14 AM 6/24/99 , Steve Cockwell wrote:
>>******    message to minivend-users from Steve Cockwell
><stevec@sierra.lazarus.ca>     ******
>>
>>Okay, here is what I found:
>>
>>1.  As you probably all already know, minivend rounds shipping weights
>>up to the next integer.  This is fine in the U.S. where a pound is a
>>pound, but in Canada where a Kilogram is 2.2 lbs this makes for really
>>heavy CDs :-)  We need a way to specify the decimal place to round on. 
>>For some shipping methods it would be convenient to have 0.1kg
>>boundaries, for others, 0.5 and so on.  Maybe there is already a way to
>>do this that's not in the docs?

Steve, I just thought of something that might solve your problem.  You
could multiply all your weights by 10 and do likewise to your lookup - that
way you would not miss the trailing decimal.

>>
>>2.  In the shipping tables, 1.0 != 1.  That is to say, if you put 1.0 in
>>the first column of your shipping table (UPS-Style lookups), instead of
>>"1" you will get:
>>
>>Note: Zero cost returned for mode cprp, geo code T2L. No match found for
>>mode 'cprpm', quantity
>>  '0.5', returning 0. Zero cost returned for mode cprp, geo code T2L. No
>>match found for mode 'cprpm',
>>  quantity '0.5', returning 0. Zero cost returned for mode cprp, geo
>>code T2L. No match found for mode
>>  'cprpm', quantity '0.5', returning 0. Zero cost returned for mode
>>cprp, geo code T2L. No match found
>>                    for mode 'cprpm', quantity '0.5', returning 0.
>>
>>Don't ask me why the error repeats 3 times, I have no idea.  I'm
>>guessing that minivend reads the shipping weight for all of the items in
>>the basket as floats, adds them together (as floats) rounds them up,
>>converts to ascii, and then does a compare to what's in the table.
>>
>>That's it for today (unless I find something else)
>
>	Could this be a problem caused by the FractionalItems directive?  It knows
>what the "qty" is, why does it round it?  I don't use weight-based
>shipping, so I might guess that you have configured something wrong.... as
>in, I'd like to see MiniVend complain about weight '0.5' returning 0.  ;-)


Ryan Hertz                                              tel  520-645-3812
Webmaster                                               tel  800-645-BAIT
Advertising Director                                    fax  520-645-2588
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com


Search for: Match: Format: Sort by: