- This topic has 4 replies, 2 voices, and was last updated 5 years, 3 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Purchase button not working on filter
So when I filter the purchase buttons will not work on my site. The page is https://www.socialstudieslouisiana.com/shop/
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>