Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Exact Phrase Search

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-06-2007, 08:33 AM
 
monergism monergism is offline
 

Newbie
  
Join Date: Jun 2007
Posts: 7
 

Default Exact Phrase Search

I'd like to have the default search search by exact phrase rather than whatever it defaults to. Is there a way of doing that? Is that something that can be modified in search.php or in /customer/search.tpl?

Thanks for any help...
__________________
xcart gold - 4.1.8
Reply With Quote
  #2  
Old 09-06-2007, 09:18 AM
 
spence spence is offline
 

Advanced Member
  
Join Date: Sep 2007
Location: Seattle WA
Posts: 53
 

Default Re: Exact Phrase Search

I am new to X-Cart so take this with a grain of salt. In the admin area under general settings there is an option for this I think.

Allow searching by individual words of a search phrase:

In search.php I see an If statement that says the same thing. More than likely this is the toggle in the admin area.

if ($config['General']['allow_search_by_words'] == 'Y')
$allowable_search_fields[] = 'including';
__________________
xcart v4.1.8 [Linux]
MacPro Quad 10gb Ram
http://www.ecarttemplates.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:59 AM.

   

 
X-Cart forums © 2001-2020