• Resolved jaimevives

    (@jaimevives)


    I had the “WooCommerce Cart Tab” plugin installed prior to installing “YITH Woocommerce Compare”. It works fine except for one detail: the compare popup is showing the contents of the Cart Tab at the end, just below the compare table. It’s as if showing the compare popup triggers the showing of the Cart Tab. Any ideas on how to solve this problem? Thanks in advance…


    jaime

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    this is caused by the WooCommerce Cart Tab plugin that adds the template using wp_footer action. To solve this issue please make sure to have the latest plugin version installed and then try to use this custom code, so copy and paste it on the functions.php of your theme

    if( ! function_exists( 'yith_woocompare_remove_wct_action' ) ) {
    	function yith_woocompare_remove_wct_action(){
    		remove_action( 'wp_footer', 'woocommerce_cart_tab' );
    	}
    	add_action( 'yith_woocompare_before_main_table', 'yith_woocompare_remove_wct_action' );
    }

    Let me know! 🙂

    Thread Starter jaimevives

    (@jaimevives)

    It worked perfectly… thanks!

    • This reply was modified 6 years, 4 months ago by jaimevives.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with “WooCommerce Cart Tab” plugin?’ is closed to new replies.