Optimocha
Forum Replies Created
-
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] icons not showing@saveatrain I’m pretty sure the issue doesn’t require any exclude rules for the LSCache plugin. Did you try doing the things I mentioned?
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] icons not showingHi @saveatrain, I’m afraid it looks like a conflict between LiteSpeed Cache and DCF, and the cache seems to be so persistent that the cart is displayed as empty on static pages like homepage or the contact page.
Two questions:
- When you deactivate Disable Cart Fragments, does the issue go away?
- When you deactivate LiteSpeed Cache, does the issue go away?
I’m betting that when you deactivate LSC, the issue will go away. In that case, I recommend you use another caching plugin.
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] Woocommerce Blocks Compatibility?Thank you for letting us know, @cranksports! We were working on a “default cart fragment” feature in the past but now we might go a different way, as we have other ideas. However due to the earthquakes happening in our country (Turkey), we’ve paused all operations to think of ways to help survivors.
In our future releases, we will publish a fix. Thanks!
Forum: Reviews
In reply to: [Speed Booster Pack β‘ PageSpeed Optimization Suite] The best plugins everThank you for your kind words,Β @qubadi π If you have any comments on how to improve Speed Booster Pack, donβt hesitate to let us know!
- This reply was modified 3 years, 3 months ago by Optimocha.
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] Woocommerce Blocks Compatibility?Hi @cranksports,
Those blocks also get data from the same cart fragments so while I haven’t checked personally, I’m confident that it will work well with those.
No worries @cbratschi, take care!
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] Fragments Not Disabled@aretehemp DCF only disables the cart fragments script if users don’t add stuff to their carts (and load the script if they do add things to cart) but you can disable the cart fragments script completely by somehow utilizing the code below (either pasting it under your theme’s functions.php file or using a snippets plugin like Code Snippets):
/** Disable Ajax Call from WooCommerce */ function sert_dequeue_woocommerce_cart_fragments() { wp_dequeue_script('wc-cart-fragments'); } add_action( 'wp_enqueue_scripts', 'sert_dequeue_woocommerce_cart_fragments', PHP_INT_MAX);However, it will ensure that your cart icon will break and show “0” even though the cart is not empty (because that’s exactly what that cart fragments script does–to update the cart icon with the information fragment of the number of cart items).
@nicheapex Speed Booster Pack is also a caching plugin, so we can only recommend using Speed Booster Pack as the complete suite of performance optimization π
Forum: Plugins
In reply to: [Speed Booster Pack β‘ PageSpeed Optimization Suite] Tutorial?Hi @alexliii,
- Speed Booster Pack’s caching solution is a page caching solution, so it can work alongside with Nginx and/or Redis.
- You don’t need Async JS but you can keep using Autoptimize as long as you don’t use the same features (e.g. JS optimization, lazy loading etc.) at the same time with the two plugins.
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] Fragments Not DisabledHi @aretehemp,
Checking your website, I see that the plugin is working properly and the cart fragments script doesn’t load until the visitor adds a product to cart. Can you confirm you’re testing your website in Incognito mode and with an empty cart?
@titsmaker Thank you for your patience! We’ve just released an update regarding compatibility with WooCommerce 7.3.0 (incl. HPOS), WordPress 6.1.1 and PHP 8.1.
Hi @egocefalo,
We’ve just released an update regarding compatibility with WooCommerce 7.3.0 (incl. HPOS), WordPress 6.1.1 and PHP 8.1.
Hi @cbratschi,
Upon a second look, I noticed that you’re not using “our” version of Disable Cart Fragments. The folder name of the plugin you’re using is “disable-cart-fragments-1.3.0” but ours is simply “disable-cart-fragments” and we’ve just released version 2.2. I recommend you delete that folder altogether and install our plugin as a new plugin. It doesn’t have any settings so you won’t lose any data.
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] HPOS noc compatibleHey @tadeaskula,
We’ve just released an update regarding compatibility with WooCommerce 7.3.0 (incl. HPOS), WordPress 6.1.1 and PHP 8.1.
Hi @cbratschi, we will release an update with PHP8+ support probably this week. Thank you for letting us know about the warning!