[ic] Flat Rate International Shipping

Bill Fiore fiorefamilyphotos at me.com
Thu Nov 25 17:01:19 UTC 2010


Racke,

Thanks for the information. would this work for a usertag?

UserTag calc_shipping Order name
UserTag calc_shipping Routine <<EOR
sub {
	my ($name) = @_;
	my ($cost);

	if ($Scratch->{"company::country"} eq 'Canada') {
		$cost = 18.88};
	} elsif ($Scratch->{"company::country"} eq 'United Kingdom') {
		$cost = 18.88};
	} else {
		$cost = 23.88};
	}

	return $cost;
}
EOR

Regards

Bill



More information about the interchange-users mailing list