[ic] Search by price....

Greg Hanson greg@valuemedia.com
Mon, 16 Apr 2001 11:34:35 -0700


you can look into the coordinated search documents... a snippet from a
search form that includes a search by price range is shown below...

## <snip - some definitions top of form, remember read up on coordinated
searching format, all fields defined have to have a search entry below!,
this defines an greater than or equal to for the field price, and a less
than or equal to for the field price, so your customer can define a range to
search ie $5 to $50>


					<INPUT TYPE="hidden" NAME="sf" VALUE="price">
					 <input TYPE="hidden" NAME="op" VALUE=">=">
					 <input TYPE="hidden" NAME="nu" VALUE="1">
					<input TYPE="hidden" NAME="bs" VALUE="0">

					 <INPUT TYPE="hidden" NAME="sf" VALUE="price">
					 <input TYPE="hidden" NAME="op" VALUE="<=">
					 <input TYPE="hidden" NAME="nu" VALUE="1">
					<input TYPE="hidden" NAME="bs" VALUE="0">


##<snip - then down on the form your entry fields to correspond to the
defines above>
<TR>
		<TD width="30%" height="25" align="right" valign="center"
bgcolor="#006030" nowrap>
                         <FONT size="-2" face="verdana, arial, helvetica"
color="#ffffff"><B>Price:&nbsp;&nbsp;</FONT></B>
								</TD>

		<TD width="70%" height="25" align="left" valign="center" bgcolor="#cccccc"
nowrap>
                        <FONT size="-1" face="verdana, arial, helvetica"
color="#000000">From $
			<INPUT maxlength="7" name="mv_searchspec" size="10" VALUE="">To $
			<INPUT maxlength="7" name="mv_searchspec" size="10" VALUE=""></FONT>


								</TD>
							</TR>

or you can search ie "less than X"  (not a range) where the coordinated
search is not necessary; by just using one of the above.  There are many
examples of searches and one-click searches throughout the documentation and
mail list, just use the price field and the numeric operators in your
search...




> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Dan
> McFarland
> Sent: Monday, April 16, 2001 11:03 AM
> To: interchange-users@lists.akopia.com
> Subject: [ic] Search by price....
>
>
>
> I would like to have a search or option to list items by
> price.  i.e. Gifts
> under $1, gifts under $5, etc.  I have searched the archives but can't
> really seem to find anything about this.
>
> Is anyone using this idea or have suggestions on how to
> modify a search to
> achieve this?
>
> Thanks!
>
> Dan M
>
>
>
>
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users