Jump to content

Search results exclude products with a dash "-"


Recommended Posts

Hello,

 

I have products with reference codes that include a dash (for example, t-1) and these products are excluded from search results.  Is there a way to treat the dash as a character so that the products turn up in the searches.

 

The minimum word length is set to 2 in the backoffice.  Prestashop 1.6.0.9

 

 

Thanks

 

 

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...

I have this issue too, I'm trying to get to the bottom of this but no luck so far so if anyone knows how to solve.

I have oil products with stuff like 5W-30 ; 15W-40 etc in it so I need the dashes to work.

 

cheers

Link to comment
Share on other sites

So I've noticed that these settings seem to work (see image).

When I disable instant search dashes are not included in some search results for example "5W-30" where "15W-30" does work. Min word length to 2 might not be needed, this setting is still a mystery to me as changing it doesn't change anything to the end results in my tests. So yeah ... fun with Prestashop.

 

RDcNo2S.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...