• Resolved wildarmz

    (@wildarmz)


    When I enable this plugin, it effectively disables Autoptimize’s functionality. I confirmed with Lighthouse/Pagespeed Insights that my css/js are no longer being aggregated and deferred. Disabling this plugin results in AO working again.

    Functionally the Buy Now button works beautifully (great job!), but if it interferes with AO and therefore page speed it’s a no-go for me. I would appreciate it if you could look into this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wpismylife

    (@wpismylife)

    Hi there,
    Thank you for contacting me!
    In this case, I tested a site with Autoptimize plugin and It’s good.
    So, please clear all cache and all optimize files (CSS, JS, HTML, …) then try again.
    I think your site needs to refresh optimize files.
    Best regards!

    Thread Starter wildarmz

    (@wildarmz)

    Thanks for the reply @wpismylife !

    I tried clearing Autoptimize & site cache but can confirm AO doesn’t combine/minify my js/css/html like it should for me with Buy Now For Woocommerce active. I tested on multiple sites with AO 2.7.5 and 2.7.6 active. When your plugin is disabled, AO’s functions work again, which leads me to believe there is a conflict. I have a paid plugin “Quick Buy Now Button for WooCommerce” by Addify that does not cause this issue (tested separately of course).

    AO settings:

    Optimize JavaScript Code? Y
    Aggregate JS-files? Y
    Exclude: seal.js, js/jquery/jquery.js
    Optimize CSS Code? Y
    Also aggregate inline CSS? Y
    Optimize HTML Code? Y

    I checked by testing URLs with https://developers.google.com/speed/pagespeed/insights/

    Let me know if there is anything you want me to try.

    Plugin Author wpismylife

    (@wpismylife)

    Hi @wildarmz,
    Thank you for your supports, bro!
    I think I found this issue. AO plugin has this setting: Also optimize shop cart/checkout? (at the bottom https://prnt.sc/tqvy2j)
    So AO plugin thinks that the product page is checkout page because when you click BUY NOW, a pop-up will appear with checkout page content.
    In this case, you should enable this setting or your product page is not optimized.
    If you paid for another plugin, you should use it. My plugin is small and free, don’t care about it.
    Thank you, good men!

    Thread Starter wildarmz

    (@wildarmz)

    That seems to have worked! I didn’t think about the product page being treated as a cart/checkout page because I don’t have the popup checkout enabled, only “redirect to the checkout page (skip the cart page).”

    Believe it or not your plugin has better features than the paid one I am using, so I will probably make the switch.

    Thanks again for writing this plugin and your responses. Cheers!

    Hi
    Your Plugin awesome
    but i add this plug in to bookable product.

    before buyers choose date and time, the button already enable.

    can you help me?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Incompatible with Autoptimize?’ is closed to new replies.