Disable Ajax loading on a page
There are limited cases where the AJAX dynamic loading conflict with 3rd party plugins and affect how the website loads. For example, if your WooCommerce shop has different product variations, AJAX loading can prevent some WooCommerce functions from loading, breaking the shopping experience.
To disable AJAX loading on a certain page, add the code below in Appearance → Customize → Theme Options → General → Custom Javascript (Footer).
Replace the page-slug with a part of the URL where you want AJAX removed. For example, if the problem is on the single product page and your URL looks like this https//domain.com/product/tshirt, your code should be be:
Disable All AJAX Loading
Updated on November 14, 2023