Hi,
and thank you for writing in!
You can achieve your goal by adding the following code snippet to your theme functions.php
if ( !function_exists( 'yith_wcqv_customization_quick_view_on_product_click' ) ) {
add_action( 'wp_enqueue_scripts', 'yith_wcqv_customization_quick_view_on_product_click', 99 );
function yith_wcqv_customization_quick_view_on_product_click() {
$js = "( function( $ ){
$( document ).on( 'click', '.woocommerce-loop-product__link', function (e) {
e.preventDefault();
$( this ).closest( '.product' ).find( '.yith-wcqv-button' ).trigger( 'click' );
});
} )( jQuery );";
wp_add_inline_script( 'yith-wcqv-frontend', $js );
}
}
Please try this solution and let us know if everything works fine!