¿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 page | Caching or session issues |
| After logging in | Session migration problems |
| After applying a coupon | Plugin or AJAX conflicts |
| Only for guest users | Cookie restrictions |
| On specific devices or browsers | Browser cookie settings |
| Randomly during checkout | Session 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:
- Incorrect cache configuration
- Expired WooCommerce sessions
- Plugin conflicts
- Theme compatibility issues
- Cookie restrictions
- Checkout endpoint errors
- Outdated WooCommerce versions
- 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_sessionsdatabase 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).

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.

🤷 ¿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.

También puedes consultar nuestro blog. Cómo agregar un conmutador de moneda a WooCommerce

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.

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?
How does the empty cart button help your customers?
Is it possible to save add to cart products for later purchase?
What to do when your shopping cart is empty?
How do I know if a plugin is causing my WooCommerce cart to empty?
Why does my WooCommerce cart empty after I apply a coupon code?
Why does my cart page show empty but the cart icon still shows items?
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?
Why does WooCommerce cart become empty after login?
How do I know if the WooCommerce empty cart issue is fixed?
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.

Deja una respuesta