Home / Guides / WooCommerce checkout or add to cart slow? 8 fixes

WooCommerce performance guide

WooCommerce checkout or add to cart slow? 8 fixes

A slow add to cart or a checkout that hangs loses sales at the very last step. These two pages work differently from the rest of your store, so they need their own fixes. Here's where to look.

By Cornelius Oni · Updated 2026-11-10

The short answer: cart and checkout are the two parts of a WooCommerce store that can't be cached. Every click on "Add to cart" and every checkout load runs WordPress, WooCommerce and your plugins live. So they're slow when the server is slow, when the cart session data is bloated, or when shipping, payment and tracking plugins pile extra work onto those pages. Here's how to find which one it is and fix it.

1. Measure the slow request, not the whole page

Open your product page, press F12, go to the Network tab and click "Add to cart". Look for the request ending in ?wc-ajax=add_to_cart and check its time. Do the same on checkout with update_order_review, which runs every time the address or shipping method changes. If either takes more than about a second, the problem is on the server. If they're fast but the page still feels slow, it's scripts in the browser.

On the server side, install Query Monitor and load checkout while logged in as admin. It shows slow database queries, slow HTTP calls to outside services and which plugin each one comes from.

2. Check hosting and PHP version

Because nothing on these pages is cached, server speed shows up here first. Run a current, supported PHP version (8.2 or newer) and make sure the plan isn't starved of CPU or memory. Cheap shared hosting that feels fine on cached product pages often falls apart at checkout.

3. Add an object cache (Redis or Memcached)

An object cache keeps the results of repeated database lookups in memory, so cart and checkout don't ask the database the same questions on every request. Many good hosts offer Redis in one click; pair it with a plugin like Redis Object Cache. This is often the single biggest win for a slow cart.

4. Clean up sessions and scheduled tasks

WooCommerce stores each shopper's cart in the woocommerce_sessions table, and background jobs in Action Scheduler. On busy or older stores these grow huge. Go to WooCommerce → Status → Tools and clear expired sessions, then check WooCommerce → Status → Scheduled Actions for thousands of failed or pending jobs. Clearing a backlog there can make add to cart noticeably faster.

5. Look hard at shipping, tax and payment plugins

Live shipping rates call a carrier's API every time the cart or address changes. Tax plugins, fraud checks, address lookup and "frequently bought together" add-ons can do the same. One slow outside call can add several seconds. Query Monitor's HTTP API panel shows these calls and how long each takes; cache rates where the plugin allows it, or swap the slowest one out.

6. Find plugins hooking into add to cart

Upsell popups, cart notices, wishlists, dynamic pricing and analytics plugins often run code every time something is added to the cart. Test by disabling them one at a time on a staging copy and timing the add_to_cart request again. Keep the ones that earn their place.

7. Cut the scripts that load on checkout

Checkout often loads chat widgets, heatmaps, social pixels, review badges and sliders it doesn't need. Each one delays the page and the payment fields. Load only what checkout needs: your payment gateway and the essential analytics. Plugins like Perfmatters or Asset CleanUp let you switch scripts off per page.

8. Make sure cart and checkout are excluded from caching, and nothing else is broken

Your caching and CDN must skip cart, checkout, my-account and logged-in users, or you'll get wrong carts and strange errors. But check the opposite too: some stores accidentally exclude the whole site after a misconfigured rule, which makes everything slow. Compare a product page with and without being logged in to see if caching is working.

If your whole store is slow, not just cart and checkout, start with my guide on why WooCommerce sites get slow, which covers images, hosting, caching and database cleanup.

Questions people ask

Why is my WooCommerce add to cart so slow?

Add to cart runs an uncached AJAX request (wc-ajax=add_to_cart) that loads WordPress, your plugins and the cart session. Slow hosting, a bloated sessions table, no object cache or a plugin hooking into add to cart are the usual causes.

Why is my WooCommerce checkout slow?

Checkout can't be page-cached, so every visit hits the server. Live shipping rates, payment gateway scripts, tax and coupon plugins, and tracking scripts all add time. Measure with Query Monitor and DevTools to see which one.

Does a caching plugin speed up checkout?

No. Cart and checkout must be excluded from page caching. What helps checkout is faster PHP, an object cache like Redis, fewer plugins running there, and fewer third-party scripts.

Can a slow checkout cost me sales?

Yes. Checkout is the step closest to payment, so every extra second gives people a reason to leave. It's usually the most valuable page on the store to speed up.

Checkout still slow?

I'll time your add to cart and checkout, find the plugin, script or server setting that's slowing them down, and fix it, with before-and-after numbers.