Dear sir,
Please go to file: wp-content\plugins\sw_woocommerce\includes\woocommerce-hook.php And change code:
$yith_compare = new YITH_Woocompare_Frontend();
add_shortcode( 'yith_compare_button', array( $yith_compare , 'compare_button_sc' ) );
$html .= do_shortcode( "[yith_compare_button]" );
CHANGE TO=>
$html .= '<div class="compare-button"><a href="javascript:void(0)" class="compare button" data-product_id="'. $product_id .'" rel="nofollow">'. esc_html__( 'Compare', 'furnicom' ) .'</a></div>';
Thanks & regards!