[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] dealer_price problem
> Hi and thank you for feedback but I still didn't get this [set
> price_level]dealer[/set] to work.
>
> I want to give dealer price to all those that choose to join the
> "Club" but
> just Retail to those which just check out without creating account.
>
> I had 3 suggestions:
>
> 1:
> [set NewAccount]
> [set dealer]1[/set]
> [if type=explicit compare="[userdb new_account]"]
> [value name=price_level set='dealer' hide=1]
> mv_junk = [userdb save]
> mv_nextpage=account
Hi Andrew
I may have mixed up my ever growing archive of emails from the list :)
Try:
[set NewAccount]
[set dealer]1[/set]
[if type=explicit compare="[userdb new_account]"]
[data base=userdb
field=price_level
key="[data session username]"
value="dealer"
]
mv_nextpage=account
[else]
mv_nextpage=new_account
[/else]
[/if]
[/set]
Have a good one
Paul