News:

Support the VirtueMart project and become a member

Main Menu

Serching product

Started by Budrys, July 10, 2019, 07:52:54 AM

Previous topic - Next topic

Budrys

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?

Budrys


Budrys


jjk

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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

balai

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

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jjk

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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jörgen

@jjc You seem to be correct, but it is better than all that includes GOLF and V.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

balai

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

Budrys

I got Custom filters.

but results page looks like doesn't grabbing my template configuration.

GJC Web Design

Then contact balai about this
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation