From b9e2f0340d124897c412dad60faea506262ec15e Mon Sep 17 00:00:00 2001 From: Sven Auhagen Date: Tue, 5 Jul 2016 15:02:59 +0200 Subject: [PATCH 1/2] Remove undefined variable in wcct_cart_button and hide widget on mobile devices --- cart-tab.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cart-tab.php b/cart-tab.php index 6471f45..fe8c3af 100755 --- a/cart-tab.php +++ b/cart-tab.php @@ -172,7 +172,7 @@ function woocommerce_cart_tab() { } if ( ! is_cart() && ! is_checkout() ) { - if ( 'yes' == $widget ) { + if ( 'yes' == $widget && !wp_is_mobile() ) { echo '
'; } else { echo '