News:

Looking for documentation? Take a look on our wiki

Main Menu

VM Search module with terms

Started by achilleas, April 23, 2012, 00:07:14 AM

Previous topic - Next topic

achilleas

In VM 1 the search worked like this:
Lets' say we have a product named : "My best red product"
If you searched for "best product" you had 1 result the "My best red product"

In VM 2 if you make the same search "best product" you come up with No results. I tried "best + product" I tried "best AND product" but no luck at all. Is there any solution to this?

The search plugin works fine (like VM1)

The search module doesnt

achilleas



achilleas

So there is no easy way to make the VM search module work with AND and OR terms?

usermee

Hello achilleas, I have the same issue, were you able to resolve this?

PRO

in vmart configuration

product order settings,

what do you have checked as searchable?

usermee

#6
Hi, these are what I have enabled:

Product Name
Category Name
Product Price
Product Description
Category Description
Manufacturer Name
Product in stock

My exact problem is described here:

http://forum.virtuemart.net/index.php?topic=102965.msg403285#msg403285

PRO

Quote from: usermee on September 17, 2013, 03:01:52 AM
Hi, these are what I have enabled:

Product Name
Category Name
Product Price
Product Description
Category Description
Manufacturer Name
Product in stock

My exact problem is described here:

http://forum.virtuemart.net/index.php?topic=102965.msg403285#msg403285


what version are you using?

usermee


PRO


PRO

what happens with a standard joomla template without override?

I made this module for my site.
http://www.kaizenmediaworks.com/mod-pro-search-header
It adds links to what you want based on words.

usermee

I have tried the standard template with the exact same result.

Thanks for the link, however I have quite a lot of products listed already +- 450 with many more to come, with your module I would have to specify a link for each product if I understand what it does correctly?

PRO

i dont know what else you can try. I do not have problems like this.


usermee

#13
Which php file should I check out, i think it may be missing a "%" in between each term used to search, if I search directly in the DB and use % between each term I can find the product no matter the order it is typed in.

usermee

Quote from: usermee on September 20, 2013, 23:56:27 PM
Which php file should I check out, i think it may be missing a "%" in between each term used to search, if I search directly in the DB and use % between each term I can find the product no matter the order it is typed in.

There's something weird going on with searches in the DB, could it be a funky version of MySQL my hosting company is using that could be causing this?
Did you add a similar worded title to your test shop and perform searches such as described by me and it worked properly? I.E. Adding a product called:

Splatterhouse (PS3)(Pwned)

and then trying to search for say:

pwned splatterhouse

as that provides me with zero matches currently.