Jump to content

Problem With Search Result


hyrrad
 Share

Recommended Posts

Hello. I have a problem with my products search results.

for example if i search "5010", the result will be products that have "5010" in their name.

but if i search for example "battery 5010" the result will be products that have "battery" OR "5010" in their name. but I want products that have "battery" AND "5010" in their name.

How can I achive this?

------------------------

I use Prestashop 1.6.1.24

Edited by hyrrad
Added Prestashop version (see edit history)

Share this post


Link to post
Share on other sites

5 hours ago, hyrrad said:

but if i search for example "battery 5010" the result will be products that have "battery" OR "5010" in their name. but I want products that have "battery" AND "5010" in their name.

This is how Prestashop works. For another approach you need a module. Try to find one that uses Elasticsearch.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More