Conflict with Product Filters For Woocommerce
-
We’ve been using the plugin for a few years and previously had compatibility issues with the Product Filters For Woocommerce plugin. This was solved by adding the script below.
if ( ! function_exists( 'yith_infs_customization_wc_product_filters' ) ) { add_action( 'wp_enqueue_scripts', 'yith_infs_customization_wc_product_filters', 99 ); function yith_infs_customization_wc_product_filters() { $js = "( function( $ ){ $( window ).on( 'wcpf_before_ajax_filtering', function(){ $( window ).unbind( 'yith_infs_start' ); }); $( window ).on( 'wcpf_after_ajax_filtering', function(){ $( yith_infs.contentSelector ).yit_infinitescroll( infinite_scroll ); }); } )( jQuery );"; wp_add_inline_script( 'yith-infs', $js ); } }
However, we recently changed the category display type from “product” to “subcategories” for a few of our categories and the problem has returned. Only the first 12 products (in our case) loads. Only when refreshing the page does the rest of the products appear.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conflict with Product Filters For Woocommerce’ is closed to new replies.