[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] if data... tag problems
****** message to minivend-users from Ton Verhagen <ton@verhagen.net> ******
Chris,
Try this:
[if type=data term="coupons::discount::[value ccode]"]
It worked
[else]
It didn't work
[/else]
[/if]
This IS documented! Have a look at the IF-section of the manual.
Ton
At 09:45 PM 8/30/00 -0500, you wrote:
>****** message to minivend-users from Chris Goltz
><chris@gamemore.com> ******
>
>Hello all,
>
>I have been trying to get something equivalent to the following code to work
>for a good long time. Reading the docs and searching the mail list for the
>past couple of days hasn't proven too fruitful.
>
>[if data coupons::discount::[value ccode]]
> It worked
>[else]
> It didn't work
>[/else]
>[/if]
>
>The code works when [value ccode] is replaced with a hard coded string.
>Among many other things I've tried adding "interpolate=1" but unless I did
>it incorrectly that wasn't the solution.
>
>There must to a way to do something like the above. Could someone tell me
>what I am doing wrong or should do?
>
>I am using MiniVend 3.14-5.
>
>Thank you very much,
>
>-Chris
>
>
>-
>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