VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: joe69 on October 28, 2012, 10:51:37 AM

Title: Virtuemart Search
Post by: joe69 on October 28, 2012, 10:51:37 AM
Hi ,

my Sku - Number are:
55-100-4
or
738012

When i search:
738012 its no Problem , he finds the Product.

But the Search have Problems with the:
-

is there a fix?

Thanks joe69

Title: Re: Virtuemart Search
Post by: ivowolfen on October 29, 2012, 08:00:54 AM
You can try this:
"you go to administrator/com_virtuemart/models/product.php
and around line 129 find


$this->keyword = vmRequest::uword ('keyword', "0", ' ');

and replace it with


$this->keyword = vmRequest::uword ('keyword', "0", ' ,-,+');

last parameter of uword is allowed characters
"
Good luck!
Title: Re: Virtuemart Search
Post by: Milbo on October 29, 2012, 14:24:19 PM
good idea, thanks added
Title: Re: Virtuemart Search
Post by: lipes on October 29, 2012, 15:23:53 PM
:-/
I added that code in file.... but doesnt work for internal "Product Search" in Administration -> Products.

Is another file for Administration Product search ?
I am trying to discover the product sku "FPD34AD-1" in back end.....
(in front end search it's working..)

Best regards