VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: achilleas on April 23, 2012, 00:07:14 AM

Title: VM Search module with terms
Post by: achilleas on April 23, 2012, 00:07:14 AM
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
Title: Re: VM Search module with terms
Post by: achilleas on April 24, 2012, 07:42:45 AM
just a friendly pump
Title: Re: VM Search module with terms
Post by: achilleas on April 26, 2012, 11:14:31 AM
nobody?
Title: Re: VM Search module with terms
Post by: achilleas on May 13, 2012, 00:08:14 AM
So there is no easy way to make the VM search module work with AND and OR terms?
Title: Re: VM Search module with terms
Post by: usermee on September 16, 2013, 23:49:50 PM
Hello achilleas, I have the same issue, were you able to resolve this?
Title: Re: VM Search module with terms
Post by: PRO on September 17, 2013, 02:59:47 AM
in vmart configuration

product order settings,

what do you have checked as searchable?
Title: Re: VM Search module with terms
Post by: 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
Title: Re: VM Search module with terms
Post by: PRO on September 17, 2013, 03:56:03 AM
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?
Title: Re: VM Search module with terms
Post by: usermee on September 17, 2013, 04:00:07 AM
VM 2.0.22b
Joomla! 2.5.14
Title: Re: VM Search module with terms
Post by: PRO on September 18, 2013, 03:53:25 AM
post your url
Title: Re: VM Search module with terms
Post by: PRO on September 19, 2013, 00:36:21 AM
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.
Title: Re: VM Search module with terms
Post by: usermee on September 19, 2013, 11:00:02 AM
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?
Title: Re: VM Search module with terms
Post by: PRO on September 20, 2013, 21:17:46 PM
i dont know what else you can try. I do not have problems like this.

Title: Re: VM Search module with terms
Post by: 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.
Title: Re: VM Search module with terms
Post by: usermee on September 21, 2013, 00:36:17 AM
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.
Title: Re: VM Search module with terms
Post by: PRO on September 25, 2013, 19:41:22 PM
my products are a little different than that.

I do not market by "brand & model"
Title: Re: VM Search module with terms
Post by: ereallstaff on September 26, 2013, 08:46:34 AM
The problem is that if I search for "Pants Black" only product with this exact string are thrown  while in virtuemart 1 wasn't so.

So searching for "Pants Black" lists f.e.   "Jocke Pants Black Light Fabric " product but not   "Pants Jocke Black Light Fabric "   ( not contiguos ) or Jocke Black Pants Light Fabric ( inverted order )

I have claimed about that long time ago too, but was told that was a mine problem. Now seems not only mine for a good luck :D

p.s.
My "Sorry what this discussion is about? was edited, as for some strange reasons before reply there weren't links for other pages.