NOT operand or (-) Search Results Question?
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=1788
Printed Date: 27-November-2024 at 2:43pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: NOT operand or (-) Search Results Question?
Posted By: njessen42
Subject: NOT operand or (-) Search Results Question?
Date 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 - 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
|
Replies:
Posted By: Hamish
Date Posted: 01-July-2008 at 6:24pm
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.
------------- Editing ProductCart Code?
See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code
|
Posted By: njessen42
Date Posted: 02-July-2008 at 11:21am
Thanks Hammish, I will check it out and post if we are successful.
|
|