MikeIsTheBest

My feedback

  1. 183 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    MikeIsTheBest supported this idea  · 
    An error occurred while saving the comment
    MikeIsTheBest commented  · 

    I can't believe YITH does a better job on this feature than WooCommerce themselves. Embarrassing to say the least and I will be switching to YITH products moving forward. For anyone looking for a quick and dirty solution, try the following in your child theme's functions.php file:

    add_action( 'init', 'remove_validation_cart' );
    function remove_validation_cart(){
    remove_filter( 'woocommerce_add_to_cart_validation', array( $GLOBALS['wc_pre_orders']->cart, 'validate_cart' ), 15, 2 );
    }

Feedback and Knowledge Base