• Resolved rudolfl

    (@rudolfl)


    Hi

    Yesterday I upgraded my site to the latest versions of plugin. LS Cache was upgraded to 7.7 and WooCommerce was upgraded to 10.5.1

    Now, I have a problem where Add To Cart on product pages and checkout stopped working. Looks like something is blocking execution of JS. No errors in dev tools console.

    Adding ?LSCWP_CTRL=before_optm fixes the problem. JS deferral is OFF. In fact all JS-related optimisation is off. I tried to clean up individual page cache and then all caches – same problem.

    At the moment, I disabled the plugin, but here is a report I generated before doing so

    FKTMMTKR

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support litetim

    (@litetim)

    @rudolfl I see you have another CDN. have you tried clearing it too?
    I see you also have Cloudflare CDN. Is that used for caching too?

    Sometimes it happens due to conflicting plugins. Also, do check CDN. All my sites are running smooth, it had logo issue but solved by disabling Combined CSS

    Thread Starter rudolfl

    (@rudolfl)

    OK. Woo 10.5.2 is out. Changelog says:

    “Fix – Fix variable products add-to-cart button appearing disabled in some stores”

    I re-enabled LiteSpeed and problem seem to be fixed with Woo 10.5.2. Now, some background:

    1. I did try to clean CDN few times. Did not help
    2. While I did not try to clean CloudFlare cache explicitly, I was clearing “all caches” via LS plugin which is supposed to clean CloudFlare.
    3. Running same page with disabled optimisation or when LS Cache is disabled fixed the problem originally

    So, while it appears to be a Woo bug, I am still puzzled why LS Cache “highlighted” it.

    Plugin Support litetim

    (@litetim)

    @rudolfl It might be some CSS that hides the button if disabled. Minifying and combining CSS will change CSS order.
    The changes done by WC are: https://github.com/woocommerce/woocommerce/commit/a313c80ca5bdc1e869757a4de7d5a67395f61e0a

    If everything is ok, please mark it as resolved.

    Thread Starter rudolfl

    (@rudolfl)

    It certainly feels like some sort of JS optimisation. Quite possible that JS hooks into some CSS class. I have all of JS optimisation off. And did clear all caches, including UCSS, JS/CSS cache and CDN. Very strange.

    Is it OK if I run site for couple of days and see if problem is fixed before marking it as resolved?

    Rudolf

    Plugin Support litetim

    (@litetim)

    @rudolfl sure 🙂 no problem 🙂

    Thread Starter rudolfl

    (@rudolfl)

    Confirming. Woo has to be upgraded to 10.5.2. After that cleared all caches, including CDN again and works as expected.

    Plugin Support litetim

    (@litetim)

    @rudolfl perfect! 🙂

    Thread Starter rudolfl

    (@rudolfl)

    I have to re-open.

    I enabled new post type (not Woo-related) and exact same problem is back. Object cache is off. I can see caching issues with other parts of the admin too. For example, some settings I change in the theme do not work.

    If I keep browser dev tools open (e.q. cache is ignored in browser), everything works fine. Exactly same problems if i just open new incognito window. First post save is OK, then same problem. All caches, including Cloudflare and CDN are cleared.

    Rudolf

    Plugin Support litetim

    (@litetim)

    @rudolfl reading over the conversation and looking over the site, I saw a thing that we did not finished looking into: please make sure Cloudflare is used as CDN only, NO cache active.

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

You must be logged in to reply to this topic.