• 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)
  • Plugin Support Pablo Pérez

    (@pperez001)

    Hi there,

    I’ve checked your page and it seems the category displays product instead of subcategory items as you mentioned, see the image.

    Please let us know in which page I can see your issue. Also if possible send us a screenshot of your infinite scroll selectors configuration.

    I look forward to hear from you.

    Thread Starter ecubator

    (@ecubator)

    Hi Pablo

    Yes that is correct. We’ve had to change back to showing products instead of subcategories until we can resolve the issue. I’ve updated the category below to show subcategories again.

    https://topdogtoolshop.co.za/product-category/store/plastic-fusion-equipment/

    Image of our selectors configuration here

    Plugin Support Pablo Pérez

    (@pperez001)

    Hi there,

    We’ve checked all the selector if they are correct, as your filter plugin may change any of the classes when filtering. However we couldn’t check some of them as having our plugin enabled it removes those elements. Please, if possible, disable our plugin functionality so we can check the rest of the selectors when filtering.

    Have a great day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with Product Filters For Woocommerce’ is closed to new replies.