Skip to Content

How To Change Return To Shop Link In Woocommerce?

This content may contain links to products, software and services. Please assume all such links are affiliate links which may result in my earning commissions and fees.

The Return to Shop button is one of the most important links for guiding customers through the shopping journey on a Woocommerce store.

After adding an item to their cart or completing checkout, shoppers click this button to navigate back to the main product pages and continue browsing.

Store owners can customize the text, URL destination, or remove this button completely to create a more streamlined post-purchase experience.

This article will provide actionable tips on how to change Return to Shop link in Woocommerce to improve site navigation and enhance the user flow.

Whether you want to direct customers to a specific page or remove the button entirely, we will cover the steps to configure this crucial element.

If you want to learn more you can read my other articles

How to Change Return to Shop Link in Woocommerce?

Want to customize the Return to Shop button in Woocommerce? This guide will teach you how to change the text, link URL, or remove the button completely.

Learn how to redirect shoppers to a specific product category or your homepage after purchase.

Use the Woocommerce settings to easily update the text from “Return to shop” to anything you want.

Additionally, discover how developers can programmatically change the button’s destination URL using the woocommerce_return_to_shop_redirect filter.

Whether you want to link to a custom page or remove the button from the Cart and Checkout pages, we cover all the steps needed to configure this important site navigation element in Woocommerce.

The “Return to Shop” button is displayed after customers add a product to their cart or complete checkout.

The link brings shoppers back to the main shop page to continue browsing products. Store owners can change the destination URL to improve navigation.

How to change the link to the return to shop button on WooCommerce?

Here are the detailed steps to change the link for the Return to Shop button in Woocommerce:

  1. Log in to your WordPress admin dashboard.
  2. Navigate to WooCommerce > Settings.
  3. Select the Products tab.
  4. Scroll down to the Redirect to the Shop page after successful purchase section.
  5. In the text field, enter the custom URL you want the Return to Shop button to link to after checkout. This can be:
    • Your store’s home page
    • A specific product category archive page
    • A custom landing page
    • An external URL
  6. The URL should be the full path including the domain, such as:
  7. Leave the field blank if you want to remove the button entirely.
  8. Click the Save Changes button at the bottom of the page.
  9. Test the updated link by adding a product to your cart and proceeding to checkout.
  10. When you reach the thank you/order received page, click the Return to Shop button and ensure you are redirected to the new URL.

And that’s it! The Return to Shop button will now send customers to the custom destination you set in the WooCommerce settings.

Remove return to shop button Woocommerce

If you want to remove the Return to Shop button completely rather than just changing the link URL, you can disable it in Woocommerce settings:

  1. Go to WooCommerce > Settings.
  2. Select the Advanced tab.
  3. Uncheck the box next to Redirect to the shop page after successful purchase.
  4. Click Save Changes.

The Return to Shop button will no longer be displayed after checkout.

Check out my other articles for Best Pre Order Plugin For Woocommerce


The woocommerce_return_to_shop_redirect filter allows developers to customize the Return to Shop redirect URL through code.

By using this filter in your theme’s functions.php file, you can programmatically set the button to link to any URL you want. It overrides the default shop page redirect set in the WooCommerce settings.

This gives theme developers more granular control over the post-purchase experience without needing to edit template files.

The woocommerce_return_to_shop_redirect filter allows you to programmatically change the Return to Shop redirect URL in your theme’s functions.php file. Here is an example:

add_filter( 'woocommerce_return_to_shop_redirect', 'custom_return_to_shop_url' );

function custom_return_to_shop_url() {
  return site_url( '/custom-page/' ); 

This will make the button link to /custom-page/ instead of the shop page.

Add continue shopping button to Woocommerce cart

Displaying a dedicated “Continue Shopping” button on the cart page provides an easy way for customers to navigate back to your product pages.

By adding a line of code to the cart/cart.php template, you can output a button linking back to the main shop page. Style it to match your brand, providing a seamless browsing experience.

This supplemental button gives shoppers an additional call-to-action after viewing their cart, encouraging further site navigation.

If you want to add a separate “Continue Shopping” button that links back to the shop page from the cart, use these steps:

  1. In your theme, open the cart/cart.php template file.
  2. Before the closing </div> tag for the .cart-collaterals div, add this code:
<a href="<?php echo wc_get_page_permalink( 'shop' ); ?>" class="button">Continue Shopping</a>
  1. Style the button CSS.

This will display a “Continue Shopping” button linking to the main shop page on the cart page.

Change Return To Shop Text Woocommerce

Change Return to Shop Text Woocommerce

In addition to changing the destination URL, store owners can also customize the text displayed on the Return to Shop button itself.

Through the Woocommerce settings, you can update the default “Return to shop” label to any text you want.

This allows you to promote other site pages, use more compelling calls-to-action, or simply improve the post-purchase experience for customers.

With just a few quick adjustments, the button text can be tailored to your brand.

How do I change the return to shop button text in WooCommerce?

You can easily change the text on the Return to Shop button through the Products settings tab in WooCommerce.

Follow these steps:

  1. Go to WooCommerce > Settings.
  2. Select the Products tab.
  3. Under Button text, change the default “Return to shop” text to your desired custom text.
  4. Click Save Changes.

The updated text will now display on the button.

Check out my other articles for How To Add Extra Field In Woocommerce Checkout Form?

Change add to cart text Woocommerce

To change the text on the Add to Cart button:

  1. Go to WooCommerce > Settings.
  2. Select the Products tab.
  3. Under Button text, change the “Add to cart” text.
  4. Click Save Changes.

Woocommerce change read more button text

You can change the default “Read More” button text on product archives to anything you want:

  1. Open your theme’s functions.php file.
  2. Add this code:
add_filter('woocommerce_product_add_to_cart_text', 'woo_custom_cart_button_text'); 

function woo_custom_cart_button_text() {
  return __('Custom Text', 'woocommerce'); 

Replace “Custom Text” with your desired text.

WooCommerce replace add to cart button on single product page

The standard Add to Cart button text on product pages can be changed to better fit your brand voice.

By editing the single-product/add-to-cart/simple.php template in your theme, you can replace the default text output by WooCommerce.

Swap the standard label for something more compelling like “Buy Now” or “Add to Bag”. This simple tweak allows you to customize the customer experience on a granular level.

To replace the Add to Cart button text on single product pages:

  1. Open single-product/add-to-cart/simple.php in your theme.
  2. Find <?php echo esc_html( $product->single_add_to_cart_text() ); ?>.
  3. Replace it with your custom text in php tags.

The Return to Shop button plays a critical role in guiding Woocommerce customers through the post-purchase journey.

By customizing the default text, link URL, or removing the button entirely, store owners can create a streamlined navigation experience tailored to their brand.

Implement these adjustments via the WooCommerce settings for quick changes, use code snippets to programmatically override the URL, and add supplemental buttons to further facilitate browsing.

With the ability to direct shoppers precisely where you want them to go after checkout, you can craft a cohesive site flow to engage customers.

How to change return to shop link in Woocommerce may seem minor, but optimizing it provides major usability and conversion benefits.