WooCommerce – Change the link of the “Continue Shopping” button

Below is a quick snippet on how to change link on the “Continue Shopping” button in cart. Hope you will find it helpful.

 * Redirect to a specific page when clicking on Continue Shopping button
 * @return void
function cart_custom_redirect_continue_shopping() {
    return 'http://www.yourwebsite.com/yourpage';
add_filter( 'woocommerce_continue_shopping_redirect', 'cart_custom_redirect_continue_shopping' );
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.00 out of 5)
vierra_brunilda@mailxu.com staffordeileen@mailxu.com hickockcindi@mailxu.com