Optimocha
Forum Replies Created
-
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] issue with dropdown box when cart empty@lorilself again, I’m afraid it’s their responsibility to provide a fallback. I wish I could be more helpful but I think you’ll see from our perspective: WooCommerce’s “cart fragments” are things that’s generated via the theme’s code, and each theme has a way to generate those fragments. In order for the Disable Cart Fragments (DCF) plugin to be compatible with all themes, I would have to install every WordPress theme, see how each generates their cart fragments (if it does generate any) and create a giant, million-line long compatibility class to ensure DCF is compatible with all themes.
The (correct) alternative is for each theme to simply don’t assume cart fragments are available at all times and maybe write a small compatibility class for DCF. In fact, checking the source code of the Astra theme (I assume you’re using Brainstorm Force’s Astra, which is a killer theme that I own a lifetime license of), I see that Astra has 24 different compatibility classes for different plugins. DCF could be the 25th.
There is one possible solution, or rather a workaround: You could hide that cart dropdown if the cart is empty, using the following CSS code:
.widget_shopping_cart:has(.widget_shopping_cart_content:empty){display: none;}The cross-browser coverage of the
has()selector isn’t perfect (around 90%) but it will get the job done with the most popular browsers.Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] issue with dropdown box when cart emptyHi @lorilself,
Unfortunately it’s the theme developer’s responsibility to provide a fallback/default HTML code when there is no cart fragment information.
Nice! And @thedelta if you liked our plugin (and got about four minutes), we’d love to have a fair review from you: https://wordpress.org/support/plugin/speed-booster-pack/reviews/#new-post
Thank you for your kind words and review, @franciscobizi! Do you have any feedback for us about taking one star off? We would love to have you help us improve! ❤️
- This reply was modified 2 years, 5 months ago by Optimocha.
Nice catch, @thedelta!
And yep, we’ll definitely going to fix this for our next version! Any chance you could also test another bugfix in the lazy loader? We’re introducing an SVG placeholder that works better with themes (regarding image aspect ratios), as opposed to the GIF placeholder we’re currently using.
If you want to give it a test, here’s the latest version of the classes/class-sbp-lazy-loader.php file.
- This reply was modified 2 years, 5 months ago by Optimocha.
Forum: Plugins
In reply to: [Disable Cart Fragments by Optimocha] Ajax disappeared foreverHey @knguyen2011,
You probably have some sort of caching mechanism, either as a WordPress plugin, a server-level caching solution or a proxy-level caching solution like Cloudflare or Sucuri. Clearing your caches would fix the issue.
And you can confirm that the DCF script is gone by loading any of your web pages, checking the source code and searching for “optimocha” (without quotes).
Forum: Plugins
In reply to: [Speed Booster Pack ⚡ PageSpeed Optimization Suite] DEBUG Fehler@monetenfuchs thank you for the correction! I submitted an issue to the Codestar Framework’s repository, which is a framework inside Speed Booster Pack: https://github.com/Codestar/codestar-framework/issues/171
When they update, we will update too. But you don’t have to worry as these are not actually errors, but depreciation notices.
Forum: Plugins
In reply to: [Speed Booster Pack ⚡ PageSpeed Optimization Suite] DEBUG Fehler@monetenfuchs looks like this issue is related to another plugin called Dynamic Widgets. I suggest you open a ticket on their forum:
Forum: Reviews
In reply to: [Speed Booster Pack ⚡ PageSpeed Optimization Suite] Always very good!Thank you so much for your kind words, @cagdasdag!
Thank you so much for your kind words, @umutk!
Forum: Reviews
In reply to: [Speed Booster Pack ⚡ PageSpeed Optimization Suite] It works for meThank you very much for your kind words, @foyzo!
Gracias for your kind words, @ed23010!
Forum: Plugins
In reply to: [Speed Booster Pack ⚡ PageSpeed Optimization Suite] admin bar missing@cloudduster unfortunately we implemented LiteSpeed caching as an experimental feature, but it caused more issues than we anticipated. If you like using Speed Booster Pack, we recommend you also install the LiteSpeed Cache plugin BUT only activate its caching-related features, and use Speed Booster Pack’s features except caching.
Hey @n82freak, I’ve already replied to you over GitHub without seeing here, so let’s carry on there.
Forum: Plugins
In reply to: [Speed Booster Pack ⚡ PageSpeed Optimization Suite] admin bar missingHi @cloudduster, does the issue go away when you deactivate Speed Booster Pack?