VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: treodude on January 11, 2015, 15:33:19 PM

Title: Search Module Only Accepts Exact Terms
Post by: treodude on January 11, 2015, 15:33:19 PM
Hi there VM Forum,

Using Joomla 3.3.6 and VM 3.0.2.

Since I updated from Joomla 2.5 and VM 2 to this version, something was wrong with the search module from joomla; it only accepts exact terms, and this only applies to recently created products.
The issue goes as following: I would be looking for product with SKU 68342CCA. If I type 6834, I don't get any result, but when I use 68342CCA, I will get the product. (see https://www.edsclassic.com/index.php?searchword=6834&searchphrase=all&Itemid=0&option=com_search)
With ALL OLD PRODUCTS from pre-update, it doesnt matter. If I want product 1847V i can just type 1847 and it will show up.
How does this come?

Kind regards,

Treodude

Title: Re: Search Module Only Accepts Exact Terms
Post by: guybr on January 11, 2015, 15:46:24 PM
I'm shooting in the dark with this idea, but a lot of search engines accept a partial value if it is preceded or followed by a "%" symbol. If you test that out and it works, maybe you could use that as a search option?
Title: Re: Search Module Only Accepts Exact Terms
Post by: treodude on January 11, 2015, 16:00:17 PM
I don't think I completely understand, but I just tried using 6834%; same result.

Isnt this supposed to be an option in the plugin settings or of some sorts?
Title: Re: Search Module Only Accepts Exact Terms
Post by: balai on January 12, 2015, 12:12:31 PM
If you want to check an alternative search for VM. Look here as well.
http://breakdesigns.net/extensions/custom-filters

I don't think that it will change something to the sku search but it will for other terms (product name , categories etc)
From my point of view the sku is a unique number that referes to a specific product and has no meaning to search partialy for that.