houzhongqiu Posted June 28, 2014 Share Posted June 28, 2014 why I can't search products in my webiste like, I have a product name as below. 9" Touch Screen Digitizer Glass for Tablet PC DPT 300-N3849M-A00-V1.0 I try to search 3849m on search bar,but my website can't found it product, Anybody can help me and check it what problem? my website: www.ctopu.com Link to comment Share on other sites More sharing options...
vekia Posted June 28, 2014 Share Posted June 28, 2014 and if you try to search "digitizer glass" website searchs it well? Link to comment Share on other sites More sharing options...
houzhongqiu Posted June 28, 2014 Author Share Posted June 28, 2014 and if you try to search "digitizer glass" website searchs it well? Can you tell me what reason and why? I searched other words like "L3456" it will appear Link to comment Share on other sites More sharing options...
vekia Posted June 28, 2014 Share Posted June 28, 2014 okay i probably know where the problem is, try with this: Yes, you can edit the find() method of the search.php class, lines 207, 208 ? ' \''.pSQL(Tools::substr($word, 1, PS_SEARCH_MAX_WORD_LENGTH)).'%\'' : '\''.pSQL(Tools::substr($word, 0, PS_SEARCH_MAX_WORD_LENGTH)).'%\''CHange it to ? ' \'%'.pSQL(Tools::substr($word, 1, PS_SEARCH_MAX_WORD_LENGTH)).'%\'' : '\'%'.pSQL(Tools::substr($word, 0, PS_SEARCH_MAX_WORD_LENGTH)).'%\''Please note that your search might become slower by Nemo1 Link to comment Share on other sites More sharing options...
Recommended Posts