[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Price Discounts problem
****** message to minivend-users from Lance Carito <lcarito@pathfinder.com> ******
Yes, it does. Thanks! I didn't realize the [discount ...] tag took the
interpolate argument (until, of course, I actually checked the tag
reference guide...), although I'm not quite sure why my original
solution didn't work so well.
Anyways, it's working now. Thanks again.
--
-Lance
"Here's my talisman. If you change your mind, give us a chant."
> Date: Thu, 27 Apr 2000 08:31:37 -0700
> From: Ed LaFrance <edlafrance@printexusa.com>
> Reply-To: minivend-users@minivend.com
>
> ****** message to minivend-users from Ed LaFrance <edlafrance@printexusa.com> ******
>
> At 01:25 PM 4/26/00 -0400, you wrote:
> >****** message to minivend-users from Lance Carito
> ><lcarito@pathfinder.com> ******
> >
> >
> >Hello,
> >
> >I'm trying to set up promotion discounts for our store, depending on
> >what mv_pc is set to. Our special offers page first looks up the
> >product code and discount associated with the key code passed to it,
> >and saves the info to scratch variables:
> >
> >[seti psku][data base="promos" field="sku" key="[data session source]"][/seti]
> >[seti pdisc][data base="promos" field="discount" key="[data session
> >source]"][/seti]
> >
> >then sets the discount for the item:
> >
> >[discount code="[scratch psku]"] $s * $Scratch->{pdisc} [/discount]
> >
> >However, when the basket page is displayed, the [discount-price] tag
> >displays $0.00 and the [item-discount] tag displays the full price of
> >the item. The [subtotal] tag, though, reflects the discount.
> >If I hardcode the discount, replacing $Scratch->{pdisc} with, say,
> >.90, everything displays correctly.
>
>
> Lance -
>
> try: [discount code="[scratch psku]" interpolate=1] $s * [scratch pdisc]
> [/discount]
>
> ...does it work?
>
> - Ed L.
>
>
> Printex Marking Technologies
> 12113 Kirkham Rd.
> Poway, CA 92064 U.S.A.
> 858-513-2418
> 800-982-1928
> 858-513-2419 FAX
> http://www.printexusa.com
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list