WooCommerce checkout slow? Find and fix the cause
Table of Contents
- Why a slow checkout costs you orders
- Measure your WooCommerce checkout before you change anything
- Check your hosting first
- Enable HPOS if your store is older
- Fix a slow add to cart
- Audit the plugins that load on checkout
- Set caching up so it skips the checkout
- Trim what the page has to load
- Make the checkout itself lighter
- Check that the fix worked
- Give shoppers a lighter checkout
A slow WooCommerce checkout usually comes down to a short list of causes: hosting that can’t keep up, a plugin or theme adding heavy requests, a database full of old orders and transients, or a cache that fights the checkout instead of skipping it. Measure first, then fix the biggest cause, working in the order that tends to pay off. Slow add to cart has the same causes, so the fixes below cover it too.
Checkout is the one part of the store you can’t serve from a page cache. It reads the live cart, calculates tax and shipping, validates fields, and talks to payment gateways on every request, so a sluggish server or an overloaded plugin shows up here before anywhere else.
Why a slow checkout costs you orders
Shoppers at checkout have already decided to buy, so a delay at the finish line is expensive. Google’s research on Core Web Vitals ties responsiveness to user experience, and a checkout that takes seconds to become usable reads to the shopper as broken. Treat checkout speed as a conversion problem, not only a performance score.
Measure your WooCommerce checkout before you change anything
Get a baseline you can compare against. Test with caching off, because the checkout shouldn’t be cached anyway, and you want to see what a real customer with a real cart gets from your server. Patrick Garman of Mindsize makes the same point in his WooCommerce performance talk: measure without the help of caching.
- Query Monitor (free) shows which database queries, hooks, and HTTP requests slow a page down, and which plugin is responsible.
- WebPageTest runs tests from real devices and locations, and its filmstrip view shows when the checkout becomes usable.
- PageSpeed Insights or GTmetrix report load time and time to interactive, which you can track before and after each change.
Write the numbers down. Then change one thing at a time and test again.
Check your hosting first
Hosting is the foundation, and no checkout template fixes a server that runs out of capacity. Remkus de Vries, a WordPress and WooCommerce performance specialist, argues that you get what you pay for with WooCommerce hosting. Look for:
- A current PHP version (8.2 or later where your plugins support it).
- Object caching with Redis or Memcached, which takes load off the database.
- Enough PHP workers for your traffic. Hosts that limit concurrent processes slow checkout first when traffic spikes.
- Server-level caching that is WooCommerce-aware and skips the cart, checkout, and account pages.
- A server close to most of your customers.
If checkout is fine on quiet days and slow during sales, workers and database capacity are the likely cause.
Enable HPOS if your store is older
High-Performance Order Storage (HPOS) moves orders out of the shared posts and postmeta tables into tables built for order data. WooCommerce’s published benchmarks reported faster order creation, checkout, and admin searches. New stores have used it by default since WooCommerce 8.2, but older stores may still be on posts storage.
To check, go to WooCommerce » Settings » Advanced » Features and look at Order data storage. Before you switch, confirm your plugins declare HPOS compatibility; WooCommerce’s compatibility mode keeps both storage systems in sync during the move. Take a backup first.
Fix a slow add to cart
If adding to the cart is the slow part, look at the same suspects with a different lens. On many themes, WooCommerce’s cart fragments script (wc-cart-fragments.js) sends an AJAX request on every page load to keep the mini cart current, and each of those requests loads WordPress. Disabling it outright can break the mini cart, so try a cart-aware caching setup or a performance plugin that handles fragments, and test the mini cart afterward.
In Query Monitor, a slow ?wc-ajax=add_to_cart request usually points at a plugin hooked into the cart or at an overloaded server. Switch plugins off one at a time on a staging site to find the one responsible.
Audit the plugins that load on checkout
Every plugin adds CSS, JavaScript, queries, and requests, and the checkout page pays for all of them. Use Query Monitor to rank plugins by their cost, and a tool such as Perfmatters or Asset CleanUp to stop assets loading where they aren’t needed. Common offenders are page builder assets on a checkout that doesn’t use the builder, social sharing and feed plugins, chat widgets, and analytics scripts that don’t need to run during payment.
Garman’s rule is a good filter: if you can’t say how a feature increases sales, remove it. Also test your payment gateways, since a slow gateway response delays the place order button. Where you sell internationally, ask whether the gateway has a processing region near your buyers.
Set caching up so it skips the checkout
A cache serving the wrong page to the wrong customer causes worse problems than slowness: carts that don’t update, orders that fail, and customers stuck in loops. Exclude these from page caching:
- The cart, checkout, and My Account pages.
- Requests to
?wc-ajax=andadd-to-cart. - Visitors with the
woocommerce_cart_hash,woocommerce_items_in_cart, andwp_woocommerce_session_*cookies.
Most caching plugins ship a WooCommerce preset, so use it. If you also combine, delay, or minify scripts, exclude checkout scripts from those options; a broken or blank checkout after turning on script optimization is the usual sign. See the CheckoutWC troubleshooting guide for how to bypass CheckoutWC and test your plugins.
Trim what the page has to load
- Images: compress and lazy load product images, and use JPEG for photos and PNG or SVG for graphics.
- Database: clear trashed items and expired transients on a schedule, and remove tables left behind by plugins you no longer use.
- Scripts: remove what the checkout doesn’t need, and defer non-critical scripts that don’t touch the payment form.
- Theme: a lean theme helps, because the theme’s header menus, sidebars, and footer scripts all load on checkout unless something strips them.
Make the checkout itself lighter
A checkout that shows only what the order needs loads less and finishes faster. CheckoutWC replaces the WooCommerce checkout, order pay, and thank you pages with purpose-built templates (Midas, Copify, Futurist, Glass, and Groove). By default it renders the checkout in a standalone page that doesn’t load the stylesheets and scripts your theme enqueues from its own folder, so theme and page builder assets stay out of the way. The side cart also lets shoppers add items and check out without a trip to the cart page.
Customers also finish faster when the form asks for less. Hide fields you don’t need, offer express checkout buttons (Apple Pay, Google Pay, PayPal) so returning shoppers skip the form, turn on address autocomplete with your own Google or Fetchify key, and, for stores with few fields, try one page checkout. CheckoutWC won’t fix an underpowered server, so sort out hosting, HPOS, and caching first.
Check that the fix worked
Run the same tests as your baseline: time to interactive, blocking resources, and the Query Monitor report for the checkout. Then watch real outcomes: the checkout conversion rate and abandonment in your analytics. A better score that doesn’t move completed orders isn’t the goal. Simple uptime monitoring with response-time tracking will tell you when performance slips again.
For general site speed beyond the checkout, see our WooCommerce site speed guide. Stores handling hundreds of orders a day or flash-sale spikes usually need infrastructure work too: autoscaling PHP workers, a separate database server, and offloading emails and reports. Our developer directory lists agencies that do this work.
Give shoppers a lighter checkout
Once the server is sorted, CheckoutWC, used on over 25,000 stores, gives you a lean, fast-feeling checkout with every feature included. See CheckoutWC pricing: $249 a year for one site, or $899 once for lifetime.
The simplicity of Shopify with the power of WooCommerce. Replace your WooCommerce checkout page with CheckoutWC to boost sales and reduce cart abandonment.