If there is a better solutions I would appreciate any insight.
How about this one: (Talking to self?)
Suggested change to QueryUPS.pm
sub calculate {
my ($mode, $weight, $row, $opt, $tagopt, $extra) = @_;
+ my $tmp_weight;
+ $tmp_weight = int($weight);
+ if ($tmp_weight < $weight) {
+ $weight = $tmp_weight + 1;
+ }
$opt->{service} ||= $opt->{table};
Any thoughts on why this shouldn't be incorporated into the routine
that uses the freight cache tables, namely QueryUPS.pm???
Is there a reason to cache actual cart weights instead of rounding them up to the next lb? As mentioned before, the demo on icdevgroup.org product file has all item weights already rounded to the exact pound. I find this would not normally be the case in most businesses. (At least ones that concentrate on selling multiple items)
Thoughts?Steve
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.