Forums Forums Search & Filter Pro Purchase button not working on filter

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #265069

    So when I filter the purchase buttons will not work on my site. The page is https://www.socialstudieslouisiana.com/shop/

    Anonymous
    #265081

    I fixed it by disabling AJAX

    Trevor
    #265087

    The buttons work for me?

    Anonymous
    #265200

    Thats cause I disabled AJAX. If i put AJAX on they don’t work.

    Trevor
    #265210

    Ah. So, try adding this JavaScript to the page (with Ajax enabled):

    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        $('input.edd-add-to-cart').css('display', "none");
        $('a.edd-add-to-cart').addClass('edd-has-js');
      });
    }(jQuery));</script>
Viewing 5 posts - 1 through 5 (of 5 total)