Hi @ogn095,
I understand the issue you’re facing — Cloudflare’s Rocket Loader often conflicts with WooCommerce, particularly with JavaScript features like the mini cart which can be frustrating.
The best fix is to disable Rocket Loader for WooCommerce. You can do this from your Cloudflare dashboard by going to Speed > Optimization, opening the Rocket Loader settings, and adding an exclusion for WooCommerce scripts (cart-fragments.js, woocommerce.js, add-to-cart.js)
Another option is to create a Page Rule under Rules > Page Rules, using the pattern *yoursite.com/wp-content/plugins/woocommerce/*, and setting Rocket Loader to “Off.”
If you prefer a simpler approach, you can fully disable Rocket Loader altogether. Since you’re already using WP Rocket, which provides strong optimization on its own, Rocket Loader isn’t essential and can create unnecessary conflicts.
To do this, go to Speed > Optimization in Cloudflare, turn Rocket Loader off, and then clear all caches (WP Rocket, Cloudflare, and your browser) before testing again. This should resolve the mini cart display issue.
For further help with setting this up in Cloudflare, I recommend reaching out to their support team for guidance.
Hello @ogn095,
Since we haven’t received any updates, we’ll be closing this thread.
If you’ve had a good experience with WooCommerce and the support provided, please consider leaving us a short review here:
https://wordpress.org/support/plugin/woocommerce/reviews/#new-post
You’re always welcome to create a new topic if you need assistance in the future.