[ic] Residential/Commercial shipping

Steve Graham icdev at mrlock.com
Mon May 19 21:09:09 UTC 2008


Revised:

IC complained that GNDRES wasn't in the default shipping options in 
the country table, so I had to add it to the table.
The code now strips it out then changes commercial to residential if needed.

[perl]
$t_t = $Values->{mv_ship_residential};
$t_mode=$Scratch->{tmp_shipmodes};
$t_mode =~ s/GNDRES//;
if ($t_t =~ m/1/) {
$t_mode =~ s/GNDCOM/GNDRES/;
}
$Scratch->{tmp_shipmodes} = $t_mode;
return "";
[/perl]

Steve




More information about the interchange-users mailing list