Heading icon placeholder Launch Alert: Create Custom Post type using Dynamic Fields Engine

Cómo resolver el error de carrito vacío de WooCommerce

How to solve wooCommerce cart issue

¿Estás enfrentando el El carrito de WooCommerce está vacío ¿asunto?

WooCommerce turns online shopping into a smooth ride. But unfortunately, you may sometimes face technical issues like “the cart is empty" o "your WooCommerce cart is currently empty“. Such issues can cause you to lose customers, and as a result, you may end up losing money in your online business.

If you are facing the empty cart issue, then no worries. You have come to the right place. In this blog, I have put together all the possible issues that may be causing WooCommerce empty cart errors and ways to solve them.

Empecemos…

Why is the WooCommerce cart showing empty after adding products?
The WooCommerce empty cart issue happens when products are added to the cart but are not stored or retrieved properly. In most cases, this is caused by cache conflicts, session problems, plugin incompatibility, or incorrect WooCommerce settings.

How to identify the cause of the WooCommerce empty cart issue

The moment when the cart becomes empty often helps identify the root cause.

If the cart becomes empty…Most likely cause
After refreshing the pageCaching or session issues
After logging inSession migration problems
After applying a couponPlugin or AJAX conflicts
Only for guest usersCookie restrictions
On specific devices or browsersBrowser cookie settings
Randomly during checkoutSession expiration or plugin conflicts

How to fix WooCommerce empty cart issue
✅ Configure WordPress, server-side, and CDN caching correctly.
✅ Check WooCommerce System Status and page setup.
✅ Clear WooCommerce sessions and transients.
✅ Verify checkout endpoint settings.
✅ Update WordPress, WooCommerce, themes, and plugins.
✅ Reset permalinks.
✅ Test for plugin conflicts.
✅ Switch temporarily to a default WordPress theme.

Resumen

The WooCommerce empty cart issue is usually caused by caching, session handling problems, or plugin conflicts. Identifying when the cart becomes empty can help you find the correct solution faster.

¿Cuál es el problema del carrito vacío de WooCommerce?

Empty cart issue arises when you add products to your online WooCommerce shopping cart, but somehow find your cart saying “your cart is currently empty”. This is not the normal “your cart is empty” message this is a technical issue that’s stopping your cart to update when you add products.

Most common causes of WooCommerce empty cart problems

Although the WooCommerce empty cart issue can have multiple causes, the following are responsible for most cases:

  1. Incorrect cache configuration
  2. Expired WooCommerce sessions
  3. Plugin conflicts
  4. Theme compatibility issues
  5. Cookie restrictions
  6. Checkout endpoint errors
  7. Outdated WooCommerce versions
  8. Server-side caching conflicts

If you are unsure where to start, checking these areas first can help identify the issue more quickly.

How to Diagnose The WooCommerce Empty Cart Issue Before You Start Fixing

Before jumping into solutions, you need to ask the right diagnostic questions, otherwise you could spend hours applying the wrong fix. Use these quick checks to pinpoint the likely cause in under 5 minutes.

Step 1: Ask, does the cart empty immediately after adding a product, or after a page refresh/navigation?

  • Empties immediately → The “Add to Cart” AJAX request is likely failing. Open your browser’s developer tools (press F12), go to the Console tab, and look for red JavaScript errors. Also check the Network tab for failed POST requests to ?wc-ajax=add_to_cart.
  • Empties after refresh or navigating to the cart page → A session or cookie problem is most likely the cause. This is often a caching issue or a cookie being blocked.

Step 2: Ask does the cart work for logged-in users but not for guests?

  • Si Sí → WooCommerce is failing to save guest sessions to the wp_woocommerce_sessions database table. This is a specific session-handling bug (see Solution #2 and the Cookie section below).
  • Si no (broken for everyone) → The problem is more likely caching, a plugin conflict, or a site-wide configuration error.

Step 3: Ask, when did the problem start?

Think back: Did you recently install or update a plugin, theme, or WordPress itself? The timing of the break almost always points to the culprit. If you have a changelog, compare it against the date the cart issue began and undo that change first before trying anything else.

Step 4: Ask, does the cart work in a private/incognito browser window with no extensions?

  • If it works in incognito → A browser extension (ad blocker, privacy tool) is blocking WooCommerce’s session cookies. The fix is on the visitor’s end, but you can make your site more robust (see Cookie section below).
  • If it still fails in incognito → The problem is server-side (caching, session configuration, SSL).

Step 5: Check the WooCommerce logs

Ir a WordPress Dashboard → WooCommerce → Status → Logs and look at wc-session-handler.log. Any entries there will point directly to where WooCommerce is failing to read or write session data.

Also read, how to add WooCommerce Mini Cart button in Elementor

Cómo resolver el error de carrito vacío de WooCommerce

With customer feedback and my own experiences, I have found there are about 10 reasons that can cause the cart to show empty despite adding products.  Let’s check the problems and how you can solve those one by one to get rid of “your cart is empty” error or WooCommerce add to cart page not working:

Solución #1: verifique el estado del sistema WooCommerce y la configuración de la página WooCommerce

El estado del sistema WooCommerce mostrará una señal roja para señalar todos los problemas con el entorno de su sitio web que pueden entrar en conflicto con las funcionalidades de WooCommerce. Entonces, su primer trabajo es verificar si WooCommerce le está dando señales de alerta.

Ir a Panel de control de WordPress → WooCommerce → Status y solucione todos los problemas con una advertencia roja (si recibe alguna).

WooCommerce Empty Cart - Woo Status Page

Además, asegúrese de verificar que todas las páginas de WooCommerce estén configuradas correctamente y que su tema no esté anulando la página de carrito predeterminada y, si lo anula, no esté causando ningún problema.

WooCommerce Empty Cart - Woo Pages Status Page

🤷 ¿Quiere agregar CSS personalizado a su sitio web de Elementor? 

Vea diferentes formas de agregar CSS personalizado en Elementor en nuestro blog
👉👉 Cómo agregar CSS personalizado en Elementor: 4 métodos sencillos

Solución #2: Borrar sesión y transitorios en las herramientas de WooCommerce

Borrar los transitorios de WooCommerce, los transitorios vencidos, restablecer el recuento de términos y borrar las sesiones de los clientes también pueden resolver el problema del carrito vacío. Ir a  WordPress Dashboard → WooCommerce → Status → Tools and follow the screenshot below to reset and clear all the mentioned options.

Why clearing sessions can fix the issue

WooCommerce stores cart information using customer sessions.

When a customer adds a product to the cart, WooCommerce temporarily stores that information and retrieves it while the customer continues browsing your store.

If the session expires unexpectedly or becomes corrupted, WooCommerce may fail to load the cart contents and display an empty cart instead.

Clearing customer sessions and transients helps WooCommerce generate fresh session data and often resolves the issue.

Solución #3: asegúrese de que no haya espacio en los puntos finales de pago

Ir a WordPress Dashboard → WooCommerce → Settings → Advanced tab y verifique que no haya espacio en los puntos finales de pago.

WooCommerce Empty Cart - Woo Checkout End Points

Solución #4: actualice WordPress y WooCommerce del sitio web

Tener una versión antigua y desactualizada de WordPress o WooCommerce pueden causar este problema. Por lo tanto, debe asegurarse de que su sitio tenga la versión más actualizada de WordPress y WooCommerce.

You can check from the dashboard if your WordPress or WooCommerce needs to update and update if required. You can also re-install the existing version if you think files have been corrupted.

WooCommerce Empty Cart - Update as needed

Solución #5: Actualizar tema y complementos

No sólo WordPress y WooCommerce, los temas y complementos también deben actualizarse periódicamente. Por lo tanto, verifique si el tema y los complementos que está utilizando deben actualizarse y actualizarlos si es necesario. Esto también puede resolver el problema del carrito vacío de WooCommerce.

Nota: Actualizar todo a ciegas (WordPress, WooCommerce, temas y complementos) tampoco es una buena idea. Debe asegurarse de que todas las versiones actualizadas sean compatibles entre sí.

Solución #6: restablecer los enlaces permanentes

Restablecer los enlaces permanentes de WordPress puede resolver el problema del carrito vacío. Para restablecer vaya a Panel de control de WordPress → Ajustes → Choose the Permalinks → Click Save changes.

Solución #7: deshabilite todos los complementos y acepte WooCommerce temporalmente

Esta es una técnica de resolución de problemas muy básica, pero también puede ayudarle a resolver el error El carrito de WooCommerce está vacío. Si deshabilitar otro complemento soluciona el problema del carrito vacío de WooCommerce, puede estar seguro de que no hay ningún problema con WooCommerce en su sitio web y solucionar el complemento que está causando el problema.

🤷 ¿Alguna vez se ha enfrentado al error de servidor 400 Solicitud incorrecta en Elementor? Vea diferentes formas de resolver este error del servidor
👉👉 Cómo reparar el error del servidor 400 Solicitud incorrecta en Elementor

Solución #8: cambie temporalmente al tema predeterminado de WP

Al igual que los complementos, existe la posibilidad de que su tema esté creando un conflicto con WooCommerce, por lo que puede cambiar temporalmente a cualquier WordPress predeterminado para verificar si el problema se resuelve o no. Si se resuelve, entonces conoce el problema y puede hablar con su proveedor de temas para resolver el conflicto.

Solución #9: configure la configuración de caché adecuada tanto en el complemento de WordPress como en el lado del servidor

As the cart displays dynamic contents, it should not be cached.

Pages that should never be cached

WooCommerce cart issues often occur when dynamic pages are cached.

To avoid this problem, always exclude the following pages from caching:

  • Página del carrito
  • página de pago
  • Página Mi cuenta

These pages display customer-specific information. If cached versions are served to visitors, WooCommerce may fail to display the correct cart contents.

So, always use a WordPress cache plugin that has cache exclusion URLs. Not just WordPress plugins, some hosting provides also use their own cache systems such as Varnish which is also applied on the website.

Por lo tanto, debe hablar con su empresa de alojamiento para configurar una configuración de caché del lado del servidor adecuada para resolver el problema del carrito vacío.

Solución #10: debe seguir las reglas predeterminadas de .htaccess

.htaccess file is usually used to put instructions on how user requests are handled. Check if you are using the standard .htaccess rule that WordPress provides. If not, fix the file to get the default .htaccess configuration. This can also solve the Página del carrito de WooCommerce is empty problem.

Consejos adicionales

Apart from the empty cart issue, having a boring-looking cart page can also lead to customers leaving your website without completing the order. However, now you can reduce the cart page’s abundant rate by customizing your WooCommerce cart page to make it more attractive.

TiendaMotor es un complemento revolucionario en el mundo de WooCommerce. No solo la personalización de la página del carrito, ShopEngine le brinda la posibilidad de personalizar todas sus páginas de WooCommerce como página del producto, pagina de categoria, página de verificación de varios pasos, página de agradecimiento, etc.

Además, te ofrece más de 60 widgets y más de 10 módulos extremadamente útiles como Hacer un pedido, Pedido pendiente, Pago parcial, Notificación de ventas, Cuenta regresiva de venta flash, Cambiador de moneda, Comparación de productos, y muchos más.

✨✨ Compruebe cómo puede utilizar la opción de personalización flexible de ShopEngine para agregar más campo personalizado avanzado para la página de pago de WooCommerce.


✨✨ ¿Necesita un complemento de carrito de compras para mejorar su tienda WooCommerce? Visita nuestro blog en
El complemento de carrito de compras más útil para WooCommerce

Preguntas frecuentes

How to know when your cart is empty?

You can easily find out whether your cart is empty or not by checking the cart page. It will notify you with an alert message “Your cart is empty” if there is no products added. Whenever you will add a product, this notification will be removed.

How does the empty cart button help your customers?

Empty cart button facilitates customers to remove all add to cart products with a single click. Therefore, your customers don’t need to delete products one-by-one that consumes extra time and effort.

Is it possible to save add to cart products for later purchase?

Yes, WooCommerce plugins allows you to save add to cart products for later purchase. But, this feature doesn’t come by default. You need to use a separate plugin like ShopEngine to enable this feature in WooCommerce.

What to do when your shopping cart is empty?

Whenever you face WooCommerce cart page not working error, clear browser cache. Also, lost shipping cart can show due to disable cookies. So, ensure your browser cookies are enabled.

How do I know if a plugin is causing my WooCommerce cart to empty?

Solution #7 says “disable all plugins” but doesn’t walk through the isolation process step by step. This FAQ would give a tighter, more actionable answer to the most common conflict-testing question.

Why does my WooCommerce cart empty after I apply a coupon code?

Very specific and heavily searched sub-issue. Coupon application triggers a cart recalculation and page reload — if sessions or caching aren’t configured correctly, the cart can wipe at exactly that moment. Not mentioned anywhere in the blog.

Why does my cart page show empty but the cart icon still shows items?

Your cart page is being cached. The cart icon updates in real time via AJAX and always shows the true count, but the cart page itself is returning a static cached version that was saved when the cart was empty — so the two fall out of sync.
To fix it, exclude /cart/ from your caching plugin’s settings. In WP Rocket, go to Settings → Advanced Rules → Never Cache URL(s) y añadir /cart/. In Cloudflare, set a Page Rule to “Bypass” cache for yourdomain.com/cart/*. Once done, flush all cache layers and test again.

Why does WooCommerce cart become empty after page refresh?

This usually happens because WooCommerce cannot retrieve the latest cart data. Cache settings, customer sessions, and cookie restrictions are the most common causes. Excluding cart and checkout pages from caching often resolves the issue.

Why does WooCommerce cart become empty after login?

This can happen when WooCommerce fails to transfer cart data between guest sessions and logged-in user sessions. Session conflicts, outdated plugins, and customization issues are common causes.

How do I know if the WooCommerce empty cart issue is fixed?

Open your store in an incognito window, add products to the cart, refresh the page, and proceed to checkout. If the products remain in the cart throughout the shopping process, the issue has been resolved successfully.

Las palabras finales en su carrito son un error vacío en WooCommerce

So, you have found out all the measures to fix WooCommerce empty cart error. Hope this blog helped you to solve your WooCommerce empty cart page issue in no time. If you have any questions or confusion about any of the steps, leave a message in the comment box.


Avatar de Mainul Kabir Aion

Mainul Kabir Aion

Mainul Kabir Aion is a Product Marketing Strategist and Chief Product Officer specialising in WordPress products, AI-driven SEO, and inbound growth. He works at the intersection of product strategy, user behaviour, and search visibility, with hands-on experience scaling SaaS and WordPress businesses. His work focuses on Agile marketing, Answer Engine Optimisation (AEO), AI search visibility, and product-led growth.

Comentarios

  1. Avatar de Arif

    La solución #2 me funcionó, muchas gracias.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Tabla de contenido