Author Topic: Hide search box when more than 4 children are displayed?  (Read 131 times)

serazoo

  • Beginner
  • *
  • Posts: 27
Hide search box when more than 4 children are displayed?
« 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


GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10027
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Hide search box when more than 4 children are displayed?
« Reply #1 on: January 12, 2021, 17:28:31 pm »
disable "Use jQuery chosen for dropdowns in FE" in VM config->config->templates
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

serazoo

  • Beginner
  • *
  • Posts: 27
Re: Hide search box when more than 4 children are displayed?
« Reply #2 on: January 12, 2021, 17:36:28 pm »
This was so much easier than I thought!
Thank you GJC!