• it is possible to disable QuickView button and make open QuickView when you click on the product image and title

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    you need to customize the quick view trigger button.
    For remove the button use this code ( paste it on your theme’s functions.php file )

    add_action( 'template_redirect', 'yith_wcqv_remove_button' );
    function yith_wcqv_remove_button(){
    	if( function_exists('YITH_WCQV_Frontend') ) {
    		remove_action( 'woocommerce_after_shop_loop_item', array( YITH_WCQV_Frontend(), 'yith_add_quick_view_button' ), 15 );
    	}
    }

    Then you need to wrap the product image and the title using tag “a” with this class “yith-wcqv-button” and specifing the product id, like:

    <a href="#" class="yith-wcqv-button" data-product_id="<em>the product id</em>"></a>

    Let me know, regards. ??

    • This reply was modified 8 years, 4 months ago by YITHEMES.
    • This reply was modified 8 years, 4 months ago by YITHEMES.
Viewing 1 replies (of 1 total)
  • The topic ‘Quickview on the thumb and title product’ is closed to new replies.