Javascript conflict with YITH WooCommerce Wishlist plugin

There is a javascript conflict with the YITH WooCommerce Wishlist plugin found on WordPress.org which causes an error on the WooCommerce Wholesale Order Form ordering page.

This occurs after the product is added to the cart and persists regardless of which style layout you are using.

Once the YITH WooCommerce Wishlist plugin is disabled, the issue appears to go away.

If you wish to keep using the two plugins together you can install the following workaround which removes the YITH script files on the Order Form page.

Just add this to your functions.php :

function dequeueYITHOnOrderPage() {
    if (is_page('wholesale-page')) // adjust this to the slug of your wholesale ordering page, wholesale-page is the default
        wp_dequeue_script( 'jquery-yith-wcwl' );
}

add_action('wp_enqueue_scripts', 'dequeueYITHOnOrderPage', 999);

Solve The Big Three Problems With Wholesaling In WooCommerce

Add wholesale pricing to products   Streamline your ordering   Register & manage wholesale customer

Explore The Plugin Suite  

[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet_bg']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']
[data-image-id='gourmet']