• Resolved mohini108

    (@mohini108)


    hello,
    i am using the advanced product filters for woocommerce as filter plugin:
    https://moebel-guru.com/produkt-kategorie/raeume/wohnzimmer/
    pw: krishnagovinda

    and unfortunately there are issues with the wishlist-heart. i guess that through this plugin the products are loaded and the heart, which appears on hovering a product image, is gone. but only on the products which are not immediately loaded, the products on the top of the page show the heart correctly but when you scroll down there i an empty space instead of the heart, it seems to be something like a cache problem?!
    has anyone an idea how i can fix this?

    thank you,
    maria

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Antonio La Rocca

    (@therock130)

    Hi Maria

    I think the problem has to do with the fact that you’ve enabled AJAX loading for ATW buttons in plugin’s settings, and your Infinite Scrolling plugin doesn’t load ATW buttons once new products are added to the page

    You should be able to fix this by adding the following snippet of code at the end of functions.php file of your theme or child theme

    add_action( 'wp_enqueue_scripts', function() {
        wp_add_inline_script(
            'jquery-yith-wcwl',
            "jQuery( ( $ ) => {
    	    $(document).on( 'post-load', () => {
                    $(document).trigger('yith_wcwl_init');
                } );
    	} );"
        );
    } );
    
    Thread Starter mohini108

    (@mohini108)

    oh wonderful! this made it, now it works, thank you so much antonio ?? ?? ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wishlist heart disappears when using berocket ajax search filters’ is closed to new replies.