NOT operand or (-) Search Results Question? |
Post Reply |
Author | |
njessen42
Groupie Joined: 12-November-2007 Location: Spokane, WA Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 01-July-2008 at 5:09pm |
Does product cart use any type of operand or symbol to exclude search words for the basic search. This would be very helpful, but I can't find anything on the F.A.Q. or in support.
A search for star bead returns approx. 170 results. http://shop.rings-things.com/cart/pc/showsearchresults.asp?pageStyle=M&resultCnt=10&keyword=star+bead We'd like to search for something like star bead -metal or star bead not silver not gold |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi, There's nothing built in so you would need to modify showSearchResults.asp to achieve what your after.
There IS code in there to split up the string that looks for delimiters of : AND, and, commas, OR, or, spaces or ***. See the lines :- TestWord="" if intExact<>"1" then and examine the code beyond there - It splits up the search string (If exact phrase has not been selected) and then builds the query for the search. Edited by Hamish - 01-July-2008 at 6:25pm |
|
njessen42
Groupie Joined: 12-November-2007 Location: Spokane, WA Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thanks Hammish, I will check it out and post if we are successful.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |