Support » Plugin: WP Shopify » Conflict between Async JavaScript plugin and WP Shopify plugin

  • pablopaul

    (@pablopaul)


    Our website is running on WordPress 5.6 using DIVI 4.8.1. After installing the WP Shopify plugin v3.5.4, the console was showing about 15 Uncaught Type Errors and Uncaught Reference errors, all of which trace back to the wp-includes/js/dist directory. While these errors occur, the products page comes up empty.

    We are using Async JavaScript plugin v2.20.12.09, and have narrowed it down to a conflict between this and the WP Shopify plugin. If we disable or deactivate AJ, or if we exclude the wp-includes/js/dist folder, the errors go away and the products page works. (Excluding the WP Shopify plugin in AJ has no effect.) The problem for us is that excluding the js/dist folder makes our website run noticeably slower, so we’re hoping there’s a better way to resolve this issue.

    Our products page is currently set to “private” on the live site as we are gradually closing out our WooCommerce Shop page, but the errors show up in the console on every page, so you should be able to see what I’m talking about just by visiting the website homepage.

    • This topic was modified 3 months ago by pablopaul.
    • This topic was modified 3 months ago by pablopaul.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew @ wpshop.io

    (@andrewmrobbins)

    @pablopaul Hey there! Apologies for the delay.

    Within the Async JavaScript plugin settings, instead of excluding the wp-includes/js/dist folder can you try excluding the WP Shopify plugin? It looks like you should be able to do this under the “Plugin Exclusions” section.

    Let me know if this helps!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.