PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Request for Support – Currency Switcher Malfunction and Performance Degradation

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I’m experiencing serious issues with the plugin on our website and would greatly appreciate your assistance. I’m also happy to cover any costs for code adjustments or deeper investigation if needed.

Here are the details:

  1. Currency switcher malfunction
    On some pages, the currency switcher fails to load correctly — the process gets stuck and only a white page is displayed. This is not related to Page Cache (it has been fully cleared and tested).
    The issue occurs most frequently on pages displaying new category icons, for example:
    Plnospektrální LED svítidla

  2. Significant TTFB slowdown
    After recent website updates, the TTFB has drastically increased from the previous 35–200 ms to about 4–9 seconds.
    The cause is still unclear — it could be due to an excessive number of shortcodes in the template or another factor. We are debugging this together with our hosting provider but haven’t identified the root cause yet.

  3. Caching conflict
    For the currency switcher to work properly, the PHPSESSID cookie must be excluded from cache. However, that means Page Cache isn’t applied to the document (CSS, JS, and images are still served from Cloudflare CDN, which is fine).
    As a result, the TTFB increases dramatically.

    When Page Cache is disabled (to keep the currency switcher functional), pages load in about 4–10 seconds.
    When Page Cache is enabled, the website loads in about 0.9–1.5 seconds — DOMContentLoaded around 400–700 ms, Load around 800 ms–1.2 s — which is a significant difference.

Summary:
After the recent website changes, the Page Cache workflow has been disrupted when the currency switcher is active (and on some pages, the switcher doesn’t work at all). The result is an average load time of around 8 seconds.
If we enable Page Cache, the site loads quickly, but the currency switcher stops functioning.

Could you please take a look or advise on how to resolve this?
I’m fully open to compensating for your time or any necessary code modifications.

Thank you very much for your help and support.

Best regards,
Vladislav Musilek
info@affinity.io

Hello Vladislav

4 - 10 seconds is talking about conflict between scripts, probably some kind of loop or competition for resources but that's philosophy, what I suggest you know is place actual purchase code into private area of this ticket with wp-admin and ftp access to clone of the site where I can see issue you described. Be sure please that stage site works fast, use please vps and not cheap hosting. Please let me know here when you prepared things.

https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png

I give you an access to stagging website.

Hello

Ok, lets work

  1. So I am here /plnospektralni-zdrave-osvetleni/plnospektralni-led-svitidla/ and I see currency switcher, I walked to category pages - no errors found
  2. I installed plugin Error Log Monitor and activated it, set some config in wp-config.php, did tests - no errors
  3. I went to plugins and deactivated FOX plugin - picture not changed - as the site was slow so it is
  4. In file functions.php I created shortcode
    add_shortcode('musilda-currency-switcher', function(){
    return do_shortcode('[woocs]');
    });
    And now switcher is everywhere, and I not found the difference
  5. In FOX options I activated transient instead of session, went trouhgt pages  and not errors appears https://clip2net.com/s/4nnn23h
  6. Ok, I did test speed with FOX https://c2n.me/4nnnclw.png https://pagespeed.web.dev/analysis/https-svitim-top-me-eu/f50qq63udw?form_factor=mobile and with its disabled https://pagespeed.web.dev/analysis/https-svitim-top-me-eu/fmwnwemqaj?form_factor=mobile https://clip2net.com/s/4nnnisr and I have funny situatuion that with disabled FOX it works worse :)
  7. So, create please video where you doing metriks with enabled and disbaled FOX plugin to see the difference

Also not related to the plugin: you have 80 installed plugin and only 1 GB memory - its litlle. I reccomend you use VPS https://www.ovhcloud.com/nl/vps/ - tarif VPS1 is enough for your site and its price less than 4 eurs for month. By my opinion the most powerful hosting. You not need panel - site can be installed inside docker container.

Hello,

I was just informed that you may have sent an email, but I'm not certain.

If you replied to any email notification that came from this support forum, please respond here on the forum instead. All email replies go to an unmonitored inbox and are automatically deleted.

You can see this warning attached to every email notification from this forum - please do not reply to those emails directly.

Thank you!