Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Default product search in Admin Rate Topic   - - - - -

 
  • YouRockDaddy
  • Senior Member
  • Members
  • Join Date: 11-Apr 06
  • 319 posts

Posted 30 August 2011 - 02:17 AM #1

How can I change the default product search in the admin from "Any of there words" to be "exact phrase"

Thanks

 
  • YouRockDaddy
  • Senior Member
  • Members
  • Join Date: 11-Apr 06
  • 319 posts

Posted 02 October 2011 - 04:40 PM #2

How can I change the default product search in the admin from "Any of there words" to be "exact phrase"

Thanks



Can anyone assist with this?

 

Posted 02 October 2011 - 09:10 PM #3

In 2.2.1 (should be the same for other versions)

skins/<your skin>/admin/views/products/components/product_search_form.tpl

change the order they are displayed:
<select name="match">
<option value="exact" {if $search.match == "exact"}selected="selected"{/if}>{$lang.exact_phrase}</option>
<option value="any" {if $search.match == "any"}selected="selected"{/if}>{$lang.any_words}</option>
<option value="all" {if $search.match == "all"}selected="selected"{/if}>{$lang.all_words}</option>
</select>

John
John Carroll
My Webshop: Alpha Spas