News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

search module problem

Started by j0wnathan, November 25, 2012, 15:43:26 PM

Previous topic - Next topic

j0wnathan

Hello everyone
Really hope someone can help me!

Using VM 2.0.10, Joomla 2.5.7.

I've got a problem with the Virtuemart Search Product module.
I'm developing a webshop for educational materials. I want to make it possible for parents to use the search module to get a list of interesting products. For example if their child is in the 6th grade and wants to improve his/her english reading capabilities, they only have to search for 6th grade english (It's a Dutch website, so in this case they search for groep 6 engels). Therefore I placed each product in several categories: the subject (in this case engels) and the grades (in this case a teaching method could be applicable to children in groep 5 groep 6 groep 7 and groep 8).
When I only search for engels it works properly, same goes for searching for groep 6. But when I start combining several complete category names (for example groep 6 engels), it doesn't work.
I think the engine literally (what usually is done by using quotation marks) searches for the combination and order of the words groep, 6 and engels as in "groep 6 engels".
I could evade this problem by placing this teaching method also in the categories groep 5 engels, groep 6 engels and so on, but then the same problem occurs when you search for engels groep 6 (same words in a different order).

The teaching method is called blokboek engels, so that's my category name. The products you can buy are called blokboek engels a, blokboek engels b.
The search problem leads to the fact that if you search for engels blokboek (so again, a different order), you won't find anything!

Also when for example the product description is Hello this is the product description, you only find the product when you search for Hello this is the product description and not when you search for Hello description or description hello this is the product

So, I want the search engine to search for all possible combinations of the keywords a customer types in the module, instead of searching for using a fixed word order.

Is it possible to solve this problem? How?

Feel free to experience the problem yourselves: http://www.sbd-development.com/syws/

j0wnathan

Nobody?

Maybe there's an extension with which I can evade the problem?
A search or tagging extension or something like that?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

j0wnathan

Well, that solution might work for me. I'm surely going to try it.

Great you took the time to help me Jenkinhill, appreciate it!

j0wnathan

I finally found a solution (instead of a workaround) to this problem.
Will be in 2.0.16 and 2.1, but for anyone who's interested: https://forum.virtuemart.net/index.php?topic=102965.0