Skip to content

Black Friday 50% off your first year on all premium plugins and the Suite.

See the deals

WooCommerce cart and checkout

How TurboCache keeps WooCommerce cart, checkout, account pages and mini carts working, and what to check when a cart count looks wrong.

1 min read · Updated 5 November 2026

What is never cached

  • The cart, checkout and account pages (BYPASS; reason=woocommerce-dynamic) and any WooCommerce endpoint such as order received (woocommerce-endpoint).
  • The URIs /cart/, /checkout/, /my-account/ in the default exclusions.
  • Any visitor with something in the basket: the woocommerce_items_in_cart cookie is excluded by default, and the plugin also checks the cart itself (woocommerce-cart-items).
  • WooCommerce AJAX requests (?wc-ajax=…), ?add-to-cart= and ?removed_item= links.

Scripts stay working

WooCommerce scripts (woocommerce, wc-) are on the Critical scripts list, so they are deferred but never delayed. The WooCommerce compatibility shim also stops add-to-cart, variation and mini-cart controls from having their first click replayed.

Prices and stock

Stock changes, stock status changes and product saves refresh the product page, its archives and the shop page. For stores where every price must be current at once, choose “Always up-to-date content” in the wizard (or Forced updates show original).

Cart count looks wrong

  • Check you have not removed woocommerce_items_in_cart from Cookies or /cart/, /checkout/, /my-account/ from URIs.
  • If your theme prints its own cart counter that is not a WooCommerce cart fragment, guests may see the count from the cached page. Ask the theme author, or add the counter’s script to Critical scripts so it runs straight away.
  • Do not turn on Logged-in users caching on a shop.
  • Using a currency switcher? The default view groups already cover VillaTheme, YITH, Aelia and FOX switchers, giving each currency its own copy.

Did this answer the question? No — open a support request