Hi @fouadbouery
Thanks for the detailed breakdown. You’d already tested the category optimization plugin on staging, so I started with the live site and checked what it sends back.
Could WooCommerce core, templates, or compatibility conflicts contribute to these symptoms?
Your live /cart/ uses the classic cart shortcode and loads fine, so the blank responses look specific to the staging copy. I’d suggest looking at what’s different there (a plugin, the theme, a cache drop-in, or the server setup) before WooCommerce core. The conflict test below will narrow it down.
The biggest slowdown I found on the live site is the page cache. When a page is built for a visitor without a _fbp cookie, the Facebook for WooCommerce plugin sets that cookie on the server, and those responses come back with x-proxy-cache: MISS, so they aren’t stored. When I sent requests that already had the cookie, the cookie wasn’t set again, and on some pages the repeat request came back as HIT, with server response time dropping from about 1.7 seconds to under 1 second. So the cache works, but far fewer first visits get a cached page than should.
What concrete corrective actions would you recommend for the empty cart response?
Can you please run these on staging:
- Add these lines to
wp-config.php above “That’s all, stop editing!”:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
- Load
/cart/ and /hp/ once.
- Check
wp-content/debug.log, and look for a fatal-errors log under WooCommerce > Status > Logs.
- Switch to the Purple theme with only WooCommerce active and reload
/cart/. If it loads, reactivate the plugins and theme one at a time until it goes blank again. The full steps are in How to test for plugin and theme conflicts: https://woocommerce.com/document/how-to-test-for-conflicts/
If /cart/ is still blank with only WooCommerce and Storefront, check wp-content/mu-plugins and whether wp-content/advanced-cache.php exists, since the conflict test doesn’t turn those off. Bluehost can also check their error log for those requests. Your live cart also loads a custom checkout funnel (compuone-checkout-funnel-v1). Where is that code added on staging?
Can you please also share the debug log and your system status report? You can get the report from WooCommerce > Status > Get system report > Download for support, then upload both files to Google Drive or Dropbox and share the links here. When you’re done, set WP_DEBUG back to false and delete debug.log.
Which WooCommerce-specific performance improvements should be prioritized for product and category pages?
A mobile PageSpeed run I did on /laptops-lebanon/ scored 61 with LCP at 5.6 seconds, and the LCP element was the first product image: https://pagespeed.web.dev/analysis/https-compuonelb-com-laptops-lebanon/fe8k14x83r?form_factor=desktop
Most of what delays it comes from outside WooCommerce, so this is the order I’d work in:
- Get more pages into the cache. On staging, deactivate Facebook for WooCommerce, load a category page twice in a private window, and check the response headers for
x-proxy-cache: HIT. If that’s the difference, the plugin’s support forum is the place to raise the cookie. If staging doesn’t send an x-proxy-cache header at all, Bluehost can confirm whether their cache runs there.
- The first product image loads with
loading="lazy", so the browser waits before fetching it. Those thumbnails come from the theme’s product loop, so the theme developer can confirm how to load the first row without lazy loading.
- About 1.2 seconds goes to render-blocking stylesheets that load before anything shows, mostly from the GoStore theme, plus jQuery. Another 1.2 seconds goes to the Font Awesome and Themify icon fonts, which don’t use
font-display: swap. Those are theme files too.
Google tags (from MonsterInsights and Google for WooCommerce) and the Facebook pixel add about 690 KB on a mobile load. They do different jobs, so I wouldn’t remove either without checking what you track with each.
…verify fixes safely on staging before publishing anything to our live store?
Make one change at a time on staging, and after each one open a product page, add it to the cart, and place a test order with your payment method in test mode. Because staging is a copy of live, Facebook for WooCommerce and Google for WooCommerce there can send test orders to your real ad accounts, and the site can email real customers. Disconnecting those plugins and blocking outgoing email on staging avoids that.
Take a backup of live before moving anything over. If your staging tool offers a files-only push, use that, since a database push would replace any orders placed on live since the staging copy was made.
Once you have the debug log and the conflict-test result from staging, post them here, and I’ll take a look at the blank pages.