Guest OTD Posted June 8, 2007 Share Posted June 8, 2007 Wondering if any one knows how to change the search code on cubecart so when you search for two words..for example "search this" where there is a space between both words, this will bring up everything in our shop because there is a space in the search, but we want it only to bring up the relevant words that are being searched and not include the spaces in the search. any one help?? Many Thanks Chris Quote Link to comment Share on other sites More sharing options...
roban Posted June 8, 2007 Share Posted June 8, 2007 Edit includes/content/viewCat.inc.php, around line 102. Change: if(($ucSearchTerm!=="AND") || ($ucSearchTerm!=="OR")){ To: if(($ucSearchTerm!=="AND") && ($ucSearchTerm!=="OR")){ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.