Joomla 2.5
virtuemart 2.0.10
Does anyone know how we can get the virtuemart search module to search by product sku...........
I really really need this function also. It was working fine in VM 1, but search for SKU in VM 2 returns 0 results.
There seems to be quite a lot of requests/questions regarding this, but no real answers?
Please advise?
Thanks,
Peter
Hello,
Please take look here: http://forum.virtuemart.net/index.php?topic=109318.msg366139#msg366139
This code part has been added for the next release. You could add it and to your current version also.
Regards
Well, thanks for the answer. However the suggested page is regarding adding dashes to the search string.
My problem is that searches for numbers return 0 results, unless the number is part of the product name, or description. If I search for the SKU number alone, I get 0 results.
When looking at the code:
var $valid_BE_search_fields = array('product_name', 'product_sku', 'product_s_desc', '`l`.`metadesc`');
SKU should be included, but it does not work for me?
Searching for SKU numbers is critical for the shop, so I really need a solution?
Thanks,
Peter
Hello,
I am checking it to be sure, the dev team also.
Regards
Please can you check if under Configuration -> Product Order Settings you have enable sku under available search fields?
The issue that have been reported have to do with "-" that have been fixed for the next release.
Regards