[ic] Shipping Criterion
Jerry
interchange-users@interchange.redhat.com
Tue Nov 6 14:00:00 2001
Mike,
Perfect and much more eligant than what I was
finally coming up with. Works great.
Jerry
> Set up a couple of variables in catalog.cfg:
>
> Variable FREE_SHIPPING_LEVEL 80
> Variable FREE_OR_WEIGHT <<EOV
> [calc]
> my $subt = q{[subtotal noformat=1]};
> return 0 if $subt >= $Variable->{FREE_SHIPPING_LEVEL};
> return 'weight';
> [/calc]
> EOV
>
> Then reconfig and use __FREE_OR_WEIGHT__ as the criteria.