[ic] If gone wrong

Ron Phipps interchange-users@interchange.redhat.com
Tue Feb 5 22:46:13 2002


> From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-
> users-admin@interchange.redhat.com] On Behalf Of Admin
> 
> Why would the following not work?
> 
> [if subtotal >~ 50]
> your subtotal is over $50.00
> [/if]
> 
> or
> 
> [if subtotal > 50]
> your subtotal is over $50.00
> [/if]
> 
> or
> 
> [if subtotal gt 50]
> your subtotal is over $50.00
> [/if]
> 
> I am stumped how to compare [subtotal] in shipping page (I get a value
for
> [subtotal]) in multi page checkout.
> 
> !~RS

Try:

[seti tmp_subtotal][subtotal noformat=1][/seti]

[if scratch tmp_subtotal > 50]
	Your subtotal is greater then $50.00
[/if]

-Ron