Add Continue Shopping Button on WooCommerce Cart Page

If you think that a continue shopping button missing from Cart Page on WooCommerce you can easily add a “Continue Shopping” button by following the below instructions.


A small code snippet to add inside functions.php on your child theme if you want to add a continue shopping button on Cart Page

add_action('woocommerce_before_cart_totals', 'wpslash_continue_shopping_hook');

function wpslash_continue_shopping_hook() { ?>
<a class="button wc-backward" href="<?php echo esc_url( wc_get_page_permalink( 'shop' ) ); ?>"> <?php _e( 'Continue Shopping', 'woofood' ) ?> </a>