[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Less-than / Greater-than.
>****** message to minivend-users from Jason Korkin
><jkorkin@korksoft.com> ******
>
>Hi Everyone!
>
> I'm trying to do a one-click search, however, what I want to do is
>allow a user to select if the price is less than $100 or if the price is
>greater than $100. I looked at the documentation, and there doesn't seem
>to be any lessthan / greater than attibutes for the one-click search.
>Am I best of using the va= and then doing a perl snipit of code that
>does the lessthan/greater than for me, or is there an undocumented tag
>somewhere that will do it for me?
>
> Thanks,
>
> Jason Korkin.
>
The fields
mv_range_look rl S Sets the field to do a range check on
mv_range_max rx S Upper bound of range check
mv_range_min rm S Lower bound of range check
are for range searching, in a one-click search you would then use something
like rl=price/rm=0/rx=100 for products costing less than $100.
The section in the docs you missed is entitled "Special Form Fields".
cheers, Frank
--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung
Leopoldstr. 24 80802 Muenchen +49 89 38602-237