If you want to change the WooCommerce continue shopping URL in WordPress, then place the place the following snippet in functions.php file within your theme folder!.

The WooCommerce continue shopping button will use your shop archive to send customers back to the shop page. The following code will redirect to home page when you click continue shopping button in your cart page.

function change_continue_shopping_button_url() {
	return site_url();	
}
add_filter( 'woocommerce_continue_shopping_redirect', 'change_continue_shopping_button_url' );

Have any doubt, then comment here!

1 Comment on Change the WooCommerce continue shopping URL in WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *