Hi! I'm using virtuemart 3.0.8.
I would like to know where is the file where I can change the query of search module.
Do you know what is / are the file/files?
Thank you!
what are you trying to do?
I've a category that i've called "Motors". In this category i've a product that i've called "motore volvo".
Now: if i search with "motore volvo" , I found it. But if i wrote "volvo motore" i don't find it. I would like that the search query would be with "like" and not equal...
Hope that i'm clear :D
the queries are in the admin->models-> product.php
Thanks for the reply..
But what is the query that virtuemart executes with the search module?
can't remember the exact function name but it is very obvious in that file - + extremely complex
The query is generated in the file: administrator/components/com_virtuemart/models/product.php
function sortSearchListQuery
Btw. This functionality exists in the Custom Filters PRO extension, if want to use a 3rd party for search
https://breakdesigns.net/extensions/custom-filters