Latest SeedProd News

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

How to Fix WooCommerce View Cart Not Working

How to Fix WooCommerce View Cart Not Working (10 Ways) 

Written By: author image Stacey Corrin
author image Stacey Corrin
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.
     Reviewed By: John Turner
reviewer image John Turner
John Turner is the co-founder of SeedProd. He has over 20+ years of business and development experience and his plugins have been downloaded over 25 million times.

The WooCommerce view cart not working error is a common issue that prevents users from viewing their shopping carts.

Since this issue can harm your site’s user experience and result in lost sales, it’s essential to understand why it occurs.

In this guide, we’ll explore the most common reasons for the WooCommerce view cart not working problem and explain step-by-step how to fix it.

In This Guide:

How to Fix WooCommerce View Cart Not Working

Here are some of the most common fixes for the WooCommerce view cart not working issue on your WordPress website:

1. Confirm Items Are Added to the Cart

The first step in tackling the ‘view cart not working’ issue is checking if items are being added to the cart correctly. This seems simple, but the empty cart issue is often overlooked.

WooCommerce automatically creates a dedicated page for the shopping cart, which shows the items a customer selects. However, if it has a problem, the ‘view cart’ button may not work because it’s technically empty. 

To check this, visit your WooCommerce site as a customer and add an item to the cart. Then click the ‘view cart’ button or link.

Add an item to your shopping cart then click the view cart link

If the item is in the cart, there may be no problem at this stage.

2. Check Products for Missing Details

Sometimes, your view cart button might not work if there are missing details for some of your WooCommerce product pages. This could be a missing product category, price, or SKU (Stock Keeping Unit).

To check this, go to Products » All Products from your WordPress dashboard and click a product title to open the editor.

Click the product title to open and edit a WooCommerce product

On this screen, check all necessary fields are filled in, including:

  • Product name
  • Product description
  • Product category
  • Product image
  • Regular and sale price
  • SKU
Fill in any missing WooCommerce Product details

If you find any missing details, fill them in and click ‘Update’ at the top-right corner of your screen.

Once you’ve filled in the missing details across all your products, try again to see if the ‘view cart’ option works on your WooCommerce store.

3. Update WooCommerce to the Latest Version

One potential solution to the WooCommerce view cart not working issue involves ensuring your WooCommerce plugin is up-to-date. Outdated versions could be the source of your problems, so double-check yours.

Developers frequently release updates to fix bugs and create improvements. If you’re using an old version of WooCommerce, you might face an issue already resolved in newer versions. 

To check if your WooCommerce plugin is up-to-date, click Plugins » Installed Plugins from your WordPress admin and look for the WooCommerce plugin.

Update WooCommerce to a new version to fix WooCommerce view cart not working

If an update is available, you should see a link labeled ‘Update Now.’ Click it to install the latest WooCommerce version.

4. Deactivate/Reactivate WordPress Plugins

WordPress Plugins on your site can sometimes cause compatibility issues with the WooCommerce plugin. To pinpoint plugin conflicts, do a simple test by deactivating your plugins one by one.

Navigate to Plugins » Installed Plugins and click the checkmark box for each plugin. Then, select the ‘Deactivate’ option under the ‘Bulk Actions’ dropdown and click Apply.

Deactivate and reactivate WordPress plugins to solve the WooCommerce view cart not working issue

After deactivating your plugins, check if the ‘View Cart’ button works. If the button works, reactivate each plugin individually until you find the one causing the problem.

Note: We recommended performing this test on a staging site first to avoid disrupting the user experience.

5. Change Your WooCommerce Theme

WooCommerce theme conflicts can also lead to the ‘view cart’ button not working. Not all WordPress themes and templates play nicely together, and WooCommerce is no exception.

To check if your theme is causing issues, witch to a default WordPress theme or Storefront, the official WooCommerce theme.

Storefront WooCommerce theme

After changing themes, try viewing your WooCommerce cart again. If the issue is resolved, it’s clear that your theme was causing the conflict.

In this case, you may need to update your theme or contact the theme’s developer to inform them about the issue.

Another way to solve this is by creating your own WordPress theme.

At SeedProd, we offer WooCommerce support on all Elite plans, with ready-made WooCommerce themes you can customize with our drag-and-drop builder.

woocommerce theme builder

They include everything for eCommerce store owners, including a custom WooCommerce checkout page, shop page, WooCommerce add-to-cart buttons, and archive pages.

6. Check Your WooCommerce Cart Page Settings

Even a minor error in your cart page settings can cause issues with your online store. If your website lacks a dedicated cart page or your settings are misaligned, you’ll likely face problems with the ‘view cart’ button. 

To check your cart page settings, go to WooCommerce » Settings from your WordPress admin menu and click the ‘Advanced’ tab.

Here, you’ll see various page settings, including ‘Cart Page.’ Click the dropdown menu to ensure your site’s cart page is selected.

Select your cart page in the WooCommerce settings

If you don’t have a dedicated cart page, you’ll need to create one.

To do this, go to Pages » Add New and name it ‘Cart.’ Alternatively, follow this guide to create a custom shopping cart page with SeedProd.

Next, return to the WooCommerce settings page and select your new page from the dropdown menu.

Finally, save the changes and check if the ‘view cart’ button works.

Permalinks are crucial as they define the online address of your pages and posts. If the WooCommerce View Cart not working issue arises, it might be because your permalinks are incorrectly set.

To reset them, go to Settings » Permalinks from your WordPress dashboard. In the ‘Permalinks settings’ tab, scroll down and click on the ‘Plain’ option.

Reset your WooCommerce permalink settings

Now click the ‘Save Changes’ button at the bottom of the page.

Once saved, revert to your previous permalink settings by reselecting your initial options and hitting ‘Save Changes’ once more.

Note: Changing permalinks can affect your site’s SEO, so ensure the changes align with your SEO strategy, or connect with an expert if you’re unsure.

8. Clear Caching Plugin Data

Another cause behind the WooCommerce view cart not working could be your site’s caching.

Caching helps speed up your WordPress site by storing copies of your pages and serving them to your visitors. Sometimes, this can create inconsistencies between your website’s cached and live versions. 

One solution to combat this is to clear your site’s cache.

From your Installed Plugins page in WordPress, find your caching plugin. Then, click the ‘clear cache’ option in the plugin settings.

Delete cached pages in WordPress to fix WooCommerce view cart issues

Depending on the plugin you’re using, the option’s name could also be ‘Delete cache’ or ‘Empty cache.’

Clearing your cache can immediately resolve the issue by offering users a clean, updated version of your site.

9. Check for Customization/Code Errors

Sometimes, the cause of your view cart button not working is down to custom code snippets and shortcodes. If you’ve modified your WooCommerce theme or added custom functions to your functions.php file, the alterations might conflict with your cart.

To address these issues, look for custom code snippets on your WordPress site. Then, back up your website and remove the snippets one by one.

After removing each snippet, check whether the view cart button works. If it is, you’ve found your culprit.

If you find a problem piece of code, consider hiring a professional developer to inspect and fix the issue. Correcting it yourself without the necessary expertise can do more harm than good.

Alternatively, you can add code to your site using a code snippets plugin like WPCode. It allows you to turn snippets on and off individually, making it easier to troubleshoot.

Deactivate code snippets in WPCode

Remember: Always test each change on a staging environment (a clone of your live site) before implementing it on your live website.

10. Contact Your Host for Server Side Issues

If you’ve tried the previous steps and the WooCommerce view cart not working issue persists, it may be server-side. In this case, it’s time to loop in your hosting provider.

Server bottlenecks or issues with your website hosting company can cause interruptions with WooCommerce and your webpage performance. 

Contact your hosting service provider and tell them as much as possible about your issue. This helps them debug the problem and find the perfect solution. 

Some specific things to mention include: 

  • The exact error message you see, if any.
  • When the issue began.
  • The troubleshooting steps you’ve already taken.
  • If the problem is constant or intermittent.

Most web hosts have strong customer support who will work with you to resolve the issue.

However, if they can’t assist, consider moving to a different host offering better WooCommerce compatibility and support. Here are some of our top recommended WordPress hosting providers.

FAQs About WooCommerce View Cart Not Working

Here are some common questions and their answers regarding the WooCommerce view cart not working issue.

Why is the continue to checkout button missing from my cart?

A missing continue to checkout button could be caused by missing payment gateways. Ensure at least one payment gateway is active and configured correctly in your WooCommerce settings.

Additionally, if shipping is required but not configured, the checkout button might be unavailable. Plus, the checkout button might be hidden if you have a minimum order amount set and the cart value is below that threshold.

Why am I getting a blank page when I try to view my cart?

If you see a blank page when viewing the cart, try refreshing the page or using a different web browser. Specific extensions can also interfere with websites, so try disabling them to see if that resolves the issue.

What should I do if I’ve tried everything, but my cart still isn’t working?

Seek help from the WooCommerce support forum or refer to the WooCommerce documentation if your view cart issue remains unresolved. They can provide more extensive troubleshooting and even fix potential bugs in your installation.

Next, How to Fix Shopping Cart Abandonment

Problems with the WooCommerce view cart not working can create issues with your redirects, Javascript, and payment gateways, among other things.

As a result, shoppers may abandon your online store completely. Check out our guide to learn how to fix shopping cart abandonment.

Thanks for reading! We’d love to hear your thoughts, so please feel free to leave a comment with any questions and feedback.

You can also follow us on YouTubeX (formerly Twitter), and Facebook for more helpful content to grow your business.

author avatar
Stacey Corrin Writer
Stacey has been writing about WordPress and digital marketing for over 10 years and on other topics for much longer. Alongside this, she's fascinated with web design, user experience, and SEO.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

Add A Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.