• Resolved Jhou de Carvalho

    (@jhoudecarvalho)


    it is possible that by clicking on any brand, it already does the search for the product without me needing to click on “procurar produtos”

    View post on imgur.com

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor titodevera

    (@titodevera)

    Hi jhoudecarvalho.

    You can do it with jQuery.

    
    jQuery(document).ready(function(){
    
      if( jQuery('.pwb-filter-products').length ){
        jQuery('.pwb-filter-products input[type="checkbox"]').on('change', function(){
          jQuery(this).closest('.pwb-filter-products').find('button').trigger('click');
        });
      }
    
    });
    

    Also you can hide the button with css:

    
    .pwb-filter-products button{
     display: none;
    }
    

    I will consider include this feature for next releases.

    ??

    Thread Starter Jhou de Carvalho

    (@jhoudecarvalho)

    tnks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto select checkbox’ is closed to new replies.