[ic] Discounting Entire Orders

HTFCDS Order Dept interchange-users@interchange.redhat.com
Mon Oct 22 17:09:00 2001


Now this is intriguing

I am wondering, how to discount based on number of items in certain
"condition" and user is shipping to address in USA.

e.g.
User gets discount of $10.00 on ordering 5 "used" products, and they are
"shipping" to an address in the United States. "Used" being contained in a
field called "Condition"

My lack of Perl logic building, prevents this from being conceived.


!~RS


-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed
LaFrance
Sent: Monday, October 22, 2001 11:34 AM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] Discounting Entire Orders


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
===============================================================

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users