[ic] Discounts - This works but is there a better way.

Ed LaFrance edl@newmediaems.com
Thu, 16 Nov 2000 10:29:39 -0800


Did you actually try this?  I don't think it will work the way you expect :-\.

- Ed L.


At 10:13 AM 11/16/00 -0800, you wrote:
>I want to apply a discount to my entire site but also
>want to display it on the checkout and cart pages.
>Here is what I did.  My question, is this OK to or am
>I asking for trouble?  Is there a better way?
>
>(I took out most of the html tags for easier reading)
>First, I print the un-discounted subtotal.
>   <tr>
>      <td>Subtotal:</td>
>      <td>[discount
>code=ALL_ITEMS][/discount][subtotal]</td>
>   </tr>
>
>Second, I print the Discount (10%)
>   <tr>
>      <td>Discount:</td>
>      <td>[discount code=ALL_ITEMS]$s *
>.1[/discount][subtotal]</td>
>   </tr>
>
>
>Third, I print the discounted subtotal.
>
>   <tr>
>      <td>Discounted Subtotal:</td>
>      <td>[discount code=ALL_ITEMS]$s *
>.9[/discount][subtotal]</td>
>   </tr>
>
>=====
>-----------------------------
>Gregg A. Fabbri
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Calendar - Get organized for the holidays!
>http://calendar.yahoo.com/
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@www.minivend.com
>http://www.minivend.com/mailman/listinfo/interchange-users

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