[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] [discount] Please help
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting kphillips@ultratec.com (kphillips@ultratec.com):
>
>
> Please help. It has been days and I can't get this to work as advertised in the
> docs.
>
> I have tried all manner of $safe{scratch}{discountAmount}, [scratch
> discountAmount] and [value discountAmount] variables but I can't get a variable
> from JavaScript or Perl to play nicely with the [discount] tag. I have scoured
> the list and the documentation but each example I have found has failed to work.
>
[snip]
> [discount code="ALL_ITEMS"]
> return ($s * [scratch discountAmount]);##How do I get ANYTHING here??
> [/discount]
Looks like a simple case of needing an interpolate=1 parameter to
get Interchange to interpret the container text for tags.
--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>
Be patient. God isn't finished with me yet. -- unknown
-
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