woocommerce check if cart is not empty

62

woocommerce check if cart is not empty -

if ( WC()->cart->get_cart_contents_count() == 0 ) {
        // Do something fun
}

Comments

Submit
0 Comments