Hello,
I have now enabled the “Always Load Cart Fragments” option as suggested under XStore > Theme Options > Speed Optimization, but unfortunately, the issue still persists — especially on mobile devices.
I also contacted the WP Rocket support team, and here is a summary of their findings:
They explained that the XStore Core plugin, which renders the mini cart, relies on PHP to update the cart count. This behavior is fundamentally incompatible with page caching, since WP Rocket (like most caching plugins) generates static HTML output, bypassing PHP/MySQL processes. As a result, the cart count will not update unless the cache is cleared and rebuilt.
They further stated:
⚠️ In short, any dynamic content that needs to update frequently — or after each page load — must rely entirely on AJAX/JavaScript to be compatible with page caching.
To confirm that page caching is the cause, they installed their helper plugin that disables it, but the problem persists on the mobile version.
Can you please let me know if XStore offers a cart widget or setting that works fully via AJAX to maintain compatibility with page caching plugins like WP Rocket?
This issue is significantly affecting our mobile user experience and cart functionality, so any help you can provide will be greatly appreciated.
Best regards,