[SOLVED] Your Cart Is Currently Empty Error – WooCommerce

Andrei Iordache

Andrei Iordache

WordPress Developer

ūüöÄ I Help People Get Found Online | WordPress Development, Core Web Vitals, Security&Maintenance

How To Fix “Empty Cart” WooCommerce Error

Hello visitor,

If you are running a WooCommerce website, you may have come across the dreaded Your cart is currently empty error. The reason for this error can be anything from an expired SSL certificate to your hosting server not being able to handle the traffic. This post will walk through some of the most common causes and solutions for this problem.

This issue may appear from different reasons, such updating the WooCommerce plugin, updating the WordPress version, a plugin conflict between WooCommerce and “x” plugin, due to a cache problem and so on.

Let’s get started!

Your Cart Is Currently Empty Error – “Cache issue” Scenario

Let’s say you just create your own online store with the WooCommerce plugin. Like any other site developer, you go to your site from another browser/device/incognito, to test the functionality of the site and you discover that once you add a new product in the cart, nothing happen. The only message you get is: “Your cart is currently empty”. After that, you try to buy from your developer account, and it works: The product is added in the cart. This kind of error is generated, in most of the cases, by a cache issue. Basically, your cart page is not refreshing with the new information.

Before showing 2 potential fixes, go to Wp-dashboard -> WooCommerce -> Status -> Make sure everything is OK (any red flag must be solved).

How To Fix “Your Cart Is Currently Empty” Issue:

FIX 1. Cache Plugin and WooCommerce pages

If you are using a cache plugin, try to exclude the WooCommerce pages (shop, cart and checkout). If you are caching these pages, you may get this error. If you initially included them and now you just excluded these pages from the cache, purge the cache of the site and also clean the browser cache.

FIX 2. CloudFront and WooCommerce

This fix isn’t apply only for CloudFront CDN, but also for any other CDNs. The problem is the CDN cache some important cookies and don’t allow that page (cart, etc) to be refreshed. To solve the empty cart error (again, this is apply for CloudFront, but it is similar to any other CDN), go on your AWS CloudFront account and follow these steps:

*Find the CloudFront Distribution related to your site and edit it.

CloudFront Distribution
CloudFront Distribution

*Locate the ‘Behaviors’ TAB and open it.

*Locate the 'Behaviors' TAB and open it.
*Locate the ‘Behaviors’ TAB and open it.

*Locate the ‘default(*)’ behavior and open it.

*Locate the 'default(*)' behavior and open it.
*Locate the ‘default(*)’ behavior and open it.

*Add the following cookie to the list: Add “wp_woocommerce_session_*” – Without quotes

CloudFront wp_woocommerce_session_*
CloudFront wp_woocommerce_session_*

Extra tip: If you want to avoid similar issues, add these cookies to the whitelist, too:

"wp-resetpass*" (for WP password resets)

Wait a few minutes to deploy and check it again (from incognito). It should be fixed right now.

WooCommerce cart is empty after adding products

What is the WooCommerce Cart is Empty After Adding Products Issue?

This issue is caused by a conflict between the plugin and another plugin or theme.

When a customer adds products to their cart, the WooCommerce cart should show the products in the cart. However, if you see that your WooCommerce cart is empty after adding products, it may be because of a conflict with another plugin or theme.

What Causes the WooCommerce Cart to be Empty After Adding Products?

If you have been trying to add products to your cart and the cart is not loading, then this article will help you.

There could be many reasons why the WooCommerce cart is empty after adding products. Nevertheless, in this article, we will try to cover some of the most common ones.

How to Fix the WooCommerce Cart is Empty After Adding Products Issue

Several reasons can cause the issue. This article will help you diagnose and fix the issue.

The first step is to identify what is causing the issue, which can be done by looking at the following things:

  • Theme compatibility: Is the theme compatible with Woocommerce?
  • Theme settings: Are there any conflicting settings in your theme?
  • Product settings: Are there any product-specific settings that might need to be changed?
  • Woocommerce settings: What are your woocommerce settings, and are they appropriate for your store?
  • Browser Compatibility: Is your browser up-to-date and compatible with Woocommerce?

Your Cart Is Currently Empty Error – Other Ways To Fix

First of all, I am not a fan of installing a ton of plugins. But, if this will solve your issue, it’s up to you how many plugins do you want to keep on your site. So, add and install this plugin: Ajax add to cart for WooCommerce. If it don’t solve the issue, try other ways from the list below.

  1.  Have you installed any plugin just before this issue appeared? If so, deactivate it, clean the cache and test. Maybe that plugin is in conflict with WooCommerce. You can also deactivate all plugins and keep active just the WooCommerce plugin.
  2.  Page structure: Make sure the hierarchy of the pages is the right one: Shop -> Cart -> Checkout. Ideally, Cart and Checkout page should be configured without a parent page.
  3.  www/non-www РMake sure the domain configuration corresponding with the WooCommerce settings. For example, if your domain is set to yoursite.com and in the WooCommerce settings the domain is configured to www.yoursite.com, try edit it and configure to yoursite.com.
  4. ¬†If you are using a translation plugin, such WPML, All languages, etc, make sure you set the WooCommerce pages (shop, cart, checkout, etc) to each new language you add. Usually, these pages aren’t configured for all languages, but only for English.
  5. ¬†After a WooCommerce migration, make sure the database tables are ok. For example, make sure wp_woocommerce_sessions table is set to “AUTO INCREMENTING”. To access it, go to: cPanel -> PHPmyadmin -> Your site db -> table.
  6.  Theme conflict РTry to temporary change the theme to Twenty Twenty-One theme. If everything is fine, return to your main theme.
  7. ¬†Check if on the WooCommerce checkout endpoints. There shouldn’t be any spaces in your Endpoint URL. For example, “ORDER PAY” is not good. “ORDER-PAY” is good. To check the checkout endpoints, go to WooCommerce -> Settings -> Advanced -> and locate “checkout endpoints”.

If it don’t want to be fixed, delete the WooCommerce pages and recreate them. To recreate the WooCommerce pages, go to WooCommerce -> Status -> Tools and click on “Create default WooCommerce pages”.

That’s it!

Previous Post
WordPress 5.8 Tatum Was Released – 3 Awesome Features
Next Post
Why Is My Website Not Showing Up on Google?
Lusi StudiosLusi Studios
15:32 22 Jun 22
Andrei did an amazing job! He helped in a very rushed time and he excelled at everything. Thanks again!
I am grateful and I would to thank Websites Seller for their support in site recovery and site transfer. Websites Seller just saved my business. Thank you!
Wouter GhysensWouter Ghysens
11:52 10 Sep 21
Looking for a Wordpress transfer from site A to site B, I found back Andrei from Wesites Seller on Google.He was very proactive in his approach, came with hundreds of ideas and lifetime experiences from other migrations. He knows the wordpress, the hosting and php database as the back of his pocket.And we worked out this migration very smooth. Together we solved it, and myself and my business are very pleased with his approach.100% recommendation & kudo's from out of Belgium!
Ioachim CiobanuIoachim Ciobanu
18:39 14 Jul 21
Websites Seller built my resume site. Deliverables were quickly completed, and I was asked for my feedback at each stage of development. All feedback I gave was implemented in a short time.Another great thing is that he comes with smart solutions, regarding stuff which I didn't initially think of (site security, Google site speed optimization and so on). Basically, he was great, staying in touch, keeping me updated and paid attention to what was most important for my site.Overall, I am very happy with the work done. I highly recommend this developer!
K CollinsK Collins
09:11 19 May 21
I needed help with website speed - to improve my core web vitals - without compromising the usability of my site. Andrei was extremely responsive, proactive and fast. And more importantly, he increased by website speed. Highly recommend him, and I will be using him going forward on all my projects.


WordPress Website Maintenance Services

WordPress Maintenance Services

WordPress website maintenance service that provides cloud backups, emergency support, weekly website updates, speed and many more.


WordPress Migration Service

Safely transfer your WordPress website to a new location for $75. … Migrate your website to its new host.


Lawyer Web Design

We specializes in website design, Internet marketing and SEO for lawyers and attorneys throughout the Europe and US.