Hello,
I was reviewing Ship.pm
In the standard multi-page checkout, I see that mv_ship_residential
gets set, but what does the following residential code do, or
what options do I have to switch to the GNDRES lookup instead of the
default GNDCOM?
if($opt->{residential}) {
my $v = length($opt->{residential}) > 2
? $opt->{residential}
: 'mv_ship_residential';
my $f = $opt->{residential_field} || 'res';
#::logDebug("residential check, f=$f v=$v");
if( $Values->{$v} ) {
my $rescharge = tag_data($type,$f,$weight);
#::logDebug("residential check type=$type weight=$weight, rescharge:
$rescharge");
$cost += $rescharge if $rescharge;
}
thanks,
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.