News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart Search

Started by joe69, October 28, 2012, 10:51:37 AM

Previous topic - Next topic

joe69

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


ivowolfen

#1
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!

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

:-/
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
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25