• Hi there,

    I hope you’re doing well ??

    I updated the wishlist plugin and now the ad-to-wishlist-button is no longer displayed in the related products loop on the product page. If I switch to new products, the button becomes visible.

    To test whether it is the theme, I have tried other themes and disabled plugins, but unfortunately without result. Can you help me make the ad-to-wishlist-button visible again? To indicate the difference, I have placed both product loops at the bottom of the product page.

    Thanks a lot for your response.

    Hoogy

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hi Hoogy,
    thanks for contacting us!

    To fix that, please add the following code in the functions.php file of your active child theme:

    if ( ! function_exists( 'yith_wcwl_reload_fragments' ) ) {
    function yith_wcwl_reload_fragments() {
    $jquery = 'jQuery( document ).ready( function($) {
    jQuery(document).trigger( 'yith_wcwl_reload_fragments' );
    });';
    wp_add_inline_script( 'jquery-yith-wcwl', $jquery );
    wp_add_inline_script( 'jquery-yith-wcwl-user', $jquery );
    }
    add_action( 'wp_enqueue_scripts', 'yith_wcwl_reload_fragments', 99 );
    }

    Could you check it, please?

    Best regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.