Home Forums WoodMart support forum WP Rocket Delay JavaScript Execution breaking WoodMart features

WP Rocket Delay JavaScript Execution breaking WoodMart features

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #721978

    webmaster-3068
    Participant

    Hello,

    I am using the WoodMart theme along with WP Rocket for optimization.

    When I enable the “Delay JavaScript Execution” feature in WP Rocket, several core theme functionalities break:

    The off-canvas shopping cart does not open automatically when adding a product to the cart.

    The Sticky Add to Cart feature disappears or stops working on single product pages.

    Related products’ images fail to load (they remain white blanks due to lazy loading conflicts).

    Everything works perfectly ONLY when I enable WP Rocket’s “Safe Mode for Delay JavaScript Execution”, but this significantly lowers my Google PageSpeed score.

    Could you please provide me with the exact list of JavaScript files, handles, or inline script keywords that I need to add to WP Rocket’s “Excluded JavaScript Files” box so that WoodMart’s cart, sticky functions, and lazy load work flawlessly without using the Safe Mode?

    https://inktoner.gr/product/symbato-toner-brother-tn-2420-6000-selides/

    Thank you in advance!

    #721981

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hello,

    Could you please temporarily disable all plugins that are not related to our theme (including caching, optimization, and third-party WooCommerce extensions)? This will help us check if any of them are causing the issue.

    After that, kindly share your WordPress admin access using the Private content field so we can investigate it directly.

    We will review your setup and get back to you shortly.

    Best regards

    #721984

    webmaster-3068
    Participant

    Hello Serg,

    As I mentioned, the theme works flawlessly when WP Rocket is deactivated or when it runs in “Safe Mode”.

    The conflict happens exclusively when WP Rocket’s “Delay JavaScript Execution” is active (without safe mode). If I deactivate WP Rocket, you won’t be able to reproduce or see the issue at all.

    I have kept WP Rocket active with the standard JS Delay so you can see exactly how it blocks the WoodMart features (Sticky Cart, Off-Canvas, and Related Products).

    Here are the admin credentials to inspect the setup directly while the optimization is running:

    Please check why the theme’s core JS files get blocked by the delay and let me know which handles we need to exclude.

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #721997

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hello,

    Please disable all other plugins but keep the WP Rocket so we can test without them. You have a lot of plugins that may potentially conflict with WP Rocket.

    Thank you in advance.

Viewing 4 posts - 1 through 4 (of 4 total)