VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: serazoo on October 02, 2019, 05:46:12 AM

Title: Search box appears in «generic child variant»
Post by: serazoo on October 02, 2019, 05:46:12 AM
Hello all

Custom fields, using the «generic child variant»
If I have 5 or more children of the main product, a search box appears... I would like it to disappear or maybe increase the threshold for when this search field appears to something like 20...

it could be a reference to "chzn-search" .. there are a couple of css...

but I've searched php files for :   >4    or    >=5

No luck, pretty frustrating..
please help  :'(


I'm using VirtueMart 3.6.2 10159
Title: Re: Search box appears in «generic child variant»
Post by: jenkinhill on October 02, 2019, 12:02:27 PM
Please:  http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: Search box appears in «generic child variant»
Post by: serazoo on October 02, 2019, 12:43:24 PM

Really sorry Kelvyn, I'm using VirtueMart 3.6.2 10159  :-[
Title: Re: Search box appears in «generic child variant»
Post by: Studio 42 on October 02, 2019, 13:41:08 PM
Quote from: serazoo on October 02, 2019, 05:46:12 AM

but I've searched php files for :   >4    or    >=5

No luck, pretty frustrating..
The default value is in the choosen javascript, so you cant find it in PHP
See https://harvesthq.github.io/chosen/ for some demo and all options here : https://harvesthq.github.io/chosen/options.html
Title: Re: Search box appears in «generic child variant»
Post by: serazoo on October 02, 2019, 14:03:53 PM
Thank you! Makes sense, this gives me trail to follow :)