WPSOLR Filter (Multiple Choice) not very useful for big number of facets

  • Murat
    Participant
    2 years, 2 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>

    Screenshot-2021-01-07-205423

    wpsolr
    Keymaster
    2 years, 2 months ago #23481

    You 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-select

    You can see it in action on https://www.oemperformance.com/home/?s=&post_type=product

    • This reply was modified 2 years, 2 months ago by wpsolr.
    • This reply was modified 2 years, 2 months ago by wpsolr.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.