Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global $woocommerce;
- if ( sizeof( $woocommerce->cart->cart_contents) > 0 ) :
- echo '<a href="' . $woocommerce->cart->get_checkout_url() . '" title="' . __( 'Checkout' ) . '">' . __( 'Checkout' ) . '</a>';
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement