Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

RE: [ic] Shipping Criterion



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.

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: