VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: serazoo on January 12, 2021, 17:14:47 PM

Title: Hide search box when more than 4 children are displayed?
Post by: serazoo on January 12, 2021, 17:14:47 PM
Hello VM community

I searched the forum, can't find an answer  :'(
If there are more than 4 children in parent product, a search box appears, I want to hide it, disable it or modify 4 to 100

in revious versions, I add   .chzn-search { display: none; }
to  root\com_virtuemart\components\com_virtuemart\assets\css\chosen.css

This is not working anymore
Any thoughts?
thx

Title: Re: Hide search box when more than 4 children are displayed?
Post by: GJC Web Design on January 12, 2021, 17:28:31 PM
disable "Use jQuery chosen for dropdowns in FE" in VM config->config->templates
Title: Re: Hide search box when more than 4 children are displayed?
Post by: serazoo on January 12, 2021, 17:36:28 PM
This was so much easier than I thought!
Thank you GJC!