Support » Theme: YITH Proteo » Select2

  • nknov12


    Hi, I’m trying out the proteo theme.

    There is a SearchandFilter plugin that I’m using that refreshes search results on Ajax calls. However when it refreshes the results, all the Select2 classes and spans are lost. What is the proper way to re-load the Select2 classes within this block.

    <script>(function ( $ ) {
    “use strict”;
    $(document).on(“sf:ajaxfinish”, “.searchandfilter”, function(){
    // call your script or function here

Viewing 1 replies (of 1 total)
  • Theme Author YITHEMES


    Hi there,
    Proteo is using SelectWoo.
    So you can try calling it this way (inside the comment //call your script or function here)

    if (typeof $.fn.selectWoo !== 'undefined') {
    	    'minimumResultsForSearch': 7

    Please let me know

Viewing 1 replies (of 1 total)
  • The topic ‘Select2’ is closed to new replies.