• Hello,
    I am using Oceanwp theme and autoptimize plugin. When I install and activate Advanced Dynamic Pricing for woocommerce plugin, some woocommerce features (like Quick View, Add to Card ajax button, Cart dropdown) of oceanwp theme stop working. When I deactivate Advanced dynamic pricing for woocommerce plugin, all the features work fine, when I reactivate features stop working. Similarly, when I deactivate autoptimize and activate advanced dynamic pricing for woocommerce plugin, everything works fine. I deactivated and reactivated each plugin one by one and found that there is conflict between autoptimize and advanced dynamic pricing for woocommerce plugin.

Viewing 15 replies - 1 through 15 (of 27 total)
  • Can probably be fixed by adding plugins/advanced-dynamic-pricing-for-woocommerce/ to Autoptimize’s comma-separated JS optimization exclusion list bnbb.

    Plugin Author algol.plus

    (@algolplus)

    Thread Starter bnbb

    (@bnbb)

    I have tried the solution given by @optimizingmatters but it didn’t solve the problem and the problem remains the same.
    I followed the method suggested by @algolplus and found the following error:

    Uncaught ReferenceError: jQuery is not defined
    at autoptimize_5f30037ff3abea82e7e4efe53c5bdb28.php:1
    at autoptimize_5f30037ff3abea82e7e4efe53c5bdb28.php:1

    ah, but you’ve removed js/jquery/jquery.js from the JS opt. exclusion list or you’re asyncing or deferring it? make sure it is excluded and not asynced/ deferred and you should be good to go 🙂

    Thread Starter bnbb

    (@bnbb)

    I did not removed js/jquery/jquery.js from the JS optimization exclusion list and I am not using any plugin to async or defer it. I am using WP Fastest Cache plugin for caching.

    well, something’s off in your configuration somewhere. can you share your site’s URL so we can have a look?

    Thread Starter bnbb

    (@bnbb)

    I tried everything but the problem still exists.

    • This reply was modified 5 years, 7 months ago by bnbb.

    lots of too many moving parts bnbb; what performance plugins (wpfc, ao, fvm, ..) do you have active at the moment and which one(s) is/ are doing things to your JS?

    Thread Starter bnbb

    (@bnbb)

    I was using wp fastest cache for caching and autoptimize for minifying css and js. When I started facing problem with autoptimize then I moved to Fast Velocity Minify plugin. I removed wp fastest cache and installed w3 total cache to check if it can solve the problem but nothing happened. Now I am sure there is some conflict between Autoptimize and Advanced Dynamic Pricing for Woocommerce.

    Plugin Author algol.plus

    (@algolplus)

    Hello

    What is minimal set of active plugins which you use to reproduce the problem?
    WooCommerce+Autoptimize+Our plugin ?

    I’m sorry, we’ll reply only tomorrow .

    well, that’s a lot of performance plugins you’ve been playing with 🙂

    if the problem is there with Autoptimize I’ll be happy to assist, but I’ll need to *see* it broken somewhere to be able to investigate.

    Thread Starter bnbb

    (@bnbb)

    Autoptimize+your plugin reproduce the problem. I want to use Oceanwp+Autoptimize+Advanced Dynamic Pricing for Woocommerce. I will use WP Fastest Cache for caching. I have deactivated and reactivated all the other plugins one by one and found that when I activate autoptimize+your plugin together the problem arises.

    Plugin Author algol.plus

    (@algolplus)

    We need minimized list of active plugins when you see the problem.

    Thread Starter bnbb

    (@bnbb)

    Leave it. Thank you for your help. I have wasted too much time. I’ll use another plugin for dynamic pricing and discounts.

    Plugin Author algol.plus

    (@algolplus)

    ok, got it.

    we’re testing now , we will try to fix this issue in any case.

Viewing 15 replies - 1 through 15 (of 27 total)

The topic ‘conflict with Autoptimize+Oceanwp’ is closed to new replies.