[ic] Discounting Entire Orders

Ed LaFrance interchange-users@interchange.redhat.com
Mon Oct 22 12:34:01 2001


At 11:09 PM 10/21/2001 -0700, you wrote:
>I have a client that would like to have a 10% discount on all sales over
>$100.
>
>This discount would be reflected on the entire order amount.  Can someone
>please advise the quickest way to achieve this?
>
>The site in quesiton: www.saturdaycollectibles.com
>
>
>
>Thx in advance!
>
>Jim Webster
>PowerGate Networks
>Site Design & Hosting

Well, take a look at this doc:
http://interchange.redhat.com/cgi-bin/ic/dev-4.8/ictags_24.html

..and consider something like this, on ord/checkout.html, top of page:

[if type=explicit compare="[calc][subtotal noformat=1] > 100[/calc]"]
         [discount ENTIRE_ORDER]$s * .9[/discount]
[else]
         [discount ENTIRE_ORDER][/discount]
[/else]
[/if]

- Ed L.


New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================