WPSOLR Filter (Multiple Choice) not very useful for big number of facets
- MuratParticipant3 years, 3 months ago #23480
I have more than 1200 brands under the product_tags facet.
and I want to allow the user to make multiple selections
I need to have client-side filtering enable – as it is cumbersome to scroll among 100’s or facet values – similar functionality to select2 / chosen
at the same time, still want to maintain the templating of the listing to respect the HTML template defined under 2.6 (Facets list element name with #results) having value:
<span class=wpsolr_facet_label> %s <span class=term-count>%d</span> </span>wpsolrKeymaster3 years, 3 months ago #23481You could use the “Select2” facet layout as shown on video https://www.wpsolr.com/guide/video-tutorials-facets-layouts/video-setup-select2-box-facets-ajax-theme-templates-local-solrcloud/
– It is a native select2 widget
– It provides a client search box
– It supports multi-selectYou can see it in action on https://www.oemperformance.com/home/?s=&post_type=product
You must be logged in to reply to this topic.