VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: role74 on June 15, 2015, 07:37:22 AM

Title: BE Product search field doesn't support mpn anymore
Post by: role74 on June 15, 2015, 07:37:22 AM
Hi there

Since upgrading to VM3 I've a very small issue:
In the backend product listing I can't use the MPN for the product search field. In VM2 you were able to enter the MPN and it filtered/searched for the correct products. VM3 doesn't...

Any idea how to get back this functionality since it's very helpful to handle stocks using the MPN straight.

VM3.0.8
Joomla 2.5.28

thanks alot
-roland
Title: Re: BE Product search field doesn't support mpn anymore
Post by: Milbo on June 15, 2015, 10:22:08 AM
Right, changed it.

product model, function updateRequests

around line 173, use


$valid_search_fields = VmConfig::get ('browse_search_fields');
$valid_search_fields = array_unique(array_merge($this->valid_BE_search_fields, $valid_search_fields));
Title: Re: BE Product search field doesn't support mpn anymore
Post by: role74 on July 15, 2015, 21:38:44 PM
Thanks!

It works now. Can you tell me what VM version this fix will be integrated to?

cheers
-role
Title: Re: BE Product search field doesn't support mpn anymore
Post by: jenkinhill on July 15, 2015, 23:49:00 PM
AFAIK that is incorporated in VM3.0.10 which is under testing.  It will be in SVN.
Title: Re: BE Product search field doesn't support mpn anymore
Post by: role74 on November 03, 2017, 11:12:14 AM
Hi Everybody

Using VM 3.2.4 with J3.8.0 and it doesn't work again. Searching for the MPN returns no results, but would be very helpful for managing the products.

any ideas?

bestr regards from switzerland
-role
Title: Re: BE Product search field doesn't support mpn anymore
Post by: Milbo on November 04, 2017, 00:01:18 AM
Maybe there is a vm config setting for it?