[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Simple question about using [DISCOUNT]
>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?
Here you go...
[if type=explicit compare="[calc][nitems] > 25 [/calc]"]
[discount ENTIRE_ORDER]$s * .85 [/discount]
[else]
[discount ENTIRE_ORDER][/discount]
[/else]
[/if]