Akopia Akopia Services

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

Re: [mv] Important ..



******    message to minivend-users from "Gideon van Gelder" <gideon@swingmaster.nl>     ******


> hi all,
>        I am having trouble setting up an IF statement...
>
> I want the IF Statement to set a certain username and pw ,so that one can
> get discounts with it.....
>
> Is that possible...
>
> This the how I have it (It doesn't work)..I have tried this in the
> Browse.html ,Browse1.html and the checkout.html..
>
> [IF mv_username=cup and mv_password=kodac]
> [discount ALL_ITEMS]$s*.8[/discount]
> [/IF]
>
> I have also tried
>
> the above with [THEN] and [/THEN]...
>
> I have also tried it only [IF mv_username=cup] ..
>
> and nothing Happens ..can some please help me
>
>
> Andre

Hi,

Try

[if type=value term=mv_username op="=~" compare="cup"]
    [and type=value term=mv_password op="=~" compare="kodac"]
    [discount ALL_ITEMS]$s*.8[/discount]
[/if]

(this is in the docs, BTW)
Good luck,

-Gideon

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