News:

Support the VirtueMart project and become a member

Main Menu

Product search with multiple words

Started by Gipa, February 05, 2013, 15:32:00 PM

Previous topic - Next topic

Gipa

Hi

I'm on the latest version of VM and have a problem with the search module.

I want to find a product called "Scotte 7", but when I search for it, I find all products that contain EITHER "scotte" or "7". That gives me 43 results in stead of just the 3 that are relevant.

Is there any way to change the search, so the results have to contain ALL the words searched for...?
Maybe a setting, another search module/plugin, a change in the code or...?


:)     Rie

Gipa

No-one knows this...?

It works perfectly in backend, but not in frontend...     :'(

isuv

Quote from: Gipa on February 05, 2013, 15:32:00 PM
Hi

I'm on the latest version of VM and have a problem with the search module.

I want to find a product called "Scotte 7", but when I search for it, I find all products that contain EITHER "scotte" or "7". That gives me 43 results in stead of just the 3 that are relevant.

Is there any way to change the search, so the results have to contain ALL the words searched for...?
Maybe a setting, another search module/plugin, a change in the code or...?


:)     Rie

Hi, I had similar problems. I reduced number of active Available Search Fields in the "Product order settings" tab (in Configuration part) to product name and product SKU and it is OK for me. But I still have problems with some simbols like "/" (we rather often have such simbol in our SKU). Hope, my answer will be helpful.