Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Need some help doing an if compare on price (MV4)



******    message to minivend-users from "Heinz Wittenbecher" <heinz@bytedesigns.com>     ******

Thanks Ed.

I am using MV4. Should've mentioned it in original post.

Still stumped though.
I have to compare value I would presume as the field would actually have a 0
in it, even though I did try it with a blank field and still can't get it.

It can't be this difficult. Hopefully I'm just having an off day (days :-)

I'll keep trying ifs I guess, but if someone happens to have a working
example it sure would be appreciated.

Heinz


> >>I'm up agains a brickwall on this one. The if /then is self-explanitory
as
> >>to what I'm trying to achieve, which is basically not wanting to print
0.00
> >>as price when no price is available.
> >>
> >>[if value item-price > 0 ]
> >>[item-price]
> >>[else]
> >>PLEASE CALL
> >>[/else]
> >>[/if]
> >
> >Heinz -
> >
> >I think it is a matter of using the right [if]; unfortunately there are
> >many of them (some might say too many). According to my reading of the
> >docs, this should do what you want:
> >
> >[if-item-field price]
> >         [item-price]
> >[else]
> >         PLEASE CALL
> >[/else]
> >[/if-item-field]
> >
>
> ... and I neglected to mention, this is the MV4 tag, if you are using MV
> 3.1x then substitute [if-field] for [if-item-field].
>
> - Ed L.
>


-
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


Search for: Match: Format: Sort by: