[ic] Discount using CommonAdjust price_group not being labeled in basket

Ed LaFrance interchange-users@interchange.redhat.com
Wed Jan 23 13:04:01 2002


At 01:00 AM 01/23/2002 -0700, you wrote:
>Dear List,
>
>I've successfully setup a discount using CommonAdjust and the price_group
>feature, which correctly discounts every time.  The only problem I'm having
>is the display of the discount amount, which isn't showing up at all.  This
>is the code in the basket.html file which isn't doing anything:
>
>[if discount [item-code]]
><br><font face="Verdana, Arial, Helvetica, sans-serif" size="1">
><font color="__CONTRAST__">
><b>You save [item-difference]!</b>
></font></font>
>[/if]
>
>No matter what, that code doesn't come up.  It used to when I had a custom
>[perl] tag setup to do the price_group feature.
>
>Any ideas?
>
>-Russ

AFAIK your [if] will only prove true if you had previously reduced the 
price of the item using [discount [item-code]]{perl code goes 
here}[/discount].  CommonAdjust is a separate mechanism from this.

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