[ic] Re: Simple question about using [DISCOUNT]

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Mon Oct 7 04:28:04 2002


info@bumpertalk.com writes: 

> I want to offer my customers a ENTIRE_ORDER discount based on the total
> number of items ordered, but I'm stuck on how to write the if statement.
> What I've got looks something like this... 
> 
> [if nitems > 25]
> [discount ENTIRE_ORDER] $s * .85 [/discount]
> [/if] 
> 
> but this always returns 'true'. What am I doing wrong?

You cannot invent Interchange syntax on the fly. Try: 

[if items > 25] 

Ciao
    Racke 


-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.