From c972b7dbd648fa74d1c044889d5375daf0a0082b Mon Sep 17 00:00:00 2001 From: Jason King Date: Fri, 14 Apr 2017 20:20:10 +0930 Subject: [PATCH] Woocommerce 3.0.0 Support --- woocommerce/loop/add-to-cart.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/woocommerce/loop/add-to-cart.php b/woocommerce/loop/add-to-cart.php index a6f9900..f8b12e1 100644 --- a/woocommerce/loop/add-to-cart.php +++ b/woocommerce/loop/add-to-cart.php @@ -1,7 +1,7 @@ id ), esc_attr( $product->get_sku() ), - // TODO: load add to cart button class from customizer? -// esc_attr( isset( $class ) ? $class : 'button' ), esc_html( $product->add_to_cart_text() ) ), $product );