WooCommerce Cart Empty After Adding Product
Workaround available WordPress, all hosts Updated November 13, 2026Based on 3 user reportsHow we research
Quick answer
An empty cart after add-to-cart is almost always a cached cart page or blocked cart cookies. Exclude the cart pages from caching and make sure the session cookies are not stripped.
Most likely fix: Exclude Cart, Checkout and My Account from cache
How to fix it
Try these in order — the most common fix is first.
1. Exclude Cart, Checkout and My Account from cache
- In your caching plugin, add the three pages to the never-cache list
- In a CDN or Varnish, bypass cache for those paths and for add-to-cart URLs
- Purge all caches
Did this fix it?2. Let WooCommerce cookies through
- If you use database or object caching, exclude _wc_session_ data
- Make sure cookies such as woocommerce_cart_hash are not stripped by your proxy
Did this fix it?3. Confirm the page assignments
- Go to WooCommerce > Settings > Advanced > Page setup
- Check Cart and Checkout point to the right pages
- If they show missing, recreate the pages
Did this fix it?4. Test for conflicts
- Disable other plugins and switch to a default theme
- Add a product to the cart again
Did this fix it?
Symptoms
Items disappear from the cart, the cart shows empty after adding, or the mini-cart count is wrong.
Why it happens
- Cart page or cart fragments cached
- Cart cookies (woocommerce_cart_hash, woocommerce_items_in_cart) not passed by CDN or proxy
- Session data excluded or cleared by a cache or database cache
- Plugin conflict or wrong Cart page setting
This guide also covers
- woocommerce cart empty after adding product
- woocommerce cart items disappearing
- woocommerce add to cart not working
Still not working?
If WooCommerce keeps failing, you're not alone. See every WooCommerce problem users report or the alternatives people switch to.
Done fighting WooCommerce? Our small team builds your own WooCommerce alternative, or any software you need: web, mobile, games, desktop. Price agreed together.
Talk to us