[ic] discount based on total quantity ordered

Jeannie Stevenson webteam at wes-state.com
Wed Mar 24 13:27:11 EST 2004


Good day list

I'm trying to figure out how to discount the ENTIRE_ORDER if different
quantity of items are ordered. I have different discounts if the user has
order 2,3, or 4 total items
I have placed in catalog.cfg

[if type=explicit compare="[calc][nitems] == 2 [/calc]"]
    [discount ENTIRE_ORDER]$s - 20.00[/discount]
[else]
    [discount ENTIRE_ORDER][/discount]
[/else]
[/if]
[if type=explicit compare="[calc][nitems] == 3 [/calc]"]
    [discount ENTIRE_ORDER]$s - 50.00[/discount]
[else]
    [discount ENTIRE_ORDER][/discount]
[/else]
[/if]
[if type=explicit compare="[calc][nitems] == 4 [/calc]"]
    [discount ENTIRE_ORDER]$s - 65.00[/discount]
[else]
    [discount ENTIRE_ORDER][/discount]
[/else]
[/if]
but this really doesn't work correctly

Also, how do I get this discount amount to appear on the basket/checkout
page?


REDHAT 7.2
IC 5.0

Thanks in advance

John A




More information about the interchange-users mailing list