[ic] discount based on total quantity ordered

Eros Shop info at eros-shop.co.uk
Wed Mar 24 14:15:19 EST 2004


At 18:27 24/03/2004, you wrote:
>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

Hi John

The above should work if you were to put it in the checkout page, rather 
than in your catalog.cfg, but I don't know how you'd do it in the basket. 
However I'm sure it's more than possible :)

Hope this helps.

Mark



Eros Shop
vwe internet ltd
PO BOX 1067
SLOUGH
SL1 7YA
UK

Shop - http://www.eros-shop.co.uk
EMail - info at eros-shop.co.uk
Tel - 0870 737 3369
Fax - 0870 737 4469




More information about the interchange-users mailing list