• hi
    I’ve recently came across an issue that seems to affect older models of iphone/ipad. eg. iphone 5 & 6. Newer models are fine.

    Where if you add a product to the cart, when you go to view the cart it would say the cart was empty. I’ve determined that it is Autoptimize causing my issue as its not there when I disable the plugin.

    To still use Autoptimize I then have to turn off the option: Aggregate JS files

    I’ve had this enabled for years with no known issue – would you know any idea of a fix for it? I’ve turned Autoptimize back on only I’ve unticked this option for now, which makes my site speed score not as good as it was.
    Thanks
    heather

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    You could try with “aggregate JS” on but plugins/woocommerce/assets/js/frontend/add-to-cart.min.js excluded (in addition to jQuery, which add-to-cart.min.js depends on and making sure “also aggregate inline JS” is off) maybe?

    Thread Starter heather1202

    (@heather1202)

    Hi

    I tried this but the problem still persists.

    Heather

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    In that case try excluding woocommerce entirely with plugins/woocommerce/ (again making sure “aggregate inline JS” is off and jQuery is also excluded)?

    Thread Starter heather1202

    (@heather1202)

    Hi

    Tried that but still same issue which seems odd, you’d think with it excluding woocommerce the issue wouldn’t be there. Its only present when I tick Aggregate JS file.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    only thing I can advice is try playing with the exclusions more; e.g. what happens when you exclude wp-includes/js or wp-content/plugins and/or wp-content/themes, …

    Thread Starter heather1202

    (@heather1202)

    Tried all of those and still the same.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    also if you disable the “minify excluded css/ js” option?

    Thread Starter heather1202

    (@heather1202)

    so if I tick aggregate js file
    exclude all of the following: seal.js, js/jquery/jquery.js, wp-includes/js, wp-content/plugins, wp-content/themes (I tried them one by one, but made no difference, had to have them all)
    and then untick minify excluded css/js

    it works, but page speed isn’t great.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    afraid that with all those exclusions you’re effectively not aggregating JS as all is excluded .. :-/

    Thread Starter heather1202

    (@heather1202)

    okay thanks anyway, goodness knows why, I’ll untick it for now, at least its doing a little bit, not quite as good as it was, but its something 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Autoptimize and woocommerce’ is closed to new replies.