[ic] Shipping, Range Variable

Mike Heins interchange-users@interchange.redhat.com
Mon Apr 29 12:08:01 2002


Quoting Chaim Klar (c_klar@c-cs.com):
> HI:
> 
> Is there any way to make the ranges in shipping.asc come from a variable?
> 
> The snip below does not work, it seems like interpolation just does not
> happen.

It does not in that context.

You can do it on the fly, though, if you don't put the shipping lines
in shipping.asc.

[set upsg_ship]
upsg	UPS Three Day (ground prices)	price	0	__VARIABLE__	m>>freeship		{ max => $Variable->{VARIABLE} }
upsg	UPS Three Day (ground prices)	price	0	__VARIABLE__	m>>freeship		{ min => $Variable->{VARIABLE} }
[/set]

[shipping add="[scratch upsg_ship]"]

-- 
3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mike@valuemedia.com>

Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer