• I tried to in one product category to unload wc-cart-fragments.js. But after saving category it seems that js is still on (slide button gray) but in shop side wc-cart-fragments.js is missing. How to turn back wc-cart-fragments.js?

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

    (@gabelivan)

    @temporaryfailure are you sure “wc-cart-fragments” isn’t needed on the product category page? If you have any mini cart (usually on the top right side of a page), it’s very likely it’s needed. Go to “Overview” and see exactly where the rule was applied. Check the shop page and see if the unload rule is in place there.

    There’s also a chance that “wc-cart-fragments” is just not loading (e.g. it has a conditional rule on the theme) on the shop page in the first place, thus, Asset CleanUp doesn’t show it in the CSS & JS manager list.

    Thread Starter temporaryfailure

    (@temporaryfailure)

    Unloading wc-cart-fragments was just a test. It worked before this test. Plugin has some bug here.

    Picture
    https://u.pcloud.link/publink/show?code=XZvUO2XZmrbaJY7LnWppvY6LmDoJd79Vk80X

    Plugin Author Gabe Livan

    (@gabelivan)

    @temporaryfailure what happens when you append /?wpacu_no_load to the page? This would make the plugin not trigger for that page. It’s like have it inactive (no rules are applied). Are you saying you can’t see “wc-cart-fragments” on CSS & JS manager for the Shop page and before you performed the unload, you were able to view it?

    Thread Starter temporaryfailure

    (@temporaryfailure)

    @gabelivan “what happens when you append /?wpacu_no_load to the page?”

    wc-cart-fragments loads fine then.

    “Are you saying you can’t see “wc-cart-fragments” on CSS & JS manager for the Shop page and before you performed the unload, you were able to view it?”

    I cannot see it in source code anymore. Before unloading it loaded it without problem.

    This is the picture what I see now

    https://u.pcloud.link/publink/show?code=XZvUO2XZmrbaJY7LnWppvY6LmDoJd79Vk80X

    Plugin Author Gabe Livan

    (@gabelivan)

    @temporaryfailure if it shows in the notice above that the rule has been applied, it should have shown the unload rule that you set in the “CSS & JS manager” as well. For some reason, it doesn’t and frankly, I don’t recall anything like that. It could be either a plugin bug or a caching problem from somewhere. What kind of caching do you use? Can you fully clear it? Also, please check other pages from your website. If you go to “Overview” (plugin’s menu), what do you see there? Can you make a print screen?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JS doesn’t load back on’ is closed to new replies.