Correct JS files order for Perfmatters Delay JS exclusion
-
Hi Woodmart Support,
I’m using the Perfmatters plugin with the Delay JavaScript option enabled. When it’s active, the “Load More” button and some other Woodmart features break, showing errors like:
Uncaught ReferenceError: woodmartThemeModule is not defined
Could you please provide the correct sequence of Woodmart JS files (or script handles) that should be excluded from Delay JS in order for the theme to work properly?
Thank you!
Hello,
It should work without any exclusion. Could you please send us your admin access so we can check what is wrong with this functionality on your website?
Kind Regards
Hello,
I am currently using Perfmatters with the Woodmart theme and have already excluded some scripts from the JavaScript delay (screenshot attached). Could you please provide me with the full list of critical JS files that must be excluded to ensure the theme and its features work correctly?
Thank you in advance.
Attachments:
You must be
logged in to view attached files.
Hi,
WoodMart should work with Perfmatters Delay JS without adding any exclusions. We don’t have a required list of scripts to exclude, and excluding theme scripts can cause errors like “woodmartThemeModule is not defined.”
Please do the following:
– Remove the custom exclusions you added, clear all caches, and test again.
– If the issue persists, keep Delay JS enabled and send:
– WP admin access (in a private reply)
– Site URL and steps to reproduce
– The list/screenshot of scripts you excluded
– For isolation, temporarily deactivate all third-party plugins except WoodMart Core, WooCommerce, and your page builder, then test. If possible, switch to the parent theme to compare.
Once we can check it on your site, we’ll identify the exact cause and advise if any specific exclusion is actually needed.