VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Budrys on July 10, 2019, 07:52:54 AM

Title: Serching product
Post by: Budrys on July 10, 2019, 07:52:54 AM
Hello.

On my page I have enabled searching module.

Now when I try to fing f.e. "GOLF V" in product list I get all product with "GOLF" and with "V" in name.
How to setup that to show only products with whole "GOLF V" in name?
Title: Re: Serching product
Post by: Budrys on July 15, 2019, 08:54:29 AM
Anybody?
Title: Re: Serching product
Post by: Budrys on July 25, 2019, 08:57:10 AM
Has anybody any idea?
Title: Re: Serching product
Post by: jjk on July 25, 2019, 10:35:59 AM
I suppose that is currently not possible. The VirtueMart search plugin is based on Joomla's com_search and that one doesn't have the capability to do this. See https://github.com/joomla/joomla-cms/issues/17751 for an explanation.
Title: Re: Serching product
Post by: balai on July 25, 2019, 10:47:54 AM
If you want to solve your problem by using a 3rd party search solution, please check Custom Filters. It will give you exactly what you search for.
https://breakdesigns.net/extensions/joomla/custom-filters
Title: Re: Serching product
Post by: Jörgen on July 25, 2019, 11:09:50 AM
I can confirm what balai is saying I am using the Custom filters for years and the search works like described here.

Jörgen @ Kreativ Fotografi
Title: Re: Serching product
Post by: jjk on July 25, 2019, 11:20:27 AM
As far as I know it would not only find 'Golf V' but also 'Golf VI' and 'Golf VII'. Correct me if I'm wrong.
Title: Re: Serching product
Post by: Jörgen on July 25, 2019, 11:41:52 AM
@jjc You seem to be correct, but it is better than all that includes GOLF and V.

Jörgen @ Kreativ Fotografi
Title: Re: Serching product
Post by: balai on July 25, 2019, 11:52:38 AM
Quote from: jjk on July 25, 2019, 11:20:27 AM
As far as I know it would not only find 'Golf V' but also 'Golf VI' and 'Golf VII'. Correct me if I'm wrong.

If you search for 'Golf V' in the product name, it will return any product name that includes 'Golf V'. Hence Golf VI' and 'Golf VII' are valid results in that case.
This seems correct from my point of view
Title: Re: Serching product
Post by: Budrys on August 09, 2019, 14:31:48 PM
I got Custom filters.

but results page looks like doesn't grabbing my template configuration.
Title: Re: Serching product
Post by: GJC Web Design on August 09, 2019, 16:03:11 PM
Then contact balai about this