News:

Support the VirtueMart project and become a member

Main Menu

Bug with searching products by sku in Admin Panel

Started by Joe Bourque, August 21, 2012, 18:38:39 PM

Previous topic - Next topic

Joe Bourque

When searching for products by sku No products are returned

The fix is as follows:

In file administrator/components/com_virtuemart/models/product.php

Around Line 151 Replace This:
Code: [Select]

$valid_search_fields = array('product_name');

With This:
Code: [Select]

$valid_search_fields = array('product_name','product_sku');


Milbo

You do not say your version. This should be already fixed for 2.0.8e and we have now 2.0.9
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Joe Bourque

Sorry Milbo I am using 2.0.8 didn't see 2.0.9 was out  :-\

Joe Bourque

I went back and looked an the version I'm running is 2.0.8e and the fix was not in that version.

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/