VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: smimish on August 19, 2012, 17:32:54 PM

Title: Search by SKU does not work in the virtuemart "Search" module
Post by: smimish on August 19, 2012, 17:32:54 PM
Hi,
I have "Product SKU" selected in the backend settings (Available Search Fields), however when trying to search for a specific SKU the search in the main page, this does not return me the product.
2.0.6 && 2.0.9b
Title: Re: Search by SKU does not work in the virtuemart "Search" module
Post by: Deepjungle on September 01, 2012, 13:39:54 PM
I have the same problem, using 2.0.10. I use product sku's like XX 11-234. When i try to search the minus gets filtered out an only XX 11234 stand in the search form.
Seems to be a regex or filter problem with the search strings.
Title: Re: Search by SKU does not work in the virtuemart "Search" module
Post by: gunblaze on September 25, 2012, 09:33:14 AM
virtuemart search doesn't work with dashes or spaces. You can try just inputting one section of your search input. Maybe the most unique part of your code. ie: i believe would be 234 and see if it works. solved mine like this. Hopefully, someone can offer a solution to improve the search plugin be it by coding or providing a new plugin.