How to Fix WooCommerce Return to Shop Button Not Showing on Cart Page
13 mins read

How to Fix WooCommerce Return to Shop Button Not Showing on Cart Page

Table of Contents

Introduction

Providing a seamless user experience is essential to operating an online store. When something breaks, even something small, it can affect your sales. One common issue many WooCommerce users face is this:
the “Return to Shop” button not showing on the cart page.

This button is supposed to guide customers back to the main shop. But for many users, it’s suddenly missing. You’re not alone if you’ve seen this problem after updating WooCommerce or changing themes. It’s more common than most store owners think.

Without this button, users might hit a dead end. On a website with an empty cart, they can become confused. And if they can’t find a way back, they may leave your site completely.

Whether you’re a store owner or a developer, this guide is for you. It’s written in clear steps to help you fix the problem quickly.

What Is the “Return to Shop” Button?

In WooCommerce, when a customer’s cart is empty, a message appears. Typically, it displays something along the lines of “Your cart is currently empty.” Along with this message, WooCommerce displays a “Return to Shop” button.

This button is important for user flow. It redirects users back to the main shop or products page. It helps prevent frustration and keeps customers moving forward.

By default, WooCommerce adds this button automatically when:

  • The cart page is empty
  • The shop page is properly set in WooCommerce settings
  • Your theme supports the cart templates correctly

But if you’re seeing the woocommerce return to shop button not showing, there’s likely a deeper issue. A missing template file, a conflicting plugin, or your theme could be the cause.

Also, some users notice the WooCommerce return to shop link not displaying even after updates. That’s because small changes in code or templates may break the layout.

Here’s what this button normally looks like:

  • It’s styled like a WooCommerce button
  • It links to your Shop page
  • It’s usually centered below the empty cart message

Causes Behind the WooCommerce Return to Shop Button Not Showing in Cart Page

If your WooCommerce cart page is missing the Return to Shop button, it can be frustrating. This button plays an important role in user navigation. When it’s gone, users often feel stuck on the empty cart page.

The most frequent causes of the missing Woocommerce back to shop button are listed below:

  1. Your Cart Is Not Empty

WooCommerce only shows this button when the cart is empty. The button won’t show up if any items are still in the cart. This is the anticipated behavior, not a bug.

To test this:

  • Go to your site’s cart page.
  • Take everything out of the cart.
  • Check again after refreshing the page.

If the cart is not empty, the return button won’t be visible.

  1. Your Theme Overrides the Cart Template

Many themes customize WooCommerce templates to control layout and style. If your theme has a custom cart-empty.php file, it may not include the return button code.

To check this:

  • Go to your theme folder.
  • Look inside the /woocommerce/cart/ directory.
  • Open cart-empty.php and look for the button code.

If the file is missing the code, the button won’t show up.

  1. The Shop Page Is Not Set Correctly

WooCommerce needs to know which page is your shop. If this setting is wrong, the button has no link to return to. As a result, the button won’t display.

To check this:

  • Go to WooCommerce > Settings > Products.
  • Look at the Shop page setting.
  • Make sure a page is selected here (usually “Shop”).

If no page is set, update it and save changes.

  1. A Plugin Conflict Is Hiding It

Sometimes, another plugin changes how the cart page works. This can block or hide the return button. Common plugin types that may cause this:

  • Caching plugins
  • Cart or checkout customizer plugins
  • Page builders with WooCommerce modules

Try disabling plugins one by one and test the cart page. This helps you find the conflict.

  1. Custom Code or Functions Removed It

If you or a developer added custom code, it may be affecting the cart. Some functions might remove default WooCommerce content, including the button.

Look for:

  • Custom snippets in functions.php
  • Filters or hooks that modify cart templates

Step-by-Step Fixes for WooCommerce Return to Shop Button Not Showing in Cart Page

Now that you know why the WooCommerce return to shop button is not showing, let’s move on to the solutions. Even if you are not a developer, following these steps will help you solve the issue.

Each fix focuses on a different possible cause. Go over each one individually until the problem is fixed.

  1. Make Sure the Cart Is Empty

It may seem simple, but many people still miss it. The Return to Shop button only shows up when there is nothing in the cart. If your cart still holds even one product, the button won’t show.

Here’s how to check:

  • Go to the cart page of your website.
  • Take everything out of the cart.
  • Refresh the page.

Now check if the button appears. If not, move on to the next step.

  1. Check the Shop Page Setting

WooCommerce needs to know which page is your shop. If the shop page is not set, the return link has nowhere to go.

To fix this:

  1. Go to your WordPress dashboard.
  2. Navigate to WooCommerce > Settings > Products.
  3. Seek out the Shop page configuration.
  4. Choose a page from the dropdown, usually called “Shop.”
  5. Save your changes.

Now refresh your cart page. If the setting was missing before, the button should now display.

  1. Inspect Your Theme’s Cart Template

Themes can override WooCommerce templates. If your theme includes a custom cart-empty.php file, it might be missing the return button code.

Follow these steps:

  • Use a file manager or FTP to open the folder containing your theme.
  • Go to: /wp-content/themes/your-theme/woocommerce/cart/
  • Check if there’s a cart-empty.php file.
  • Open it and search for this code:

<a class=”button wc-backward” href=”<?php echo esc_url( wc_get_page_permalink( ‘shop’ ) ); ?>”>

<?php _e( ‘Return to shop’, ‘woocommerce’ ); ?>

</a>

If this code is missing, add it back manually. Or copy the default template from the WooCommerce plugin folder.

  1. Add the Return to Shop Button Manually

If your theme doesn’t have the button, you can add it using a custom function or by editing the cart template.

Here’s a simple method using the cart-empty.php file:

<a class=”button wc-backward” href=”<?php echo esc_url( wc_get_page_permalink( ‘shop’ ) ); ?>”>

<?php _e( ‘Return to shop’, ‘woocommerce’ ); ?>

</a>

Place this inside the empty cart area. If you’re using a child theme, place it in:

/wp-content/themes/your-child-theme/woocommerce/cart/cart-empty.php

Ad Banner

Tip: Always use a child theme. Avoid making direct edits to the parent theme because updates can erase your modifications.

  1. Use a Custom Hook in Functions.php

Another option is to add the button using a hook. Add this to your functions.php file:

add_action( ‘woocommerce_cart_is_empty’, ‘custom_return_to_shop_button’ );

function custom_return_to_shop_button() {

echo ‘<a class=”button wc-backward” href=”‘ . esc_url( wc_get_page_permalink( ‘shop’ ) ) . ‘”>Return to shop</a>’;

}

This will insert the button every time the cart is empty. Make sure your theme supports WooCommerce hooks.

  1. Disable Conflicting Plugins

Plugins can sometimes block WooCommerce elements from loading. If your cart page layout is broken or missing parts, plugins may be the cause.

Steps to test:

  • Go to Plugins > Installed Plugins.
  • Disable all non-WooCommerce plugins.
  • Check the cart page.
  • Reactivate each plugin one at a time if the button shows.
  • Identify the problematic plugin.

Common conflict sources:

  • Page builders (Elementor, WPBakery)
  • Optimization or cache plugins
  • UX/UI customization plugins

If a plugin causes the issue, contact its developer or look for an alternative.

  1. Clear Your Site Cache

Sometimes the issue is simple: your site is showing cached content. This means your changes won’t appear until the cache is cleared.

Try this:

  • Clear your browser cache.
  • Clear your site cache (from a caching plugin or hosting panel).
  • Use incognito mode to test again.
  1. Switch to a Default Theme Temporarily

To see if your theme is the issue, try using one of the default WordPress themes, such as “Storefront” or “Twenty Twenty-Four.”

Steps:

  • Go to Appearance > Themes.
  • Activate the “Storefront” theme.
  • Check your cart page again.

If the button appears, your current theme is the issue.

You might need to get in touch with the theme creator or fix the template for your theme.

Final Tip: Use a Staging Site

Always test fixes on a staging site before applying them live. This prevents downtime and protects your store from broken layouts.

Now that you know how to fix the woocommerce return to shop link not displaying, you can bring back this helpful button in just a few steps.

Best Practices to Prevent the Issue

Once you fix the WooCommerce return to shop button not showing, it’s important to make sure the issue doesn’t return. Small updates, custom changes, or conflicts can bring it back again.

You can prevent layout issues like the missing button in your store by taking a few easy actions.

  1. Use a Child Theme

Never edit your main theme directly. Changes will be lost during theme updates. Instead, use a child theme to hold your custom code or templates.

This way, WooCommerce and theme updates won’t remove the return button again.

  1. Avoid Direct Template Edits

WooCommerce uses template files for different parts of your store. Editing these files directly can break layouts or remove buttons.

If you must edit:

  • Copy the template to your child theme.
  • Make small, controlled changes.
  • Keep a backup of the original version.
  1. Keep WooCommerce and Plugins Updated

Outdated plugins or WooCommerce versions can cause layout issues. Keep them informed at all times.

Make it a habit to:

  • Every week, check for updates.
  • Test updates on a staging site first.
  • Clear cache after updates to see changes.
  1. Use a Staging Site

A copy of your live website is called a staging site. Before making changes live, you can securely test new plugins, upgrades, or custom code here.

Many hosting companies offer this feature. It saves time and prevents mistakes on your main store.

  1. Monitor for Plugin Conflicts

Sometimes plugins work fine alone but conflict when used together. Use plugin conflict testing regularly, especially after new installs.

Signs of a conflict:

  • Missing layout elements
  • Buttons not loading
  • Broken design on cart or checkout pages

If something looks wrong, disable plugins one by one to find the cause.

When to Ask for Expert Help

You might reach a point where fixes don’t work. Maybe you’re not comfortable editing code. Or maybe the issue returns even after trying all steps.

It’s wise to consult an expert at this point.

You should contact a WooCommerce developer or support service if:

  • You use a custom theme or heavily modified store.
  • You can’t find the file or code causing the issue.
  • Fixes seem to break other parts of the cart page.

At WooHelpDesk, we help store owners with these exact issues. Whether it’s a missing button or a broken cart layout, we can fix it quickly and safely.

Conclusion

Fixing small WooCommerce issues can feel like a big task. A missing button may seem minor, but it can impact sales and user trust. Even after trying different fixes, things might not work as expected.

You don’t have to struggle alone.

At WooHelpDesk, we help WooCommerce store owners solve real problems fast. From broken buttons to advanced theme conflicts, we know what to look for. Our team works with all major themes and plugins. We make sure your store looks right and works right.

We can help you whether you need a fast fix or complete support.

Let our experts handle the tech so you can focus on sales.

👉 Contact WooHelpDesk now for fast WooCommerce help. We’re here when your cart page isn’t.