Fix Slow Mobile Speed & Blank Cart in WooCommerce

Fix Slow Mobile Speed & Blank Cart in WooCommerce

The Problem You Are Seeing

Your store loads slowly on mobile. Sometimes the cart page shows up blank. Customers message you saying they could not check out. You refresh and it looks fine on your laptop, so you are not sure what is broken or where to start.

These two issues often share the same root causes. Fixing them together is faster than chasing them separately.

Why This Happens

Slow mobile speed and blank cart pages are almost always caused by one or more of the following:

  • Too many or conflicting plugins — each one adds scripts and styles that load on every page, including mobile.
  • No caching or the wrong caching settings — caching plugins that are not configured for WooCommerce can cache the cart and checkout pages, which causes blank or stale content.
  • Unoptimized images — large product images are the single biggest cause of slow mobile load times.
  • A slow or shared hosting environment — if your server is underpowered, no amount of optimization fully fixes it.
  • Outdated PHP version — older PHP versions process requests more slowly. Running a current, supported PHP version improves both speed and security. The PHP project has recently released security updates addressing critical vulnerabilities, so keeping PHP current matters for more than just performance.
  • Theme bloat — heavy page-builder themes load large JavaScript libraries even on simple pages.
  • WooCommerce cart fragments — by default, WooCommerce makes an AJAX request on every page load to update the cart count. On slow connections this can block rendering.

Step-by-Step Fix

Step 1: Back up your store first

  1. Install a backup plugin such as UpdraftPlus if you do not have one.
  2. Run a full backup of your files and database before touching anything.
  3. If you have a staging environment, test every change there first.

Step 2: Check your PHP version

  1. In your WordPress dashboard, go to Tools > Site Health.
  2. Look under the Info tab for the PHP version your server is running.
  3. If it is below PHP 8.1, contact your host and ask them to upgrade it. Most hosts can do this from the control panel in a few clicks. Confirm your plugins and theme are compatible before upgrading.

Step 3: Fix your caching plugin settings

This is the most common cause of blank cart and checkout pages.

  1. Open your caching plugin settings (WP Rocket, W3 Total Cache, LiteSpeed Cache, or similar).
  2. Find the exclusions or never-cache list.
  3. Add these pages to the exclusion list: /cart/, /checkout/, /my-account/, and any page that uses a WooCommerce shortcode or block.
  4. Clear your full cache after saving.
  5. Test the cart on a mobile device using a different browser or incognito mode.

Step 4: Optimize your images

  1. Install a plugin such as ShortPixel or Imagify.
  2. Run bulk optimization on your existing product images.
  3. Enable WebP conversion if your host supports it — this reduces image file size significantly for mobile browsers.
  4. Going forward, resize product images before uploading. A product thumbnail does not need to be 4000px wide.

Step 5: Disable or defer cart fragments if you do not need them

  1. WooCommerce loads a script called wc-cart-fragments on every page. It keeps the cart count updated without a full page reload.
  2. If your theme shows the cart count in the header, you need this. If not, you can disable it.
  3. A lightweight plugin such as Disable Cart Fragments handles this safely. Alternatively, a developer can add a small code snippet to your theme’s functions.php to dequeue it — but only do this if you are comfortable with code, and always test first.

Step 6: Audit and reduce your plugins

  1. Go to Plugins > Installed Plugins and look at everything that is active.
  2. Deactivate anything you are not actively using. Inactive plugins do not load, but active ones do — even if you never visit their settings page.
  3. If two plugins do similar things (for example, two SEO plugins or two caching plugins), keep only one.
  4. After deactivating each plugin, check that the cart and checkout still work correctly.

Step 7: Test your mobile speed

  1. Use Google PageSpeed Insights (search for it, it is free) and enter your store URL.
  2. Switch to the Mobile tab and look at the score and the list of issues.
  3. The most actionable items are usually: render-blocking resources, unused JavaScript, and image sizes. Work through them in that order.

How to Prevent This From Coming Back

  • Keep PHP, WordPress, and WooCommerce updated. Security patches and performance improvements come through updates.
  • After any major plugin or theme update, run a quick test on the cart and checkout from your phone.
  • Set your caching plugin to automatically exclude WooCommerce pages — most modern caching plugins have a WooCommerce mode that does this for you.
  • Check PageSpeed Insights once a month. It takes five minutes and catches problems early.

When to Get Help

If you have worked through these steps and the cart is still blank or the mobile score is still very poor, the issue is likely deeper — a theme conflict, a poorly coded plugin, a server configuration problem, or a PHP error that is being silently suppressed. These take more digging than a settings change.

Signs you need a developer to look at it: the blank page appears only for logged-out users, the issue comes back after every cache clear, or your error log (found under WooCommerce > Status > Logs) shows repeated PHP errors you do not recognize.

Stuck with this? We fix WooCommerce issues like this every week. Send us your store link and we’ll take care of it. https://heylixdigital.com