Jump to content

[Solved] Problem with search title with more than 70 characters


Recommended Posts

hello

as far as i remember prestashop has got constant 

PS_SEARCH_MAX_WORD_LENGTH

it defines max length of word to search

 

but in fact, value of this constant is 15

 

you can change it in classes/Search.php at the top of this file

Link to comment
Share on other sites

Hello,

thanks for your reply,

but, PS_SEARCH_MAX_WORD_LENGTH is for lenght of keyword in search module.

 

I need to search item in title of products, collocated over the 70th position.

For ex:  Decolletè Spuntate Zeppa Scarpe Donna Decoltè Tacco Strass High Heels TL-10

if I search TL-10 I've No results.

 

I don't know if is the same problem, but in Back Office, Catalog->Product, in SEO filed, this title have lenght -5 (see pics)

post-302450-0-59531800-1398529062_thumb.png

Link to comment
Share on other sites

×
×
  • Create New...